Class TokenProcessor<D,T>

java.lang.Object
eu.bandm.tools.lexic.LookaheadTokenProcessor<D,T,Void>
eu.bandm.tools.lexic.TokenProcessor<D,T>
Type Parameters:
D - the type of source document identifiers
T - the type of token types
All Implemented Interfaces:
LookaheadTokenSource<D,T,Void>, TokenSource<D,T>, Supplier<Token<D,T>>

public abstract class TokenProcessor<D,T> extends LookaheadTokenProcessor<D,T,Void> implements TokenSource<D,T>
Abstract base class for secondary token sources that feed on other token sources.
  • Constructor Details

    • TokenProcessor

      protected TokenProcessor(TokenSource<D,T> input)
      Creates a new instance.
      Parameters:
      input - the input token source