KHolidays Library
Go to the documentation of this file.
39 #ifndef BISON_LOCATION_HH
40 # define BISON_LOCATION_HH
48 #line 1 "[Bison:b4_percent_define_default]"
53 #line 54 "location.hh"
84 inline void columns (
unsigned int count = 1)
90 inline void lines (
unsigned int count = 1)
138 return !(loc1 == loc2);
147 inline std::ostream& operator<< (std::ostream& ostr,
const location& loc)
156 ostr <<
'-' << last.
line <<
'.' << last.column;
158 ostr <<
'-' << last.column;
164 #line 1 "[Bison:b4_percent_define_default]"
169 #line 170 "location.hh"
171 #endif // not BISON_LOCATION_HH
void step()
Reset initial location to final location.
void lines(int count=1)
(line related) Advance to the COUNT next lines.
std::string * filename
File name to which this position refers.
unsigned int line
Current line number.
position end
End of the located region.
void initialize(std::string *fn)
Initialization.
void columns(unsigned int count=1)
Extend the current location to the COUNT next columns.
position begin
Beginning of the located region.
void lines(unsigned int count=1)
Extend the current location to the COUNT next lines.
void initialize(std::string *fn)
Initialization.
location()
Construct a location.
unsigned int column
Current column number.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jul 28 2020 00:00:00 by
doxygen 1.8.18 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.