All position values are 0-based and the end position is exclusive,
following the LSP convention (see the Range type).
The container node in the CST
The grammar element from which this node was parsed
The AST node created from this CST node
Whether the token is hidden, i.e. not explicitly part of the containing grammar rule
The root CST node.
The root is resolved by walking up the container chain on every access. Avoid repeated
accesses in loops over many nodes of the same tree; resolve the root once instead.
The actual text covered by this node.
The text is extracted from the document content on every access. When processing many
nodes of the same tree, prefer resolving root.fullText once and slicing it with the
nodes' offset and end values.
A leaf CST node corresponds to a token in the input token stream.