.. _operatorPrecedenceDoc: .. index:: single: Operator Precedence =================== Operator Precedence =================== +-----------------------------------------------+-------------------------------------+---------------+ | Operator | Description | Associativity | +===============================================+=====================================+===============+ | ``LABEL[index]``, ``LABEL[index:index]`` | Bundle subscripting | Left to Right | +-----------------------------------------------+-------------------------------------+---------------+ | ``-`` | Unary minus | Right to Left | +-----------------------------------------------+-------------------------------------+---------------+ | ``not`` , ``!`` | Logical NOT | Right to Left | +-----------------------------------------------+-------------------------------------+---------------+ | ``*``, ``/`` | Multiplication, division | Left to Right | +-----------------------------------------------+-------------------------------------+---------------+ | ``+``, ``-`` | Addition and subtraction | Left to Right | +-----------------------------------------------+-------------------------------------+---------------+ | ``and`` , ``&&`` | Logical AND | Left to Right | +-----------------------------------------------+-------------------------------------+---------------+ | ``or`` , ``||`` | Logical OR | Left to Right | +-----------------------------------------------+-------------------------------------+---------------+ | ``>>`` | Stream | Left to Right | +-----------------------------------------------+-------------------------------------+---------------+ | +-----------------------------------------------+-------------------------------------+---------------+ | ``( expressions... )`` | Parenthesis | Left to Right | +-----------------------------------------------+-------------------------------------+---------------+ | ``[ expressions... ]`` | Lists | | +-----------------------------------------------+-------------------------------------+---------------+ | ``{ property: value... }`` | Bundle properties | Right to Left | +-----------------------------------------------+-------------------------------------+---------------+ | ``processor ( property: value...)`` | Processor block | | | | | | | ``generator ( property: value...)`` | Generator block | | +-----------------------------------------------+-------------------------------------+---------------+ | * COMMA * COLON * SEMICOLON