Свойство | Тип | Описание | |
---|---|---|---|
channel | int |
Метод | Описание | |
---|---|---|
CommonTokenStream ( ITokenSource tokenSource ) : Antlr4.Runtime.Sharpen |
Constructs a new CommonTokenStream using the specified token source and the default token channel ( TokenConstants.DefaultChannel ).
|
|
CommonTokenStream ( ITokenSource tokenSource, int channel ) : Antlr4.Runtime.Sharpen |
Constructs a new CommonTokenStream using the specified token source and filtering tokens to the specified channel. Only tokens whose IToken.Channel() matches channel or have the IToken.Type() equal to TokenConstants.Eof will be returned by the token stream lookahead methods.
|
|
GetNumberOfOnChannelTokens ( ) : int |
Count EOF just once.
|
|
Lt ( int k ) : IToken |
Метод | Описание | |
---|---|---|
AdjustSeekIndex ( int i ) : int | ||
Lb ( int k ) : IToken |
public CommonTokenStream ( ITokenSource tokenSource ) : Antlr4.Runtime.Sharpen | ||
tokenSource | ITokenSource | The token source. |
Результат | Antlr4.Runtime.Sharpen |
public CommonTokenStream ( ITokenSource tokenSource, int channel ) : Antlr4.Runtime.Sharpen | ||
tokenSource | ITokenSource | The token source. |
channel | int | The channel to use for filtering tokens. |
Результат | Antlr4.Runtime.Sharpen |
public GetNumberOfOnChannelTokens ( ) : int | ||
Результат | int |