Operator Precedence

The following table describes the precedence and order of evaluation of all of the filter operators. Operators appearing on the same line have the same precedence.

Operator | Description | Order of evaluation |

() | Function | left to right |

not ! ~ - | logical not logical not bitwise not minus | right to left |

* / % | multiplication division modulus division | left to right |

- + | subtract add | left to right |

<< >> | left shift right shift | left to right |

< <= > >= | less that less that or equal to greater than greater than or equal to | left to right |

= == != | equal equal not equal | left to right |

& | bitwise and | left to right |

^ | bitwise exclusive or | left to right |

| | bitwise or | left to right |

and && | logical and | left to right |

or || | logical or | left to right |