C# Class LessProject.DotLessIntegration.LexerSrc.TokenBuffer

显示文件 Open project: erikvanbrakel/DotLessVSIntegration

Public Methods

Method Description
Load ( ) : void

Load next token

Load ( int length ) : void

Load X tokens into the buffer

Peek ( int pos ) : Token

Peek at position in token buffer

TokenBuffer ( ICharacterBuffer characterBuffer, int bufferSize ) : System
TokenBuffer ( Lexer lex, int bufferSize ) : System

Private Methods

Method Description
InitBuffer ( int bufferSize ) : void

Method Details

Load() public method

Load next token
public Load ( ) : void
return void

Load() public method

Load X tokens into the buffer
public Load ( int length ) : void
length int
return void

Peek() public method

Peek at position in token buffer
public Peek ( int pos ) : Token
pos int
return Token

TokenBuffer() public method

public TokenBuffer ( ICharacterBuffer characterBuffer, int bufferSize ) : System
characterBuffer ICharacterBuffer
bufferSize int
return System

TokenBuffer() public method

public TokenBuffer ( Lexer lex, int bufferSize ) : System
lex Lexer
bufferSize int
return System