Library constructor.
89 util::dbg_info(
"default C++ stack trace parser/highlighter initialized");
93 catch (exception &x) {
97 catch (std::exception &x) {
#define HLT_NUMBER_FG
Highlighter color for numbers (any base)
#define HLT_KEYWORD_FG
Highlighter color for C++ keywords.
virtual style & set_attr_enabled(attrset_t, bool)
Enable/disable a set of text formatting attributes.
virtual style * clone() const
Object virtual copy constructor.
virtual style & set_fgcolor(color_t)
Set the foreground color.
#define HLT_FILE_FG
Highlighter color for C++ files.
static parser * m_default
Default parser.
#define HLT_TYPE_FG
Highlighter color for C++ intrinsic types.
virtual style & set_name(const i8 *)
Set the style name.
virtual style * add_style(const i8 *, color_t, color_t, attrset_t)
Add a style to the parser/highlighter.
static const i8 * prefix()
Get the library installation prefix.
#define HLT_SCOPE_FG
Highlighter color for C++ ABI scopes.
#define HLT_FUNCTION_FG
Highlighter color for C++ function names.
virtual dictionary * add_dictionary(const i8 *, const i8 *, bool)
Add a dictionary to the parser.
parser()
Object default constructor.
static void dbg_info(const i8 *,...)
Print an informational debug message on the standard error stream.
static style * m_fallback
Shared fallback style.