Abstract a location. More...
#include <location.hh>
Public Member Functions | |
| location (const position &b, const position &e) | |
| Construct a location from b to e. | |
| location (const position &p=position()) | |
| Construct a 0-width location in p. | |
| location (std::string *f, unsigned int l=1u, unsigned int c=1u) | |
| Construct a 0-width location in f, l, c. | |
| void | initialize (std::string *f=YY_NULL, unsigned int l=1u, unsigned int c=1u) |
| 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.
Definition at line 49 of file location.hh.
|
|
hosts this site. |
Send comments to: QJson Developers |