A leaf CST node corresponds to a token in the input token stream.
Optional
The container node in the CST
The grammar element from which this node was parsed
The root CST node
The AST node created from this CST node
use astNode instead.
astNode
use grammarSource instead.
grammarSource
Whether the token is hidden, i.e. not explicitly part of the containing grammar rule
use container instead.
container
The actual text
A leaf CST node corresponds to a token in the input token stream.