Notation
Grammar
The following notational convention is used in grammar snippets:
Notation | Example | Meaning |
---|---|---|
|
|
A named nonterminal or lexer token |
|
|
The exact character(s) |
|
|
Alternative syntax for exact character(s) |
|
|
A syntactical production |
|
|
The character represented by this escape |
|
|
An optional item |
|
|
0 or more of |
|
|
1 or more of |
|
|
Exactly |
|
|
|
|
|
Either one or another |
|
|
Any of the characters listed |
|
|
Any of the characters in the range |
|
|
Any characters, except those listed |
|
|
Any characters, except this sequence |
|
|
Any characters, except sequences matching the lexer token |
|
|
Group items |
|
|
Human words supplementation |