C# Class Antlr.Runtime.BufferedTokenStream

Inheritance: ITokenStream, IIntStream, ITokenStreamInformation
Show file Open project: antlr/antlrcs Class Usage Examples

Public Methods

Method Description
BufferedTokenStream ( ) : System.Collections.Generic
BufferedTokenStream ( ITokenSource tokenSource ) : System.Collections.Generic
Consume ( ) : void
Fill ( ) : void
Get ( int i ) : IToken
Get ( int start, int count ) : List

Get all tokens from start..(start+count-1) inclusively

GetTokens ( ) : List
GetTokens ( int start, int stop ) : List
GetTokens ( int start, int stop, BitSet types ) : List
GetTokens ( int start, int stop, IEnumerable types ) : List
GetTokens ( int start, int stop, int ttype ) : List
LA ( int i ) : int
LT ( int k ) : IToken
Mark ( ) : int
Release ( int marker ) : void
Reset ( ) : void
Rewind ( ) : void
Rewind ( int marker ) : void
Seek ( int index ) : void
ToString ( ) : string
ToString ( IToken start, IToken stop ) : string
ToString ( int start, int stop ) : string

Protected Methods

Method Description
Fetch ( int n ) : void
LB ( int k ) : IToken
Setup ( ) : void
Sync ( int i ) : void

Method Details

BufferedTokenStream() public method

public BufferedTokenStream ( ) : System.Collections.Generic
return System.Collections.Generic

BufferedTokenStream() public method

public BufferedTokenStream ( ITokenSource tokenSource ) : System.Collections.Generic
tokenSource ITokenSource
return System.Collections.Generic

Consume() public method

public Consume ( ) : void
return void

Fetch() protected method

protected Fetch ( int n ) : void
n int
return void

Fill() public method

public Fill ( ) : void
return void

Get() public method

public Get ( int i ) : IToken
i int
return IToken

Get() public method

Get all tokens from start..(start+count-1) inclusively
public Get ( int start, int count ) : List
start int
count int
return List

GetTokens() public method

public GetTokens ( ) : List
return List

GetTokens() public method

public GetTokens ( int start, int stop ) : List
start int
stop int
return List

GetTokens() public method

public GetTokens ( int start, int stop, BitSet types ) : List
start int
stop int
types BitSet
return List

GetTokens() public method

public GetTokens ( int start, int stop, IEnumerable types ) : List
start int
stop int
types IEnumerable
return List

GetTokens() public method

public GetTokens ( int start, int stop, int ttype ) : List
start int
stop int
ttype int
return List

LA() public method

public LA ( int i ) : int
i int
return int

LB() protected method

protected LB ( int k ) : IToken
k int
return IToken

LT() public method

public LT ( int k ) : IToken
k int
return IToken

Mark() public method

public Mark ( ) : int
return int

Release() public method

public Release ( int marker ) : void
marker int
return void

Reset() public method

public Reset ( ) : void
return void

Rewind() public method

public Rewind ( ) : void
return void

Rewind() public method

public Rewind ( int marker ) : void
marker int
return void

Seek() public method

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

Setup() protected method

protected Setup ( ) : void
return void

Sync() protected method

protected Sync ( int i ) : void
i int
return void

ToString() public method

public ToString ( ) : string
return string

ToString() public method

public ToString ( IToken start, IToken stop ) : string
start IToken
stop IToken
return string

ToString() public method

public ToString ( int start, int stop ) : string
start int
stop int
return string