fr.umlv.tatoo.runtime.tools
Class AbstractLexerListener<R extends Rule,B extends TokenBuffer>
java.lang.Object
fr.umlv.tatoo.runtime.tools.AbstractLexerListener<R,B>
- All Implemented Interfaces:
- LexerListener<R,B>
public abstract class AbstractLexerListener<R extends Rule,B extends TokenBuffer>
- extends Object
- implements LexerListener<R,B>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractLexerListener
public AbstractLexerListener()
ruleVerified
public void ruleVerified(R rule,
int lastTokenLength,
B buffer)
- Description copied from interface:
LexerListener
- This method is called each time a token is recognized by the lexer.
- Specified by:
ruleVerified in interface LexerListener<R extends Rule,B extends TokenBuffer>
- Parameters:
rule - the rule verifiedlastTokenLength - the length of the token recognized by the rulebuffer - the buffer containing the token to extract
ruleVerified
public abstract AbstractLexerListener.BufferOperation ruleVerified(R rule,
CharSequence seq)