location.hh File Reference

Define the yy::location class. More...

#include <iostream>
#include <string>
#include "position.hh"
Include dependency graph for location.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  yy::location
 Abstract a location. More...


namespace  yy

Common namespace for the generated lexer and parser.


const location yy::operator+ (const location &begin, const location &end)
 Join two location objects to create a location.
const location yy::operator+ (const location &begin, unsigned int width)
 Add two location objects.
location & yy::operator+= (location &res, unsigned int width)
 Add and assign a location.
bool yy::operator== (const location &loc1, const location &loc2)
 Compare two location objects.
bool yy::operator!= (const location &loc1, const location &loc2)
 Compare two location objects.
std::ostream & yy::operator<< (std::ostream &ostr, const location &loc)
 Intercept output stream redirection.

Detailed Description

Define the yy::location class.

Definition in file location.hh.

Generated on Fri Aug 21 08:15:08 2009 for mqn2mps by  doxygen 1.6.0