Operator Precedence
Operator precedence in AGE is shown below:
| Precedence | Operator | |
| 1 | . | Property Access |
| 2 | [] | Map and List Subscripting |
| () | Function Call | |
| 3 | STARTS WITH | Case-sensitive prefix searching on strings |
| ENDS WITH | Case-sensitive suffix searching on strings | |
| CONTAINS | Case-sensitive inclusion searching on strings | |
| =~ | Regular expression string matching | |
| 4 | - | Unary Minus |
| 5 | IN | Checking if an element exists in a list |
| IS NULL | Checking a value is NULL | |
| IS NOT NULL | Checking a value is not NULL | |
| 6 | ^ | Exponentiation |
| 7 | * / % | Multiplication, division and remainder |
| 8 | + - | Addition and Subtraction |
| 9 | = <> | For relational = and ≠ respectively |
| < <= | For relational < and ≤ respectively | |
| > >= | For relational > and ≥ respectively | |
| 10 | NOT | Logical NOT |
| 11 | AND | Logical AND |
| 12 | OR | Logical OR |