QJson home page

/builddir/build/BUILD/qjson-d0f62e65f0b79fb7724d8d551dc9ff11d085127b/src/location.hh File Reference

#include "position.hh"

Go to the source code of this file.

Classes

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

Functions

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.
template<typename YYChar >
std::basic_ostream< YYChar > & yy::operator<< (std::basic_ostream< YYChar > &ostr, const location &loc)
 Intercept output stream redirection.

Detailed Description

Define the yy::location class.

Definition in file location.hh.


SourceForge Logo hosts this site. Send comments to:
QJson Developers