fr.umlv.tatoo.runtime.buffer
Interface LocationProvider

All Known Implementing Classes:
LocationTracker

public interface LocationProvider

A class that is able to map buffer positions to text locations.

Author:
Julien Cervelle

Method Summary
 int getColumnNumber()
          Returns the current column number in the stream.
 int getLineNumber()
          Returns the current line number in the stream.
 int getUnwindedColumnNumber()
          Returns the column number of the last unwind operation.
 int getUnwindedLineNumber()
          Returns the line number of the last unwind operation.
 

Method Detail

getColumnNumber

int getColumnNumber()
Returns the current column number in the stream.

Returns:
the column number.

getLineNumber

int getLineNumber()
Returns the current line number in the stream.

Returns:
the line number.

getUnwindedColumnNumber

int getUnwindedColumnNumber()
Returns the column number of the last unwind operation.

Returns:
the column number

getUnwindedLineNumber

int getUnwindedLineNumber()
Returns the line number of the last unwind operation.

Returns:
the line number