Go to the source code of this file.
Classes | |
class | example::position |
Abstract a position. More... | |
Namespaces | |
namespace | example |
The example namespace is used to encapsulate the three parser classes example::Parser, example::Scanner and example::Driver. | |
Functions | |
const position & | example::operator+= (position &res, const int width) |
Add and assign a position. | |
const position | example::operator+ (const position &begin, const int width) |
Add two position objects. | |
const position & | example::operator-= (position &res, const int width) |
Add and assign a position. | |
const position | example::operator- (const position &begin, const int width) |
Add two position objects. | |
bool | example::operator== (const position &pos1, const position &pos2) |
Compare two position objects. | |
bool | example::operator!= (const position &pos1, const position &pos2) |
Compare two position objects. | |
std::ostream & | example::operator<< (std::ostream &ostr, const position &pos) |
Intercept output stream redirection. |
Definition in file position.hh.