Свойство | Type | Description | |
---|---|---|---|
channel | int |
Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
AdjustSeekIndex ( int i ) : int | ||
Lb ( int k ) : IToken |
public CommonTokenStream ( ITokenSource tokenSource ) : Antlr4.Runtime.Sharpen | ||
tokenSource | ITokenSource | The token source. |
Résultat | 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. |
Résultat | Antlr4.Runtime.Sharpen |
public GetNumberOfOnChannelTokens ( ) : int | ||
Résultat | int |