ltlyy::location Class Reference

Abstract a location. More...

#include <ltlparse/location.hh>

Collaboration diagram for ltlyy::location:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 location ()
 Construct a location.
void initialize (std::string *fn)
 Initialization.
Line and Column related manipulators

void step ()
 Reset initial location to final location.
void columns (unsigned int count=1)
 Extend the current location to the COUNT next columns.
void lines (unsigned int count=1)
 Extend the current location to the COUNT next lines.

Public Attributes

position begin
 Beginning of the located region.
position end
 End of the located region.

Detailed Description

Abstract a location.


Constructor & Destructor Documentation

ltlyy::location::location (  )  [inline]

Construct a location.


Member Function Documentation

void ltlyy::location::columns ( unsigned int  count = 1  )  [inline]

Extend the current location to the COUNT next columns.

Referenced by ltlyy::operator+(), and ltlyy::operator+=().

void ltlyy::location::initialize ( std::string *  fn  )  [inline]

Initialization.

void ltlyy::location::lines ( unsigned int  count = 1  )  [inline]

Extend the current location to the COUNT next lines.

void ltlyy::location::step (  )  [inline]

Reset initial location to final location.

References begin, end, and ltlyy::position::initialize().


Member Data Documentation

Beginning of the located region.

Referenced by step().

End of the located region.

Referenced by ltlyy::operator+(), and step().


The documentation for this class was generated from the following file:

Please comment this page and report errors about it on the RefDocComments page.
Generated on Fri Apr 16 09:42:26 2010 for spot by doxygen 1.6.3