프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |