DynGenPar
Dynamic Generalized Parser
Public Member Functions | Public Attributes
DynGenPar::Term Struct Reference

term in the expression of a component of a PMCFG function More...

List of all members.

Public Member Functions

 Term ()
 dummy default constructor for bindings
 Term (int a, int c)
 Term (CatArg t)
bool isComponent () const
bool isToken () const
bool operator== (const Term &other) const
 needed for QList

Public Attributes

int arg
int component
Cat token

Detailed Description

term in the expression of a component of a PMCFG function

Definition at line 817 of file dyngenpar.h.


Constructor & Destructor Documentation

DynGenPar::Term::Term ( ) [inline]

dummy default constructor for bindings

Definition at line 819 of file dyngenpar.h.

DynGenPar::Term::Term ( int  a,
int  c 
) [inline]

Definition at line 820 of file dyngenpar.h.

DynGenPar::Term::Term ( CatArg  t) [inline]

Definition at line 821 of file dyngenpar.h.


Member Function Documentation

bool DynGenPar::Term::isComponent ( ) const [inline]

Definition at line 827 of file dyngenpar.h.

bool DynGenPar::Term::isToken ( ) const [inline]

Definition at line 828 of file dyngenpar.h.

bool DynGenPar::Term::operator== ( const Term other) const [inline]

needed for QList

Definition at line 830 of file dyngenpar.h.


Member Data Documentation

Definition at line 822 of file dyngenpar.h.

Definition at line 822 of file dyngenpar.h.

This is supposed to be a token in a standard PMCFG, though in the implementation, any context-free category will work.

Definition at line 826 of file dyngenpar.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines