fr.umlv.tatoo.runtime.lexer
Interface LifecycleHandler<B extends LexerBuffer>

All Known Implementing Classes:
ParserForwarder

public interface LifecycleHandler<B extends LexerBuffer>

A lifecycleHandler will be called when the buffer of the lexer changed; see Lexer.reset(fr.umlv.tatoo.runtime.buffer.LexerBuffer); or when the lexer is closed; see SimpleLexer.close().

Author:
Remi
See Also:
ParserForwarder

Method Summary
 void lexerClosed(Lexer<B> lexer)
          Called after the lexer is closed.
 void lexerReset(Lexer<B> lexer)
          Called after the lexer is reset.
 

Method Detail

lexerClosed

void lexerClosed(Lexer<B> lexer)
Called after the lexer is closed.

See Also:
SimpleLexer.close()

lexerReset

void lexerReset(Lexer<B> lexer)
Called after the lexer is reset.

See Also:
Lexer.reset(fr.umlv.tatoo.runtime.buffer.LexerBuffer)