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