〈 Expression 〉 | ---> |
〈 SimpleExpression 〉
|
| |
[ 〈 Relation 〉
〈 SimpleExpression 〉 ] |
〈 Relation 〉 | ---> |
``='' | ``#'' |
``<'' | ``<='' |
``>'' | ``>='' |
``IN'' | ``IS'' |
〈 SimpleExpression 〉 | ---> |
[``+'' | ``-'']
〈 Term 〉
|
| |
{ 〈 AddOperator 〉
〈 Term 〉 } |
〈 AddOperator 〉 | ---> |
``+'' | ``-'' | ``OR'' |
〈 Term 〉 | ---> |
〈 Factor 〉
|
| |
{ 〈 MulOperator 〉
〈 Factor 〉 } |
〈 MulOperator 〉 | ---> |
``*'' | ``/'' |
``DIV'' | ``MOD'' | ``&'' |
〈 Factor 〉 | ---> |
〈 Number 〉 |
〈 CharConstant 〉 |
〈 String 〉 |
|
| |
``NIL'' | 〈 Set 〉 |
|
| |
〈 Designator 〉
[〈 ActualParameters 〉] |
|
| |
``('' 〈 Expression 〉
``)'' |
|
| |
``˜'' 〈 Factor 〉 |
〈 Set 〉 | ---> |
``{''
[ 〈 Element 〉
{ ``,''
〈 Element 〉
} ] ``}'' |
〈 Element 〉 | ---> |
〈 Expression 〉
[``..'' 〈 Expression 〉] |
〈 ActualParameters 〉 | ---> |
``('' [〈 ExpList 〉]
``)'' |
〈 ExpList 〉 | ---> |
〈 Expression 〉
{ ``,''
〈 Expression 〉 } |
〈 Designator 〉 | ---> |
〈 QualIdent 〉
{ ``.'' 〈
Ident 〉 |
|
| |
``[''
〈 ExpList 〉
``]'' |
|
| |
``(''
〈 QualIdent 〉
``)'' |
`` ^ '' } |