GrammarTemplate.VERSION = 3.0.0
GrammarTemplate POST-OP Mode
input template:
<:EXPR>:=[<term>:=[(<factor>:=[<globalNegation:NEG><lhs>[ <op:OP>? <rhs|NULL>]][ AND <factor>*])][ OR <term>*]]<expression:EXPR>
<expression2:EXPR>
<foo:FOO>?<foo:FOO>\?<foo:FOO> ?
output:
(1 = 1 AND 1 = 2 AND 1 = 3) OR (1 < 1 AND 1 < 2 AND 1 < 3) OR (1 > 1 AND 1 > 2 AND 1 > 3)
(2 = 1 AND 2 = 2 AND 2 = 3) OR (2 < 1 AND 2 < 2 AND 2 < 3) OR (2 > 1 AND 2 > 2 AND 2 > 3) OR (3 AND 3 <> NULL)
foofoo?foo ?
|