DynGenPar
Dynamic Generalized Parser
|
An object representing a CFG (or a PMCFG in our internal representation) More...
Public Member Functions | |
Cfg () | |
dummy default constructor for bindings More... | |
Cfg (const RuleSet &r, const TokenSet &t, CatArg sc) | |
bool | isToken (CatArg cat) const |
void | addToken (CatArg cat) |
QDataStream & | writeExternal (QDataStream &stream) const |
implementation of the QDataStream operator<< More... | |
QDataStream & | readExternal (QDataStream &stream) |
implementation of the QDataStream operator>> More... | |
Public Attributes | |
RuleSet | rules |
TokenSet | tokens |
Cat | startCat |
An object representing a CFG (or a PMCFG in our internal representation)
This allows passing it around more easily and loading it into the parser in one step.
Definition at line 193 of file dyngenpar.h.
|
inline |
dummy default constructor for bindings
Definition at line 195 of file dyngenpar.h.
Definition at line 196 of file dyngenpar.h.
|
inline |
Definition at line 202 of file dyngenpar.h.
|
inline |
Definition at line 201 of file dyngenpar.h.
|
inline |
implementation of the QDataStream operator>>
Definition at line 208 of file dyngenpar.h.
|
inline |
implementation of the QDataStream operator<<
Definition at line 204 of file dyngenpar.h.
RuleSet DynGenPar::Cfg::rules |
Definition at line 198 of file dyngenpar.h.
Cat DynGenPar::Cfg::startCat |
Definition at line 200 of file dyngenpar.h.
TokenSet DynGenPar::Cfg::tokens |
Definition at line 199 of file dyngenpar.h.