Operators

In ESDL, method calls take precedence over all other operators. The order of precedence can be manipulated by adding parentheses to an expression.

The following operator types are available:

The table summarizes the precedence and associativity of operators in ESDL.

Operator

Associativity

++ --

right to left

+ - (unary)

right to left

!

right to left

* / %

left to right

+ - (binary)

left to right

< <=

left to right

> >=

left to right

==

left to right

!=

left to right

&&

left to right

||

left to right

?:

right to left

=

right to left

*= /= %= += -=

right to left

See also

Unary Operators

Arithmetic Operators

Comparison Operators

Logical Operators

Conditional Operator (MUX)

Shorthand Assignment Operators