projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
eaf5a2d
)
added missing operators in the precedence docs (closes #1057)
author
Fabien Potencier
<fabien.potencier@gmail.com>
Wed, 1 May 2013 06:53:54 +0000 (08:53 +0200)
committer
Fabien Potencier
<fabien.potencier@gmail.com>
Wed, 1 May 2013 06:53:54 +0000 (08:53 +0200)
doc/templates.rst
patch
|
blob
|
history
diff --git
a/doc/templates.rst
b/doc/templates.rst
index
f87b036
..
b6857a5
100644
(file)
--- 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
~~~~~~~~