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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Iterator<Token>` | `filter(java.util.Iterator<Token> tokens)` Filters the list of tokens.
    `void` | `init(Jep j)`

- - ### Method Detail

    - #### 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 © 2018 Singular Systems http://www.singularsys.com/jep