spot
0.8.3
|
Abstract a location. More...
#include <ltlparse/location.hh>
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. |
Abstract a location.
ltlyy::location::location | ( | ) | [inline] |
Construct a location.
void ltlyy::location::columns | ( | unsigned int | count = 1 | ) | [inline] |
Extend the current location to the COUNT next columns.
References end.
Referenced by ltlyy::operator+(), and ltlyy::operator+=().
void ltlyy::location::initialize | ( | std::string * | fn | ) | [inline] |
Initialization.
References begin, end, and ltlyy::position::initialize().
void ltlyy::location::lines | ( | unsigned int | count = 1 | ) | [inline] |
Extend the current location to the COUNT next lines.
References end, and ltlyy::position::lines().
void ltlyy::location::step | ( | ) | [inline] |
Beginning of the located region.
Referenced by initialize(), ltlyy::operator<<(), ltlyy::operator==(), and step().
End of the located region.
Referenced by columns(), initialize(), lines(), ltlyy::operator+(), ltlyy::operator<<(), ltlyy::operator==(), and step().