Share via


LiteralToken Class

Definition

Lexical token representing a literal value.

public sealed class LiteralToken : Microsoft.OData.UriParser.QueryToken
type LiteralToken = class
    inherit QueryToken
Public NotInheritable Class LiteralToken
Inherits QueryToken
Inheritance
LiteralToken

Constructors

LiteralToken(Object)

Create a new LiteralToken given value and originalText

Properties

Kind

The kind of the query token.

Value

The value of the literal. This is a parsed primitive value.

Methods

Accept<T>(ISyntacticTreeVisitor<T>)

Accept a ISyntacticTreeVisitor<T> to walk a tree of QueryTokens.

Applies to