|
spot
1.2.6
|
Abstract a location. More...
#include <kripkeparse/location.hh>

Public Member Functions | |
| location (const position &b, const position &e) | |
| Construct a location from b to e. More... | |
| location (const position &p=position()) | |
| Construct a 0-width location in p. More... | |
| location (std::string *f, unsigned int l=1u, unsigned int c=1u) | |
| Construct a 0-width location in f, l, c. More... | |
| void | initialize (std::string *f=YY_NULL, unsigned int l=1u, unsigned int c=1u) |
| Initialization. More... | |
Line and Column related manipulators | |
| void | step () |
| Reset initial location to final location. More... | |
| void | columns (unsigned int count=1) |
| Extend the current location to the COUNT next columns. More... | |
| void | lines (unsigned int count=1) |
| Extend the current location to the COUNT next lines. More... | |
Public Attributes | |
| position | begin |
| Beginning of the located region. More... | |
| position | end |
| End of the located region. More... | |
Abstract a location.
Construct a location from b to e.
Construct a 0-width location in p.
|
inlineexplicit |
Construct a 0-width location in f, l, c.
|
inline |
Extend the current location to the COUNT next columns.
References end.
|
inline |
Initialization.
References begin, end, and kripkeyy::position::initialize().
|
inline |
Extend the current location to the COUNT next lines.
References end, and kripkeyy::position::lines().
|
inline |
| position kripkeyy::location::begin |
Beginning of the located region.
Referenced by initialize(), and step().
| position kripkeyy::location::end |
End of the located region.
Referenced by columns(), initialize(), lines(), and step().
1.8.4