Lines Matching refs:location
34 ** \file ../../../../examples/calc++/location.hh
35 ** Define the yy::location class.
45 /* Line 166 of location.cc */
46 #line 47 "../../../../examples/calc++/location.hh"
48 /// Abstract a location.
49 class location
53 /// Construct a location from \a b to \a e.
54 location (const position& b, const position& e)
60 /// Construct a 0-width location in \a p.
61 explicit location (const position& p = position ())
67 /// Construct a 0-width location in \a f, \a l, \a c.
68 explicit location (std::string* f,
89 /// Reset initial location to final location.
95 /// Extend the current location to the COUNT next columns.
101 /// Extend the current location to the COUNT next lines.
116 /// Join two location objects to create a location.
117 inline const location operator+ (const location& begin, const location& end)
119 location res = begin;
124 /// Add two location objects.
125 inline const location operator+ (const location& begin, unsigned int width)
127 location res = begin;
132 /// Add and assign a location.
133 inline location& operator+= (location& res, unsigned int width)
139 /// Compare two location objects.
141 operator== (const location& loc1, const location& loc2)
146 /// Compare two location objects.
148 operator!= (const location& loc1, const location& loc2)
155 ** \param loc a reference to the location to redirect
161 operator<< (std::basic_ostream<YYChar>& ostr, const location& loc)
178 /* Line 296 of location.cc */
179 #line 180 "../../../../examples/calc++/location.hh"