C# Class Glob.Scanner

Exibir arquivo Open project: kthompson/csharp-glob Class Usage Examples

Public Methods

Method Description
Peek ( ) : Token
Scan ( ) : Token
Scanner ( string source ) : System
Take ( char character ) : void
TakeIt ( ) : void

Private Methods

Method Description
IsAlphaNumeric ( char c ) : bool
IsNumeric ( char c ) : bool
PeekChar ( ) : int
ScanToken ( ) : TokenKind
SetCurrentCharacter ( ) : void
TakeIdentifier ( ) : TokenKind

Method Details

Peek() public method

public Peek ( ) : Token
return Token

Scan() public method

public Scan ( ) : Token
return Token

Scanner() public method

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

Take() public method

public Take ( char character ) : void
character char
return void

TakeIt() public method

public TakeIt ( ) : void
return void