com.singularsys.jep.configurableparser
Interface TokenFilter
- All Known Implementing Classes:
- WhiteSpaceCommentFilter
public interface TokenFilter
Classes which filter the list of tokens.
Mainly used by WhiteSpaceCommentFilter
to remove white space and comments.
Method Summary |
java.util.Iterator<Token> |
filter(java.util.Iterator<Token> tokens)
Filters the list of tokens. |
void |
init(Jep j)
|
filter
java.util.Iterator<Token> filter(java.util.Iterator<Token> tokens)
- Filters the list of tokens.
- Parameters:
tokens
- an iterator for the list of tokens
- Returns:
- a new iterator which just contains the filtered results
init
void init(Jep j)
Copyright © 2010 Singular Systems http://www.singularsys.com/jep