Operator Precedence Summary
Operators are listed from highest to lowest precedence:
- Primary expressions (literals, identifiers, function calls, parentheses)
- Unary operators (
not,-) - Multiplicative (
*,/,%) - Additive (
+,-) - Relational (
<,<=,>,>=,is) - Equality (
==,!=) - Logical AND (
and) - Logical OR (
or) - Ternary conditional (
?:)