C# 클래스 ExpressiveAnnotations.Analysis.Lexer

Performs the lexical analysis of a specified logical expression.
Type is thread safe.
파일 보기 프로젝트 열기: jwaliszko/ExpressiveAnnotations 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ConvertTokenValue object
Next bool
ParseStringLiteral string

공개 메소드들

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

비공개 메소드들

메소드 설명
ConvertTokenValue ( TokenType type, string value ) : object
Next ( ) : bool
ParseStringLiteral ( string value ) : string

메소드 상세

Analyze() 공개 메소드

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

Lexer() 공개 메소드

Initializes a new instance of the Lexer class.
public Lexer ( ) : System
리턴 System