satc
Interface MultiStateLexer.LexerCallback

All Known Implementing Classes:
AbstractLexerCallback
Enclosing class:
MultiStateLexer

public static interface MultiStateLexer.LexerCallback

Interface for a callback lexer action. Classes implementing this interface can be used to add functionality to the document lexer.


Method Summary
 void action(satc.Token tok)
          The action to be performed for each new token.
 boolean isEnabled()
          Returns true if this action is currently enabled.
 void setEnabled(boolean en)
          Enable/disable this action.
 

Method Detail

action

public void action(satc.Token tok)
The action to be performed for each new token.

isEnabled

public boolean isEnabled()
Returns true if this action is currently enabled.

setEnabled

public void setEnabled(boolean en)
Enable/disable this action.