DynGenPar
Dynamic Generalized Parser
Public Member Functions | List of all members
DynGenPar::StackItem Class Reference

Public Member Functions

 StackItem ()
 invalid type More...
 
 StackItem (const QList< StackItem > &parents, CatArg cat, CatArg effCat, int pos, const PseudoCatScope &scope)
 type 0 More...
 
 StackItem (const QList< StackItem > &parents, CatArg cat, CatArg effCat, const PseudoCatScope &scope)
 type 1 More...
 
 StackItem (const StackItem &parent, int dummy)
 type 2 More...
 
 StackItem (const StackItem &parent, const Rule &rule, int len, int curr, int i, const Node &tree, int ruleno, const NextTokenConstraints &nextTokenConstraints)
 type 3 More...
 
 StackItem (const StackItem &parent, CatArg target, int pos, int len)
 type 4 More...
 
 StackItem (const StackItem &parent, CatArg cat, const PseudoCatScope &scope)
 type 5 More...
 
 StackItem (const StackItem &parent, const QList< Node > &leaves, int i, const Node &tree, const PseudoCatScope &scope, const NextTokenConstraints &nextTokenConstraints)
 type 6 More...
 
int type () const
 
int depth () const
 
void addParent (const StackItem &parent)
 
void setParents (const QList< StackItem > &parents)
 
const StackItemDatadata () const
 
bool operator< (const StackItem &other) const
 

Detailed Description

Definition at line 488 of file dyngenpar.h.

Constructor & Destructor Documentation

◆ StackItem() [1/8]

DynGenPar::StackItem::StackItem ( )
inline

invalid type

Definition at line 490 of file dyngenpar.h.

◆ StackItem() [2/8]

DynGenPar::StackItem::StackItem ( const QList< StackItem > &  parents,
CatArg  cat,
CatArg  effCat,
int  pos,
const PseudoCatScope scope 
)
inline

type 0

Definition at line 743 of file dyngenpar.h.

◆ StackItem() [3/8]

DynGenPar::StackItem::StackItem ( const QList< StackItem > &  parents,
CatArg  cat,
CatArg  effCat,
const PseudoCatScope scope 
)
inline

type 1

Definition at line 750 of file dyngenpar.h.

◆ StackItem() [4/8]

DynGenPar::StackItem::StackItem ( const StackItem parent,
int  dummy 
)
inline

type 2

Definition at line 756 of file dyngenpar.h.

◆ StackItem() [5/8]

DynGenPar::StackItem::StackItem ( const StackItem parent,
const Rule rule,
int  len,
int  curr,
int  i,
const Node tree,
int  ruleno,
const NextTokenConstraints nextTokenConstraints 
)
inline

type 3

Definition at line 761 of file dyngenpar.h.

◆ StackItem() [6/8]

DynGenPar::StackItem::StackItem ( const StackItem parent,
CatArg  target,
int  pos,
int  len 
)
inline

type 4

Definition at line 769 of file dyngenpar.h.

◆ StackItem() [7/8]

DynGenPar::StackItem::StackItem ( const StackItem parent,
CatArg  cat,
const PseudoCatScope scope 
)
inline

type 5

Definition at line 775 of file dyngenpar.h.

◆ StackItem() [8/8]

DynGenPar::StackItem::StackItem ( const StackItem parent,
const QList< Node > &  leaves,
int  i,
const Node tree,
const PseudoCatScope scope,
const NextTokenConstraints nextTokenConstraints 
)
inline

type 6

Definition at line 781 of file dyngenpar.h.

Member Function Documentation

◆ addParent()

void DynGenPar::StackItem::addParent ( const StackItem parent)
inline

Definition at line 508 of file dyngenpar.h.

◆ data()

const StackItemData* DynGenPar::StackItem::data ( ) const
inline

Definition at line 510 of file dyngenpar.h.

◆ depth()

int DynGenPar::StackItem::depth ( ) const
inline

Definition at line 507 of file dyngenpar.h.

◆ operator<()

bool DynGenPar::StackItem::operator< ( const StackItem other) const
inline

Definition at line 511 of file dyngenpar.h.

◆ setParents()

void DynGenPar::StackItem::setParents ( const QList< StackItem > &  parents)
inline

Definition at line 509 of file dyngenpar.h.

◆ type()

int DynGenPar::StackItem::type ( ) const
inline

Definition at line 506 of file dyngenpar.h.


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