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

node in the parse tree More...

Public Member Functions

 Node ()
 error node More...
 
 Node (CatArg c)
 
 Node (CatArg c, const QVariant &d)
 
bool operator== (const Node &other) const
 needed for QList More...
 

Public Attributes

Cat cat
 
QVariant data
 
QList< Alternativechildren
 

Detailed Description

node in the parse tree

Definition at line 320 of file dyngenpar.h.

Constructor & Destructor Documentation

◆ Node() [1/3]

DynGenPar::Node::Node ( )
inline

error node

Definition at line 321 of file dyngenpar.h.

◆ Node() [2/3]

DynGenPar::Node::Node ( CatArg  c)
inline

Definition at line 322 of file dyngenpar.h.

◆ Node() [3/3]

DynGenPar::Node::Node ( CatArg  c,
const QVariant &  d 
)
inline

Definition at line 323 of file dyngenpar.h.

Member Function Documentation

◆ operator==()

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

needed for QList

Definition at line 330 of file dyngenpar.h.

Member Data Documentation

◆ cat

Cat DynGenPar::Node::cat

Definition at line 326 of file dyngenpar.h.

◆ children

QList<Alternative> DynGenPar::Node::children

Definition at line 328 of file dyngenpar.h.

◆ data

QVariant DynGenPar::Node::data

Definition at line 327 of file dyngenpar.h.


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