Interface RefSyntaxNode<T>

A syntax node that represents a section of code. It holds a direct reference to a syntax node in the original document, provided by a language support plugin.

interface RefSyntaxNode<T> {
    description?: string;
    name?: string;
    range: Range;
    ref: T;
    type: SyntaxNodeType;
}

Type Parameters

  • T

Hierarchy (View Summary)

Properties

description?: string

Additional description for the syntax node.

name?: string

A descriptive name for the syntax node.

range: Range

The range of the code represented by the syntax node.

ref: T

The original syntax node.

The type of the syntax node.