cpptools.preprocessor
Interface TokenFilter

All Known Implementing Classes:
AbstractTokenFilter, Define, Macro

public interface TokenFilter

Defines a token flow filter.

Author:
Mathieu Champlon

Method Summary
 boolean matches(java.lang.String name)
          Test if the filter name matches a given name.
 boolean process(Token token)
          Trigger filtering based on a given token.
 

Method Detail

matches

boolean matches(java.lang.String name)
Test if the filter name matches a given name.

Parameters:
name - the name to test
Returns:
whether the filter name matches or not

process

boolean process(Token token)
Trigger filtering based on a given token.

Parameters:
token - the head of the token flow
Returns:
whether the filter has been applied or not


Copyright © 2006-2007 null. All Rights Reserved.