1996 2016 Ericsson AB, All Rights Reserved Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions 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.