C# Class VBF.Compilers.Scanners.Scanner

Datei anzeigen Open project: Ninputer/VBF Class Usage Examples

Public Methods

Method Description
Peek ( ) : int
Peek ( int lookAhead ) : int
Peek2 ( ) : int
PeekInLexerState ( int lexerStateIndex, int lookAhead ) : int
Read ( ) : Lexeme
Scanner ( VBF.Compilers.Scanners.ScannerInfo scannerInfo ) : System
Seek ( int index ) : void
SetSource ( SourceReader source ) : void
SetTriviaTokens ( ) : void

Private Methods

Method Description
AddHistory ( Lexeme lexeme, bool setTrivia = true ) : void
HasReachedEndOfStream ( ) : bool
Initialize ( ) : void
IsLastTokenSkippable ( ) : bool
PeekLexeme ( int lookAhead ) : Lexeme

Method Details

Peek() public method

public Peek ( ) : int
return int

Peek() public method

public Peek ( int lookAhead ) : int
lookAhead int
return int

Peek2() public method

public Peek2 ( ) : int
return int

PeekInLexerState() public method

public PeekInLexerState ( int lexerStateIndex, int lookAhead ) : int
lexerStateIndex int
lookAhead int
return int

Read() public method

public Read ( ) : Lexeme
return Lexeme

Scanner() public method

public Scanner ( VBF.Compilers.Scanners.ScannerInfo scannerInfo ) : System
scannerInfo VBF.Compilers.Scanners.ScannerInfo
return System

Seek() public method

public Seek ( int index ) : void
index int
return void

SetSource() public method

public SetSource ( SourceReader source ) : void
source SourceReader
return void

SetTriviaTokens() public method

public SetTriviaTokens ( ) : void
return void