Files | |
| file | ast-tools.cc |
| unparse helper tools | |
| file | ast-tools.h |
| unparse helper tools | |
| file | debug.cc |
| debugging tools | |
| file | debug.h |
| debugging tools | |
| file | helpers.cc |
| helper functions | |
Defines | |
| #define | ENTER(prefix) |
| prints the function name | |
| #define | LEAVE(prefix) |
| prints the function name | |
Enumerations | |
| enum | trace_level { TRACE_ERROR, TRACE_ALWAYS, TRACE_WARNINGS, TRACE_INFORMATION, TRACE_DEBUG, TRACE_VERY_DEBUG } |
| trace levels More... | |
| enum | error_level { ERRORLEVEL_NOTICE, ERRORLEVEL_SYNTAX, ERRORLEVER_WARNING, ERRORLEVEL_ERROR, ERRORLEVEL_CRITICAL } |
| error levels More... | |
Functions | |
| string | inString () |
| returns a string used for identation. | |
| void | header (int id, bool myindent) |
| prints name of activity that is unparsed | |
| void | header (kc::integer id, bool myindent) |
| prints name of activity that is unparsed | |
| void | footer (int id, bool myindent) |
| prints name of activity that is unparsed | |
| void | footer (kc::integer id, bool myindent) |
| prints name of activity that is unparsed | |
| void | in () |
| adds whitespace to indent output | |
| void | inup () |
| increases indention# | |
| void | indown () |
| decreases indention | |
| void | trace (trace_level pTraceLevel, string message) |
| traces a string to the log stream | |
| void | trace (string message) |
| traces a string to the log stream | |
| int | frontend_owfn_error (const char *msg) |
| signal a syntax error | |
| void | SAerror (unsigned int code, string information, int lineNumber) |
| prints static analysis error messages | |
| void | SAerror (unsigned int code, string information, string lineNumber) |
| prints static analysis error messages | |
| void | error () |
| calls cleanup() then exits | |
| void | cleanup () |
| closes all open files and delete all pointers | |
Variables | |
| trace_level | debug_level = TRACE_ALWAYS |
| debug level | |
1.5.2