![]() |
Qt 6.x
The Qt SDK
|
#include <cppgenerator.h>
Public Member Functions | |
CppGenerator (const Recognizer &p, Grammar &grammar, Automaton &aut, bool verbose) | |
void | operator() () |
bool | debugInfo () const |
void | setDebugInfo (bool d) |
void | setCopyright (bool t) |
void | setWarningsAreErrors (bool e) |
Definition at line 14 of file cppgenerator.h.
|
inline |
Definition at line 17 of file cppgenerator.h.
|
inline |
Definition at line 28 of file cppgenerator.h.
void CppGenerator::operator() | ( | ) |
Definition at line 81 of file cppgenerator.cpp.
References ACTION, Grammar::TokenInfo::assoc, Qt::endl(), GOTO, i, Automaton::id(), item, j, Grammar::Left, Automaton::lookaheads, Grammar::NonAssoc, out, Grammar::TokenInfo::prec, Q_ASSERT, qerr(), qMax(), qout(), qPrintable, QString::replace(), QList< T >::resize(), Grammar::Right, rule, state, Automaton::states, QString::toUpper(), QMap< Key, T >::value(), and QIODeviceBase::WriteOnly.
|
inline |
Definition at line 31 of file cppgenerator.h.
Referenced by main().
|
inline |
Definition at line 29 of file cppgenerator.h.
References d.
Referenced by main().
|
inline |
Definition at line 33 of file cppgenerator.h.
References e.
Referenced by main().