1#ifndef INC_TokenStreamBasicFilter_hpp__
2#define INC_TokenStreamBasicFilter_hpp__
11#include <antlr/config.hpp>
12#include <antlr/BitSet.hpp>
13#include <antlr/TokenStream.hpp>
15#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
35 void discard(
int ttype);
37 void discard(
const BitSet& mask);
42#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
A BitSet to replace java.util.BitSet.
This object is a TokenStream that passes through all tokens except for those that you tell it to disc...
BitSet discardMask
The set of token types to discard.
TokenStream * input
The input stream.
This interface allows any object to pretend it is a stream of tokens.