Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

yy Namespace Reference


Classes

class  location
 Abstract a location. More...
class  position
 Abstract a position. More...
class  stack
class  slice
 Present a slice of the top of a stack. More...

Functions

const location operator+ (const location &begin, const location &end)
 Join two location objects to create a location.
const location operator+ (const location &begin, unsigned int width)
 Add two location objects.
locationoperator+= (location &res, unsigned int width)
 Add and assign a location.
std::ostream & operator<< (std::ostream &ostr, const location &loc)
 Intercept output stream redirection.
const positionoperator+= (position &res, const int width)
 Add and assign a position.
const position operator+ (const position &begin, const int width)
 Add two position objects.
const positionoperator-= (position &res, const int width)
 Add and assign a position.
const position operator- (const position &begin, const int width)
 Add two position objects.
std::ostream & operator<< (std::ostream &ostr, const position &pos)
 Intercept output stream redirection.


Function Documentation

const position operator+ const position &  begin,
const int  width
[inline]
 

Add two position objects.

const location operator+ const location &  begin,
unsigned int  width
[inline]
 

Add two location objects.

const location operator+ const location &  begin,
const location &  end
[inline]
 

Join two location objects to create a location.

const position& operator+= position &  res,
const int  width
[inline]
 

Add and assign a position.

location& operator+= location &  res,
unsigned int  width
[inline]
 

Add and assign a location.

const position operator- const position &  begin,
const int  width
[inline]
 

Add two position objects.

const position& operator-= position &  res,
const int  width
[inline]
 

Add and assign a position.

std::ostream& operator<< std::ostream &  ostr,
const position &  pos
[inline]
 

Intercept output stream redirection.

Parameters:
ostr the destination output stream
pos a reference to the position to redirect

std::ostream& operator<< std::ostream &  ostr,
const location &  loc
[inline]
 

Intercept output stream redirection.

Parameters:
ostr the destination output stream
loc a reference to the location to redirect
Avoid duplicate information.


Please comment this page and report errors about it on the RefDocComments page.
Generated on Fri Apr 8 21:21:23 2005 for spot by doxygen 1.4.0