...
Construct | Description | Example | ||
---|---|---|---|---|
| Kleene closure - matches zero or more occurrences |
| ||
| Positive Kleene closure - matches one or more occurrences |
| ||
fragment | fragment in front of a lexer rule tells antlr this TOKEN is part of another LEXER RULE |
|
How about a more complex ANTLR 3 grammar?
...