C# Class FirstFloor.ModernUI.Windows.Controls.BbCode.TokenBuffer

Represents a token buffer.
Show file Open project: gro-ove/actools Class Usage Examples

Public Methods

Method Description
Consume ( ) : void

Consumes the next token.

La ( int count ) : Token

Performs a look-ahead.

TokenBuffer ( [ lexer ) : System

Initializes a new instance of the T:TokenBuffer class.

Method Details

Consume() public method

Consumes the next token.
public Consume ( ) : void
return void

La() public method

Performs a look-ahead.
public La ( int count ) : Token
count int The number of _tokens to look ahead.
return Token

TokenBuffer() public method

Initializes a new instance of the T:TokenBuffer class.
public TokenBuffer ( [ lexer ) : System
lexer [ The lexer.
return System