DynGenPar
Dynamic Generalized Parser
Public Member Functions | Public Attributes | List of all members
DynGenPar::ConstrainedMultiPrediction Struct Reference

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

Public Member Functions

 ConstrainedMultiPrediction ()
 dummy default constructor for bindings More...
 
 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 More...
 

Public Attributes

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

Detailed Description

multi-token predictions with next token constraints

Definition at line 236 of file dyngenpar.h.

Constructor & Destructor Documentation

◆ ConstrainedMultiPrediction() [1/3]

DynGenPar::ConstrainedMultiPrediction::ConstrainedMultiPrediction ( )
inline

dummy default constructor for bindings

Definition at line 238 of file dyngenpar.h.

◆ ConstrainedMultiPrediction() [2/3]

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

Definition at line 240 of file dyngenpar.h.

◆ ConstrainedMultiPrediction() [3/3]

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

Definition at line 242 of file dyngenpar.h.

Member Function Documentation

◆ operator==()

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

needed for QList, QMultiHash

Definition at line 250 of file dyngenpar.h.

Member Data Documentation

◆ cat

Cat DynGenPar::ConstrainedMultiPrediction::cat

the nonterminal generating the literal / the nonterminal itself

Definition at line 246 of file dyngenpar.h.

◆ fullLiteral

QList<Cat> DynGenPar::ConstrainedMultiPrediction::fullLiteral

the entire literal completed by the prediction

Definition at line 245 of file dyngenpar.h.

◆ nextTokenConstraints

NextTokenConstraints DynGenPar::ConstrainedMultiPrediction::nextTokenConstraints

only for nonterminals

Definition at line 247 of file dyngenpar.h.


The documentation for this struct was generated from the following file: