OpenXION Base Operator Precedence Table

The table below shows the order of precedence of operators in OpenXION Base. In a complex expression containing more than one operator, the operations indicated by operators with lower-numbered precedence will be performed before those with higher-numbered precedence. Operators of equal precedence are evaluated left-to-right, except for exponentiation, which goes right-to-left. If you use parentheses, the innermost parenthetical expression is evaluated first.

Order Operators Type of Operator
1 - Unary & Conditionala newConstruction of objects
a ref toReferencing
a reference toReferencing
bitnotBitwise negation
ifConditional expression
newConstruction of objects
notNegation for boolean values
ref ofDereferencing
ref toReferencing
reference toReferencing
referent ofDereferencing
the ref ofDereferencing
the referent ofDereferencing
there is aBoolean test for existence
there is anBoolean test for existence
there is noBoolean test for existence
there is not aBoolean test for existence
there is not anBoolean test for existence
there isn't aBoolean test for existence
there isn't anBoolean test for existence
there's aBoolean test for existence
there's anBoolean test for existence
there's noBoolean test for existence
!Negation for boolean values
Negation for numbers
2 - Exponentiation**Exponentiation for numbers
^Exponentiation for numbers
3 - MultiplicationdivDivision for numbers
modModulus for numbers
quotDivision for numbers
remModulus for numbers
%Modulus for numbers
*Multiplication for numbers
/Division for numbers
·Multiplication for numbers
×Multiplication for numbers
÷Division for numbers
4 - Addition+Addition for numbers
-Subtraction for numbers
5 - Bit Shift<<Bitwise shift
>>Bitwise shift
>>>Bitwise shift
6 - Bitwise ANDbitandBitwise AND
7 - Bitwise XORbitxorBitwise XOR
8 - Bitwise ORbitorBitwise OR
9 - String Concatenation&Concatenation for strings
&&Concatenation for strings
||Concatenation for strings
10 - List Concatenation:Construction of lists
::Construction of lists
@Concatenation of lists
@@Concatenation of lists
11 - Relationalbegins withComparison for strings
betweenComparison for numbers or strings
comes afterComparison for numbers or strings
comes beforeComparison for numbers or strings
containsComparison for strings
does not begin withComparison for strings
does not containComparison for strings
does not end withComparison for strings
does not start withComparison for strings
doesn't begin withComparison for strings
doesn't containComparison for strings
doesn't end withComparison for strings
doesn't start withComparison for strings
ends withComparison for strings
is afterComparison for numbers or strings
is an element inComparison for lists
is an element ofComparison for lists
is beforeComparison for numbers or strings
is betweenComparison for numbers or strings
is bigger thanComparison for numbers or strings
is fewer thanComparison for numbers or strings
is greater thanComparison for numbers or strings
is inComparison for strings
is less thanComparison for numbers or strings
is more thanComparison for numbers or strings
is not afterComparison for numbers or strings
is not an element inComparison for lists
is not an element ofComparison for lists
is not beforeComparison for numbers or strings
is not betweenComparison for numbers or strings
is not bigger thanComparison for numbers or strings
is not fewer thanComparison for numbers or strings
is not greater thanComparison for numbers or strings
is not inComparison for strings
is not less thanComparison for numbers or strings
is not more thanComparison for numbers or strings
is not ofComparison for strings
is not precisely an element inComparison for lists
is not precisely an element ofComparison for lists
is not smaller thanComparison for numbers or strings
is not withinBoolean test for point within rectangle
is ofComparison for strings
is precisely an element inComparison for lists
is precisely an element ofComparison for lists
is smaller thanComparison for numbers or strings
is withinBoolean test for point within rectangle
isn't afterComparison for numbers or strings
isn't an element inComparison for lists
isn't an element ofComparison for lists
isn't beforeComparison for numbers or strings
isn't betweenComparison for numbers or strings
isn't bigger thanComparison for numbers or strings
isn't fewer thanComparison for numbers or strings
isn't greater thanComparison for numbers or strings
isn't inComparison for strings
isn't less thanComparison for numbers or strings
isn't more thanComparison for numbers or strings
isn't ofComparison for strings
isn't precisely an element inComparison for lists
isn't precisely an element ofComparison for lists
isn't smaller thanComparison for numbers or strings
isn't withinBoolean test for point within rectangle
not betweenComparison for numbers or strings
starts withComparison for strings
<Comparison for numbers or strings
<=Comparison for numbers or strings
=<Comparison for numbers or strings
=>Comparison for numbers or strings
>Comparison for numbers or strings
>=Comparison for numbers or strings
Comparison for numbers or strings
Comparison for numbers or strings
12 - PolymorphicareComparison for types
are notComparison for types
are not preciselyComparison for types
are preciselyComparison for types
aren'tComparison for types
aren't preciselyComparison for types
asConversion for types
as aConversion for types
as anConversion for types
instanceofComparison for types
is aComparison for types
is anComparison for types
is not aComparison for types
is not anComparison for types
is not precisely aComparison for types
is not precisely anComparison for types
is precisely aComparison for types
is precisely anComparison for types
isaComparison for types
isn't aComparison for types
isn't anComparison for types
isn't precisely aComparison for types
isn't precisely anComparison for types
13 - EquivalencecmpComparison for strings
compared toComparison for strings
does not equalComparison for numbers or strings
doesn't equalComparison for numbers or strings
equalsComparison for numbers or strings
isComparison for numbers or strings
is equal toComparison for numbers or strings
is exactlyComparison for numbers or strings
is notComparison for numbers or strings
is not equal toComparison for numbers or strings
is not exactlyComparison for numbers or strings
isn'tComparison for numbers or strings
isn't equal toComparison for numbers or strings
isn't exactlyComparison for numbers or strings
!=Comparison for numbers or strings
!==Comparison for numbers or strings
<=>Comparison for numbers or strings
<>Comparison for numbers or strings
=Comparison for numbers or strings
==Comparison for numbers or strings
===Comparison for numbers or strings
Comparison for numbers or strings
≠≠Comparison for numbers or strings
≠≠≠Comparison for numbers or strings
14 - Boolean ANDandLogical AND for boolean values
&&&Logical AND for boolean values
15 - Boolean ORorLogical OR for boolean values
|||Logical OR for boolean values
16 - List Construction,Construction of lists