src/position.hh File Reference

Define the example::position class. More...

Go to the source code of this file.


Classes

class  example::position
 Abstract a position. More...

Namespaces

namespace  example
 The example namespace is used to encapsulate the three parser classes example::Parser, example::Scanner and example::Driver.

Functions

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


Detailed Description

Define the example::position class.

Definition in file position.hh.


Generated on Sat Sep 5 10:26:25 2009 for Flex Bison C++ Example by  doxygen 1.5.9