Skip to content

Latest commit

 

History

History
25 lines (24 loc) · 1005 Bytes

expressions.md

File metadata and controls

25 lines (24 loc) · 1005 Bytes

Грамматика выражений

<exp14> ::= <exp13>{, <exp13>}
<exp13> ::= <exp12>{<op13> <exp12>}
<op13> ::= = | += | -= | *= | /= | %= | &= | |= | ^= | <<= | >>=
<exp12> ::= <exp11>{or <exp11>}
<exp11> ::= <exp10>{and <exp10>}
<exp10> ::= <exp9>{| <exp9>}
<exp9> ::= <exp8>{^ <exp8>}
<exp8> ::= <exp7>{& <exp7>}
<exp7> ::= <exp6>{<op7> <exp6>}
<op7> ::= == | !=
<exp6> ::= <exp5>{<op6> <exp5>}
<op6> ::= > | < | <= | >=
<exp5> ::= <exp4>{<op5> <exp4>}
<op5> ::= >> | <<
<exp4> ::= <exp3>{<op4> <exp3>}
<op4> ::= + | -
<exp3> ::= <exp2>{<op3> <exp2>}
<op3> ::= * | / | %
<exp2> ::= {<op2>} <exp1>
<op2> ::= ++ | -- | ! | + | -
<vars> ::= <exp13> {, <exp13>}
<exp1> ::= <literal> | ( <exp14>) <B> | (<identifier> | <namespaceIdentifier>) [([<vars>] )] <B>
<B> ::= {[ <exp14>] | . <identifier>}