From: Fabien Potencier Date: Wed, 1 May 2013 06:53:54 +0000 (+0200) Subject: added missing operators in the precedence docs (closes #1057) X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=04bc0698cc7ac5caef265d2c0d8c878dd6b3ebbf;p=konrad%2Ftwig.git added missing operators in the precedence docs (closes #1057) --- diff --git a/doc/templates.rst b/doc/templates.rst index f87b036..b6857a5 100644 --- a/doc/templates.rst +++ b/doc/templates.rst @@ -557,7 +557,8 @@ even if you're not working with PHP you should feel comfortable with it. The operator precedence is as follows, with the lowest-precedence operators listed first: ``b-and``, ``b-xor``, ``b-or``, ``or``, ``and``, ``==``, ``!=``, ``<``, ``>``, ``>=``, ``<=``, ``in``, ``..``, ``+``, - ``-``, ``~``, ``*``, ``/``, ``//``, ``%``, ``is``, and ``**``. + ``-``, ``~``, ``*``, ``/``, ``//``, ``%``, ``is``, ``**``, ``|``, ``[]``, + and ``.``. Literals ~~~~~~~~