#include <algorithm>#include <iostream>#include <string>Go to the source code of this file.
Classes | |
| class | yy::position |
| Abstract a position. More... | |
Functions | |
| 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. | |
| 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. | |
| template<typename YYChar> | |
| std::basic_ostream< YYChar > & | yy::operator<< (std::basic_ostream< YYChar > &ostr, const position &pos) |
| Intercept output stream redirection. | |
Define the yy::position class.
Definition in file position.hh.
|
inline |
Intercept output stream redirection.
| ostr | the destination output stream |
| pos | a reference to the position to redirect |
Definition at line 150 of file position.hh.
|
|
hosts this site. |
Send comments to: QJson Developers |