Parser

Expressionss

Operator priority

Operator/ExpressionAssociativityParser fn nameEvaluation priorityImplementation
! ++ -- () Literals IdentifiersLeft to Rightfactor1
^Left to Leftpower2
* / %Left to Rightterm3
+ -Left to Rightadd_sub4
>> <<Left to Rightshift5
< <= > >= == !=Left to Rightcmp6
&Left to Rightbit_and7
|Left to Rightbit_or8
== != < <= > >=Left to Rightcmp9
&&Left to Rightlogical_and10
||Left to Rightlogical_or11