C# Class ExpressiveAnnotations.Analysis.Token

Token definition.
Mostra file Open project: jwaliszko/ExpressiveAnnotations Class Usage Examples

Public Methods

Method Description
ToString ( ) : string

Generates a human-reabable string for the token instance (handy for debugging purposes).

Token ( TokenType type, object value, string rawValue, Location location )

Initializes a new instance of the Token class.

Method Details

ToString() public method

Generates a human-reabable string for the token instance (handy for debugging purposes).
public ToString ( ) : string
return string

Token() public method

Initializes a new instance of the Token class.
public Token ( TokenType type, object value, string rawValue, Location location )
type TokenType The token type.
value object The token value.
rawValue string The token raw value.
location Location The token location within a specified expression.