KeyValueQuerySyntax Class
Represents a key-value query syntax node (e.g., "name:john" or "age>21").
public sealed class KeyValueQuerySyntax : QuerySyntax- Inheritance
QuerySyntaxKeyValueQuerySyntax
Properties
| Name | Description |
|---|---|
| KeyToken | Gets the token containing the property key. |
| Kind | Gets the kind of this syntax node. |
| OperatorToken | Gets the token containing the comparison operator. |
| Span | Gets the text span covered by this syntax node. |
| ValueToken | Gets the token containing the value to compare against. |
KeyToken
KeyValueQuerySyntax.csOperatorToken
KeyValueQuerySyntax.csGets the token containing the comparison operator.
public QueryToken OperatorToken { get; }Property value
ValueToken
KeyValueQuerySyntax.csGets the token containing the value to compare against.
public QueryToken ValueToken { get; }Property value
Methods
| Name | Description |
|---|---|
| GetChildren() |
GetChildren()
KeyValueQuerySyntax.cspublic override QueryNodeOrToken[] GetChildren()Returns
QueryNodeOrToken[]
No documentation is available.