DynGenPar
Dynamic Generalized Parser
Public Member Functions | Public Attributes
DynGenPar::ConstrainedMultiPrediction Struct Reference

multi-token predictions with next token constraints More...

List of all members.

Public Member Functions

 ConstrainedMultiPrediction ()
 dummy default constructor for bindings
 ConstrainedMultiPrediction (const QList< Cat > &fullLit, CatArg c)
 ConstrainedMultiPrediction (const QList< Cat > &fullLit, CatArg c, NextTokenConstraints ntc)
bool operator== (const ConstrainedMultiPrediction &other) const
 needed for QList, QMultiHash

Public Attributes

QList< CatfullLiteral
 the entire literal completed by the prediction
Cat cat
 the nonterminal generating the literal / the nonterminal itself
NextTokenConstraints nextTokenConstraints
 only for nonterminals

Detailed Description

multi-token predictions with next token constraints

Definition at line 195 of file dyngenpar.h.


Constructor & Destructor Documentation

DynGenPar::ConstrainedMultiPrediction::ConstrainedMultiPrediction ( ) [inline]

dummy default constructor for bindings

Definition at line 197 of file dyngenpar.h.

DynGenPar::ConstrainedMultiPrediction::ConstrainedMultiPrediction ( const QList< Cat > &  fullLit,
CatArg  c 
) [inline]

Definition at line 199 of file dyngenpar.h.

DynGenPar::ConstrainedMultiPrediction::ConstrainedMultiPrediction ( const QList< Cat > &  fullLit,
CatArg  c,
NextTokenConstraints  ntc 
) [inline]

Definition at line 201 of file dyngenpar.h.


Member Function Documentation

bool DynGenPar::ConstrainedMultiPrediction::operator== ( const ConstrainedMultiPrediction other) const [inline]

needed for QList, QMultiHash

Definition at line 209 of file dyngenpar.h.


Member Data Documentation

the nonterminal generating the literal / the nonterminal itself

Definition at line 205 of file dyngenpar.h.

the entire literal completed by the prediction

Definition at line 204 of file dyngenpar.h.

only for nonterminals

Definition at line 206 of file dyngenpar.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines