C# Class ExpressiveAnnotations.Analysis.Lexer

Performs the lexical analysis of a specified logical expression.
Type is thread safe.
Afficher le fichier Open project: jwaliszko/ExpressiveAnnotations Class Usage Examples

Private Properties

Свойство Type Description
ConvertTokenValue object
Next bool
ParseStringLiteral string

Méthodes publiques

Méthode Description
Analyze ( string expression ) : IEnumerable

Analyzes a specified logical expression and extracts a sequence of tokens.

Lexer ( ) : System

Initializes a new instance of the Lexer class.

Private Methods

Méthode Description
ConvertTokenValue ( TokenType type, string value ) : object
Next ( ) : bool
ParseStringLiteral ( string value ) : string

Method Details

Analyze() public méthode

Analyzes a specified logical expression and extracts a sequence of tokens.
expression is null
public Analyze ( string expression ) : IEnumerable
expression string The logical expression.
Résultat IEnumerable

Lexer() public méthode

Initializes a new instance of the Lexer class.
public Lexer ( ) : System
Résultat System