DynGenPar
Dynamic Generalized Parser
|
rule constraints affecting the next token, for scannerless parsing More...
Public Member Functions | |
bool | operator== (const NextTokenConstraints &other) const |
needed for hash tables More... | |
QDataStream & | writeExternal (QDataStream &stream) const |
implementation of the QDataStream operator<< More... | |
QDataStream & | readExternal (QDataStream &stream) |
implementation of the QDataStream operator>> More... | |
Public Attributes | |
QList< Cat > | expect |
list of context-free categories the next token MUST match More... | |
QList< Cat > | taboo |
list of context-free categories the next token MUST NOT match More... | |
rule constraints affecting the next token, for scannerless parsing
Definition at line 87 of file dyngenpar.h.
|
inline |
needed for hash tables
Definition at line 105 of file dyngenpar.h.
|
inline |
implementation of the QDataStream operator>>
Definition at line 113 of file dyngenpar.h.
|
inline |
implementation of the QDataStream operator<<
Definition at line 109 of file dyngenpar.h.
list of context-free categories the next token MUST match
The categories in this list may be nonterminals or tokens. But they MUST be context-free. In other words, they must not be PMCFG pseudo-categories, and none of the rules used to derive them may contain any PMCFG pseudo-categories or next token constraints. (In particular, it is not possible to nest next token constraints.)
Definition at line 95 of file dyngenpar.h.
list of context-free categories the next token MUST NOT match
The categories in this list may be nonterminals or tokens. But they MUST be context-free. In other words, they must not be PMCFG pseudo-categories, and none of the rules used to derive them may contain any PMCFG pseudo-categories or next token constraints. (In particular, it is not possible to nest next token constraints.)
Definition at line 103 of file dyngenpar.h.