fr.umlv.tatoo.runtime.buffer
Interface ErrorContextBuffer<E extends ErrorContext>

Type Parameters:
E - type of the error context.
All Known Implementing Classes:
CharBufferWrapper, ReaderWrapper

public interface ErrorContextBuffer<E extends ErrorContext>

A ErrorContextBuffer allows to retreive the context when a error occurs in the lexer.

Version:
$Revision$
Author:
Gilles Roussel

Method Summary
 int getErrorChar()
           
 E getErrorContext()
          Returns the context of an error that occurred in the lexer.
 

Method Detail

getErrorContext

E getErrorContext()
Returns the context of an error that occurred in the lexer.

Returns:
the error context

getErrorChar

int getErrorChar()