TokenStreamBasicFilter Class Reference

#include <TokenStreamBasicFilter.hpp>

Inheritance diagram for TokenStreamBasicFilter:

Inheritance graph
[legend]
Collaboration diagram for TokenStreamBasicFilter:

Collaboration graph
[legend]

Public Member Functions

 TokenStreamBasicFilter (TokenStream &input_)
void discard (int ttype)
void discard (const BitSet &mask)
RefToken nextToken ()

Protected Attributes

BitSet discardMask
TokenStreaminput

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

TokenStreamBasicFilter::TokenStreamBasicFilter ( TokenStream input_  ) 


Member Function Documentation

void TokenStreamBasicFilter::discard ( int  ttype  ) 

void TokenStreamBasicFilter::discard ( const BitSet mask  ) 

RefToken TokenStreamBasicFilter::nextToken (  )  [virtual]

Implements TokenStream.

Reimplemented in TokenStreamHiddenTokenFilter.


Field Documentation

The set of token types to discard

Definition at line 26 of file TokenStreamBasicFilter.hpp.

The input stream

Definition at line 30 of file TokenStreamBasicFilter.hpp.


The documentation for this class was generated from the following file:

Generated on Tue Mar 31 20:19:28 2009 for ctrump by  doxygen 1.5.6