C# Class BalticAmadeus.FluentMdx.Lexer.Token

Represents an immutable lexical analysis result as chunk of recognized text.
Afficher le fichier Open project: BalticAmadeus/FluentMdx

Méthodes publiques

Свойство Type Description
Type TokenType
Value string

Méthodes publiques

Méthode Description
ToString ( ) : string

Converts the value of the current Token object to its equivalent string representation.

Token ( TokenType type, string value )

Initializes a new instance of Token with provided type and value.

Method Details

ToString() public méthode

Converts the value of the current Token object to its equivalent string representation.
public ToString ( ) : string
Résultat string

Token() public méthode

Initializes a new instance of Token with provided type and value.
public Token ( TokenType type, string value )
type TokenType Type of token.
value string Recognized token value.

Property Details

Type public_oe property

Represents the TokenType of Token. This field is read-only.
public TokenType Type
Résultat TokenType

Value public_oe property

Represents the recognized value of Token. This field is read-only.
public string Value
Résultat string