C# Class JackCompiler.Tokenizer

显示文件 Open project: selagroup/diagnostics-courses Class Usage Examples

Private Properties

Property Type Description
EatWhile string
EatWhitespace void
LookAhead char
NextChar char

Public Methods

Method Description
Advance ( ) : void
Next ( ) : Token
Tokenizer ( TextReader source ) : System

Private Methods

Method Description
EatWhile ( Predicate pred ) : string
EatWhitespace ( ) : void
LookAhead ( ) : char
NextChar ( ) : char

Method Details

Advance() public method

public Advance ( ) : void
return void

Next() public method

public Next ( ) : Token
return Token

Tokenizer() public method

public Tokenizer ( TextReader source ) : System
source System.IO.TextReader
return System