Operator Precedence

A JADE expression is evaluated according to the notion of operator precedence, as with normal mathematical expressions. Each of the operators is assigned precedence.

In the following table, operators are listed in order of decreasing precedence (from closest to farthest binding).

Precedence Operators
9 .     (dot notation for properties, instance methods, and casts),   @   (at notation for type methods)
8 ^    (exponentiation, or power of)
7 +    -    (unary)
6 *    /    mod    div
5 +     -    (binary)
4 =    <>     >=     <=     <    >
3 not
2 and
1 or

Operators at the same level associate from left to right, except for the level-4 relational operators, which are not associative.