OrQuerySyntax Class

Represents an OR query syntax node that combines two queries with logical OR.

public sealed class OrQuerySyntax : QuerySyntax
Inheritance
QuerySyntax OrQuerySyntax

Properties

NameDescription
KindGets the kind of this syntax node.
LeftGets the left operand.
OperatorTokenGets the OR operator token.
RightGets the right operand.
SpanGets the text span covered by this syntax node.

Gets the kind of this syntax node.

public override QuerySyntaxKind Kind { get; }

Property value

QuerySyntaxKind

Gets the left operand.

public QuerySyntax Left { get; }

Property value

QuerySyntax

OperatorToken

OrQuerySyntax.cs

Gets the OR operator token.

public QueryToken OperatorToken { get; }

Property value

QueryToken

Gets the text span covered by this syntax node.

public override TextSpan Span { get; }

Property value

TextSpan

Methods

NameDescription
GetChildren()

GetChildren()

OrQuerySyntax.cs
public override QueryNodeOrToken[] GetChildren()

Returns

QueryNodeOrToken[]

No documentation is available.