Home | History | Annotate | Download | only in data

Lines Matching refs:position

19 b4_output_begin([b4_dir_prefix[]position.hh])
24 ** \file ]b4_dir_prefix[position.hh
25 ** Define the ]b4_namespace_ref[::position class.
28 ]b4_cpp_guard_open([b4_dir_prefix[]position.hh])[
37 /// Abstract a position.
38 class position
42 /// Construct a position.
43 explicit position (]b4_percent_define_get([[filename_type]])[* f = YY_NULL,
79 /// File name to which this position refers.
87 /// Add and assign a position.
88 inline position&
89 operator+= (position& res, const int width)
95 /// Add two position objects.
96 inline const position
97 operator+ (const position& begin, const int width)
99 position res = begin;
103 /// Add and assign a position.
104 inline position&
105 operator-= (position& res, const int width)
110 /// Add two position objects.
111 inline const position
112 operator- (const position& begin, const int width)
117 /// Compare two position objects.
119 operator== (const position& pos1, const position& pos2)
128 /// Compare two position objects.
130 operator!= (const position& pos1, const position& pos2)
137 ** \param pos a reference to the position to redirect
141 operator<< (std::basic_ostream<YYChar>& ostr, const position& pos)
149 ]b4_cpp_guard_close([b4_dir_prefix[]position.hh])
164 # include "position.hh"
174 location (const position& b, const position& e)
181 explicit location (const position& p = position ())
231 position begin;
233 position end;
283 position last = loc.end - 1;