TokenStreamBasicFilter.hpp
Go to the documentation of this file.00001 #ifndef INC_TokenStreamBasicFilter_hpp__
00002 #define INC_TokenStreamBasicFilter_hpp__
00003
00004
00005
00006
00007
00008
00009
00010
00011 #include <antlr/config.hpp>
00012 #include <antlr/BitSet.hpp>
00013 #include <antlr/TokenStream.hpp>
00014
00015 #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
00016 namespace antlr {
00017 #endif
00018
00023 class ANTLR_API TokenStreamBasicFilter : public TokenStream {
00025 protected:
00026 BitSet discardMask;
00027
00029 protected:
00030 TokenStream* input;
00031
00032 public:
00033 TokenStreamBasicFilter(TokenStream& input_);
00034
00035 void discard(int ttype);
00036
00037 void discard(const BitSet& mask);
00038
00039 RefToken nextToken();
00040 };
00041
00042 #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
00043 }
00044 #endif
00045
00046 #endif //INC_TokenStreamBasicFilter_hpp__
This file is part of the documentation for KDevelop Version 3.1.2.