C# Class ExpressionEngine.Internal.Lexer

Reads characters from Tokenizer and returns instances of ExpressionEngine.Internal.Token derived types.
Inheritance: IDisposable
显示文件 Open project: gsscoder/exprengine Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
IsEof ( ) : bool
IsWhiteSpace ( char c ) : bool
Lexer ( Tokenizer tokenizer ) : System
NextToken ( ) : Token
PeekToken ( ) : Token

Private Methods

Method Description
Dispose ( bool disposing ) : void
IsDigit ( char ch ) : bool
IsIdentifierChar ( char ch ) : bool
LexToken ( ) : Token
Lexer ( ) : System
ParseNumber ( StringBuilder buf, bool seenDot, bool seenExp ) : double
ScanDecimalEscapeSequence ( char firstChar ) : char
SkipWhiteSpace ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

IsEof() public method

public IsEof ( ) : bool
return bool

IsWhiteSpace() public static method

public static IsWhiteSpace ( char c ) : bool
c char
return bool

Lexer() public method

public Lexer ( Tokenizer tokenizer ) : System
tokenizer Tokenizer
return System

NextToken() public method

public NextToken ( ) : Token
return Token

PeekToken() public method

public PeekToken ( ) : Token
return Token