The DebugLex
Class Reference
Declaration
class DebugLex { ... }
Included Headers
#include <src/debug.h>
Public Constructors Index
DebugLex (Debug::DebugMask mask, const char *lexName, const char *fileName) | |
Public Destructor Index
~DebugLex () | |
Private Member Attributes Index
Debug::DebugMask | m_mask |
QCString | m_lexName |
QCString | m_fileName |
Public Static Functions Index
static void | print (Debug::DebugMask mask, const char *state, const char *lexName, const char *fileName) |
Definition at line 96 of file debug.h.
Public Constructors
DebugLex()
|
Declaration at line 99 of file debug.h, definition at line 146 of file debug.cpp.
146DebugLex::DebugLex(Debug::DebugMask mask,const char *lexName,const char *fileName) : m_mask(mask), m_lexName(lexName), m_fileName(fileName)
147{
149}
References m_fileName, m_lexName, m_mask, print and qPrint.
Public Destructor
~DebugLex()
Private Member Attributes
m_fileName
|
m_lexName
|
m_mask
Public Static Functions
print()
| static |
Declaration at line 102 of file debug.h, definition at line 156 of file debug.cpp.
156void DebugLex::print(Debug::DebugMask mask,const char *state,const char *lexName,const char *fileName)
157{
158 if (fileName && *fileName)
159 {
160 if (Debug::isFlagSet(mask))
161 {
162 fprintf(stderr,"%s lexical analyzer: %s (for: %s)\n",state, lexName, fileName);
163 }
164 }
165 else
166 {
167 if (Debug::isFlagSet(mask))
168 {
169 fprintf(stderr,"%s lexical analyzer: %s\n",state, lexName);
170 }
171 }
172}
Reference Debug::isFlagSet.
Referenced by DebugLex, LayoutDocManager::parse and ~DebugLex.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.