.. note::
The operator precedence is as follows, with the lowest-precedence
- operators listed first: ``&``, ``^``, ``|``, ``or``, ``and``, ``==``,
- ``!=``, ``<``, ``>``, ``>=``, ``<=``, ``in``, ``..``, ``+``, ``-``, ``~``,
- ``*``, ``/``, ``//``, ``%``, ``is``, and ``**``.
+ operators listed first: ``b-and``, ``b-xor``, ``b-or``, ``or``, ``and``,
+ ``==``, ``!=``, ``<``, ``>``, ``>=``, ``<=``, ``in``, ``..``, ``+``,
+ ``-``, ``~``, ``*``, ``/``, ``//``, ``%``, ``is``, and ``**``.
Literals
~~~~~~~~
* ``(expr)``: Groups an expression.
+.. note::
+
+ Twig also support bitwise operators (``b-and``, ``b-xor``, and ``b-or``).
+
Comparisons
~~~~~~~~~~~