C# 클래스 BalticAmadeus.FluentMdx.Lexer.Lexer

Represents a machine that performs lexical analysis based on regex-defined rules.
상속: ILexer
파일 보기 프로젝트 열기: BalticAmadeus/FluentMdx

공개 메소드들

메소드 설명
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.

메소드 상세

Lexer() 공개 메소드

Initializes a new instance of Lexer and sets the lexical analysis rules.
public Lexer ( ) : System
리턴 System

Tokenize() 공개 메소드

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