TokenStreamBasicFilter Class Reference
This object is a TokenStream that passes through all tokens except for those that you tell it to discard. More...
#include <TokenStreamBasicFilter.hpp>
Inheritance diagram for TokenStreamBasicFilter:


Public Member Functions | |
TokenStreamBasicFilter (TokenStream &input_) | |
This object is a TokenStream that passes through all tokens except for those that you tell it to discard. | |
void | discard (int ttype) |
void | discard (const BitSet &mask) |
RefToken | nextToken () |
Protected Attributes | |
BitSet | discardMask |
The set of token types to discard. | |
TokenStream * | input |
The input stream. |
Detailed Description
This object is a TokenStream that passes through all tokens except for those that you tell it to discard.There is no buffering of the tokens.
Definition at line 23 of file TokenStreamBasicFilter.hpp.
Constructor & Destructor Documentation
|
This object is a TokenStream that passes through all tokens except for those that you tell it to discard. There is no buffering of the tokens. Definition at line 17 of file TokenStreamBasicFilter.cpp. |
Member Function Documentation
|
Definition at line 27 of file TokenStreamBasicFilter.cpp. References discardMask. |
|
Definition at line 22 of file TokenStreamBasicFilter.cpp. References BitSet::add(), and discardMask. |
|
Implements TokenStream. Reimplemented in TokenStreamHiddenTokenFilter. Definition at line 32 of file TokenStreamBasicFilter.cpp. References discardMask, input, BitSet::member(), TokenStream::nextToken(), and RefToken. |
Member Data Documentation
|
The set of token types to discard.
Definition at line 26 of file TokenStreamBasicFilter.hpp. Referenced by discard(), and nextToken(). |
|
The input stream.
Definition at line 30 of file TokenStreamBasicFilter.hpp. Referenced by nextToken(). |
The documentation for this class was generated from the following files:
- lib/antlr/antlr/TokenStreamBasicFilter.hpp
- lib/antlr/src/TokenStreamBasicFilter.cpp