C# Class AjTalk.Compiler.Lexer

显示文件 Open project: ajlopez/AjTalk Class Usage Examples

Public Methods

Method Description
Lexer ( TextReader input ) : System
Lexer ( string text ) : System
NextToken ( ) : Token
PushToken ( Token token ) : void

Private Methods

Method Description
NextChar ( ) : int
NextCharSkipBlanks ( ) : int
NextCharSkipBlanksAndComments ( ) : int
NextDotNetInvokeName ( ) : Token
NextDotNetTypeName ( ) : Token
NextDottedName ( string name ) : Token
NextEnclosedSymbol ( ) : Token
NextInteger ( char firstdigit ) : Token
NextName ( char firstchar ) : Token
NextNameAsString ( ) : string
NextOperator ( char firstchar ) : Token
NextParameter ( ) : Token
NextPunctuation ( char ch ) : Token
NextReal ( string value ) : Token
NextString ( ) : Token
NextSymbol ( ) : Token
PeekChar ( ) : int
PushChar ( int ch ) : void
SkipToControl ( ) : void

Method Details

Lexer() public method

public Lexer ( TextReader input ) : System
input TextReader
return System

Lexer() public method

public Lexer ( string text ) : System
text string
return System

NextToken() public method

public NextToken ( ) : Token
return Token

PushToken() public method

public PushToken ( Token token ) : void
token Token
return void