C# Class at.jku.ssw.Coco.Scanner

显示文件 Open project: Gl237man/mineroute Class Usage Examples

Public Properties

Property Type Description
buffer Buffer

Public Methods

Method Description
AddCh ( ) : void
CheckLiteral ( ) : void
Init ( ) : void
NextCh ( ) : void
Peek ( ) : Token
ResetPeek ( ) : void
Scan ( ) : Token
Scanner ( Stream s ) : System
Scanner ( string fileName ) : System

Private Methods

Method Description
Comment0 ( ) : bool
Comment1 ( ) : bool
NextToken ( ) : Token
Scanner ( ) : System
SetScannerBehindT ( ) : void

Method Details

AddCh() public method

public AddCh ( ) : void
return void

CheckLiteral() public method

public CheckLiteral ( ) : void
return void

Init() public method

public Init ( ) : void
return void

NextCh() public method

public NextCh ( ) : void
return void

Peek() public method

public Peek ( ) : Token
return Token

ResetPeek() public method

public ResetPeek ( ) : void
return void

Scan() public method

public Scan ( ) : Token
return Token

Scanner() public method

public Scanner ( Stream s ) : System
s Stream
return System

Scanner() public method

public Scanner ( string fileName ) : System
fileName string
return System

Property Details

buffer public_oe property

public Buffer buffer
return Buffer