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

Constructor & Destructor Documentation

◆ Node() [1/3]

DynGenPar::Node::Node ( )

error node

Definition at line 318 of file dyngenpar.h.

◆ Node() [2/3]

DynGenPar::Node::Node ( CatArg  c)

Definition at line 319 of file dyngenpar.h.

◆ Node() [3/3]

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

Definition at line 320 of file dyngenpar.h.

Member Function Documentation

◆ operator==()

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

needed for QList

Definition at line 327 of file dyngenpar.h.

Member Data Documentation

◆ cat

Cat DynGenPar::Node::cat

Definition at line 323 of file dyngenpar.h.

◆ children

QList<Alternative> DynGenPar::Node::children

Definition at line 325 of file dyngenpar.h.

◆ data

QVariant DynGenPar::Node::data

Definition at line 324 of file dyngenpar.h.

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