|
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 | |
| Cfg (const RuleSet &r, const TokenSet &t, CatArg sc) | |
| bool | isToken (CatArg cat) const |
| void | addToken (CatArg cat) |
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 163 of file dyngenpar.h.
| DynGenPar::Cfg::Cfg | ( | ) | [inline] |
dummy default constructor for bindings
Definition at line 165 of file dyngenpar.h.
Definition at line 166 of file dyngenpar.h.
| void DynGenPar::Cfg::addToken | ( | CatArg | cat | ) | [inline] |
Definition at line 172 of file dyngenpar.h.
| bool DynGenPar::Cfg::isToken | ( | CatArg | cat | ) | const [inline] |
Definition at line 171 of file dyngenpar.h.
Definition at line 168 of file dyngenpar.h.
Definition at line 170 of file dyngenpar.h.
Definition at line 169 of file dyngenpar.h.
1.7.4