You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I wanted to check the precedence of some operator in order to update a code, I had an expression that could translate to the following ambiguity:
I think that this information should be accessible in the doc directly, but I understand that it won't benefit a lot of users so I'm wondering how it should be presented. Maybe just a collapsible array at the end, or when the precedence is mentioned in:
You must use parentheses because the unary operator not has precedence over the binary operator matches.
The text was updated successfully, but these errors were encountered:
Current status
The page https://symfony.com/doc/current/reference/formats/expression_language.html#supported-operators does not document operators precedence.
Objective
Add documentation about operators precedence.
Why?
Today I wanted to check the precedence of some operator in order to update a code, I had an expression that could translate to the following ambiguity:
We can find the precedence in https://github.com/symfony/expression-language/blob/b8ec919a6d3d47fc4e7845c256d164413207bf73/Parser.php#L24
I think that this information should be accessible in the doc directly, but I understand that it won't benefit a lot of users so I'm wondering how it should be presented. Maybe just a collapsible array at the end, or when the precedence is mentioned in:
The text was updated successfully, but these errors were encountered: