QueryNodeOrToken Class

Base class for nodes and tokens in the query syntax tree.

public abstract class QueryNodeOrToken

Constructors

NameDescription
QueryNodeOrToken()

QueryNodeOrToken()

protected QueryNodeOrToken()

No documentation is available.

Properties

NameDescription
KindGets the kind of this syntax element.
SpanGets the text span covered by this syntax element.

Kind

Gets the kind of this syntax element.

public abstract QuerySyntaxKind Kind { get; }

Property value

QuerySyntaxKind

Span

Gets the text span covered by this syntax element.

public abstract TextSpan Span { get; }

Property value

TextSpan

Methods

NameDescription
GetChildren()Gets the child elements of this syntax element.

GetChildren()

Gets the child elements of this syntax element.

public abstract QueryNodeOrToken[] GetChildren()

Returns

QueryNodeOrToken[] An array of child elements.