Optionalinput: stringThe container node in the CST
This array must not be modified directly; use the CstNodeBuilder methods instead
to ensure that the container references of the child nodes are set correctly.
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 composite CST node contains other nodes, but no directly associated token.
The content array must not be modified directly; use the
CstNodeBuildermethods instead to ensure that thecontainerreferences of the child nodes are set correctly.