Langium - v4.0.0
    Preparing search index...

    Interface AstNodeDescription

    A description of an AST node is used when constructing scopes and looking up cross-reference targets.

    interface AstNodeDescription {
        documentUri: URI;
        name: string;
        nameSegment?: DocumentSegment;
        node?: AstNode;
        path: string;
        selectionSegment?: DocumentSegment;
        type: string;
    }
    Index

    Properties

    documentUri: URI

    URI to the document containing the AST node

    name: string

    Name of the AST node; this is usually determined by the NameProvider service.

    nameSegment?: DocumentSegment

    The document segment that represents the range of the name of the AST node.

    node?: AstNode

    The target node; should be present only for local references (linking to the same document).

    path: string

    Navigation path inside the document

    selectionSegment?: DocumentSegment

    The document segment that represents the full range of the AST node.

    type: string

    $type property value of the AST node