...
First, we have to define white space:
- A space is
' '
- A tab is written
'\t'
- A newline (line feed) is written
'\n'
- A carriage return is written
'\r'
- A Form Feed has a decimal value of 12 and a hexidecimal value of $0C. ANTLR uses Unicode, so we define this as 4 hex digits: {{
u000C }}'\u000C'
Put these together with an "or", allow one or more to occur together, and you have
...