C# Class BalticAmadeus.FluentMdx.Lexer.Lexer

Represents a machine that performs lexical analysis based on regex-defined rules.
Inheritance: ILexer
Afficher le fichier Open project: BalticAmadeus/FluentMdx

Méthodes publiques

Méthode Description
Lexer ( ) : System

Initializes a new instance of Lexer and sets the lexical analysis rules.

Tokenize ( string source ) : IEnumerable

Transforms text into list of Token objects based on rules.

Method Details

Lexer() public méthode

Initializes a new instance of Lexer and sets the lexical analysis rules.
public Lexer ( ) : System
Résultat System

Tokenize() public méthode

Transforms text into list of Token objects based on rules.
public Tokenize ( string source ) : IEnumerable
source string Text to tokenize.
Résultat IEnumerable