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 479 of file dyngenpar.h.

Constructor & Destructor Documentation

◆ StackItem() [1/8]

DynGenPar::StackItem::StackItem ( )
inline

invalid type

Definition at line 481 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 734 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 741 of file dyngenpar.h.

◆ StackItem() [4/8]

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

type 2

Definition at line 747 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 752 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 760 of file dyngenpar.h.

◆ StackItem() [7/8]

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

type 5

Definition at line 766 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 772 of file dyngenpar.h.

Member Function Documentation

◆ addParent()

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

Definition at line 499 of file dyngenpar.h.

◆ data()

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

Definition at line 501 of file dyngenpar.h.

◆ depth()

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

Definition at line 498 of file dyngenpar.h.

◆ operator<()

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

Definition at line 502 of file dyngenpar.h.

◆ setParents()

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

Definition at line 500 of file dyngenpar.h.

◆ type()

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

Definition at line 497 of file dyngenpar.h.


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