KeyValueQuerySyntax Class

Represents a key-value query syntax node (e.g., "name:john" or "age>21").

public sealed class KeyValueQuerySyntax : QuerySyntax
Inheritance
QuerySyntax KeyValueQuerySyntax

Properties

NameDescription
KeyTokenGets the token containing the property key.
KindGets the kind of this syntax node.
OperatorTokenGets the token containing the comparison operator.
SpanGets the text span covered by this syntax node.
ValueTokenGets the token containing the value to compare against.

Gets the token containing the property key.

public QueryToken KeyToken { get; }

Property value

QueryToken

Gets the kind of this syntax node.

public override QuerySyntaxKind Kind { get; }

Property value

QuerySyntaxKind

Gets the token containing the comparison operator.

public QueryToken OperatorToken { get; }

Property value

QueryToken

Gets the text span covered by this syntax node.

public override TextSpan Span { get; }

Property value

TextSpan

Gets the token containing the value to compare against.

public QueryToken ValueToken { get; }

Property value

QueryToken

Methods

NameDescription
GetChildren()
public override QueryNodeOrToken[] GetChildren()

Returns

QueryNodeOrToken[]

No documentation is available.