Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
location.hh File Reference
#include "position.hh"

Go to the source code of this file.

Classes

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

Namespaces

 yy
 

Functions

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

Detailed Description

Define the yy::location class.

Definition in file location.hh.