Prev Next

Grammar Terms

Terms identify where tokens are consumed.

Types of Term

Type

Description

Concrete terms

Quoted strings.

For example, "class"

Unicode characters

A lexer-only term, having the prefix of U+0x followed by a hexadecimal number.

For example: U+0x1234

Ranges

A lexer-only term, matching any character between the two characters specified.

For example, "a".."z"      or         U+0x1234..U+2345

References

The name of another rule, in angled brackets. The token will match if that rule succeeds.

For example, <anotherRule>

Commands

A call to a specific command.

Learn more