1996 2013 Ericsson AB, All Rights Reserved The contents of this file are subject to the Erlang Public License, Version 1.1, (the "License"); you may not use this file except in compliance with the License. You should have received a copy of the Erlang Public License along with this software. If not, it can be retrieved online at http://www.erlang.org/. Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. The Initial Developer of the Original Code is Ericsson AB. erl_internal Robert Virding Bjarne Däcker 1 Bjarne Däcker 97-01-21 B erl_internal.sgml
erl_internal Internal Erlang Definitions

This module defines Erlang BIFs, guard tests and operators. This module is only of interest to programmers who manipulate Erlang code.

Test for an Erlang BIF

Returns true if Name/Arity is an Erlang BIF which is automatically recognized by the compiler, otherwise false.

Test for an Erlang BIF allowed in guards

Returns true if Name/Arity is an Erlang BIF which is allowed in guards, otherwise false.

Test for a valid type test

Returns true if Name/Arity is a valid Erlang type test, otherwise false.

Test for an arithmetic operator

Returns true if OpName/Arity is an arithmetic operator, otherwise false.

Test for a Boolean operator

Returns true if OpName/Arity is a Boolean operator, otherwise false.

Test for a comparison operator

Returns true if OpName/Arity is a comparison operator, otherwise false.

Test for a list operator

Returns true if OpName/Arity is a list operator, otherwise false.

Test for a send operator

Returns true if OpName/Arity is a send operator, otherwise false.

Return operator type

Returns the Type of operator that OpName/Arity belongs to, or generates a function_clause error if it is not an operator at all.