srchilite::FormatterParams Struct Reference
Additional parameters that can be passed to a formatter.
More...
#include <formatterparams.h>
Inheritance diagram for srchilite::FormatterParams:
Collaboration diagram for srchilite::FormatterParams:
Public Member Functions
void setParserInfo (const std::string &name, unsigned int l)
Public Attributes
file name without path
The start position of the string to format within the whole string (line).
More...
std::string filename
unsigned int line
Detailed Description
Additional parameters that can be passed to a formatter.
Constructor & Destructor Documentation
srchilite::FormatterParams::FormatterParams
(
const std::string &
n )
inline
- Parameters
-
the file name (possible path will be stripped)
Member Data Documentation
int srchilite::FormatterParams::start
The start position of the string to format within the whole string (line).
Note that this makes sense only for strings that are not to be formatted as normal. A negative value means "not specified" IMPORTANT: do not use this if formatting optimization is on.
The documentation for this struct was generated from the following file: