Package antlr

Class TokenStreamHiddenTokenFilter

  • All Implemented Interfaces:
    IASDebugStream, TokenStream

    public class TokenStreamHiddenTokenFilter
    extends TokenStreamBasicFilter
    implements TokenStream
    This object filters a token stream coming from a lexer or another TokenStream so that only certain token channels get transmitted to the parser. Any of the channels can be filtered off as "hidden" channels whose tokens can be accessed from the parser.