position.hh File Reference

Define the yy::position class. More...

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

Go to the source code of this file.

Classes

class  yy::position
 Abstract a position. More...

Namespaces

namespace  yy
 

Common namespace for the generated lexer and parser.


Functions

const position & yy::operator+= (position &res, const int width)
 Add and assign a position.
const position yy::operator+ (const position &begin, const int width)
 Add two position objects.
const position & yy::operator-= (position &res, const int width)
 Add and assign a position.
const position yy::operator- (const position &begin, const int width)
 Add two position objects.
bool yy::operator== (const position &pos1, const position &pos2)
 Compare two position objects.
bool yy::operator!= (const position &pos1, const position &pos2)
 Compare two position objects.
std::ostream & yy::operator<< (std::ostream &ostr, const position &pos)
 Intercept output stream redirection.

Detailed Description

Define the yy::position class.

Definition in file position.hh.


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