Java org.antlr.v4.runtime BufferedTokenStream fields, constructors, methods, implement or subclass

Example usage for Java org.antlr.v4.runtime BufferedTokenStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.antlr.v4.runtime BufferedTokenStream.

The text is from its open source code.

Constructor

Method

voidconsume()
ListgetHiddenTokensToLeft(int tokenIndex, int channel)
Collect all tokens on specified channel to the left of the current token up until we see a token on DEFAULT_TOKEN_CHANNEL.
ListgetHiddenTokensToLeft(int tokenIndex)
Collect all hidden tokens (any off-default channel) to the left of the current token up until we see a token on DEFAULT_TOKEN_CHANNEL.
ListgetHiddenTokensToRight(int tokenIndex, int channel)
Collect all tokens on specified channel to the right of the current token up until we see a token on DEFAULT_TOKEN_CHANNEL or EOF.
ListgetHiddenTokensToRight(int tokenIndex)
Collect all hidden tokens (any off-default channel) to the right of the current token up until we see a token on DEFAULT_TOKEN_CHANNEL or EOF.
StringgetText(Interval interval)
StringgetText(RuleContext ctx)
TokenLT(int k)