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 Details

    • filter

      Iterator<Token> filter(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)