Langium - v4.4.0
    Preparing search index...

    Class AbstractCstNodeAbstract

    A node in the Concrete Syntax Tree (CST).

    Hierarchy (View Summary)

    Implements

    Index
    container: CompositeCstNode | undefined = undefined

    The container node in the CST

    grammarSource: GrammarAST.AbstractElement | undefined = undefined

    The grammar element from which this node was parsed

    • get text(): string

      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.

      Returns string