ReadonlyastThe AST node created from this CST node
Optional ReadonlycontainerThe container node in the CST
ReadonlyendOptional ReadonlygrammarThe grammar element from which this node was parsed
ReadonlyhiddenWhether the token is hidden, i.e. not explicitly part of the containing grammar rule
ReadonlylengthReadonlyoffsetReadonlyrangeReadonlyrootThe 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.
ReadonlytextThe 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 node in the Concrete Syntax Tree (CST).