Lines Matching refs:position
34 ** \file ../../../../examples/calc++/position.hh
35 ** Define the yy::position class.
56 #line 57 "../../../../examples/calc++/position.hh"
57 /// Abstract a position.
58 class position
62 /// Construct a position.
63 explicit position (std::string* f = YY_NULL,
99 /// File name to which this position refers.
107 /// Add and assign a position.
108 inline position&
109 operator+= (position& res, const int width)
115 /// Add two position objects.
116 inline const position
117 operator+ (const position& begin, const int width)
119 position res = begin;
123 /// Add and assign a position.
124 inline position&
125 operator-= (position& res, const int width)
130 /// Add two position objects.
131 inline const position
132 operator- (const position& begin, const int width)
137 /// Compare two position objects.
139 operator== (const position& pos1, const position& pos2)
148 /// Compare two position objects.
150 operator!= (const position& pos1, const position& pos2)
157 ** \param pos a reference to the position to redirect
161 operator<< (std::basic_ostream<YYChar>& ostr, const position& pos)
171 #line 172 "../../../../examples/calc++/position.hh"