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

An object representing a CFG (or a PMCFG in our internal representation) More...

List of all members.

Public Member Functions

 Cfg ()
 dummy default constructor for bindings
 Cfg (const RuleSet &r, const TokenSet &t, CatArg sc)
bool isToken (CatArg cat) const
void addToken (CatArg cat)

Public Attributes

RuleSet rules
TokenSet tokens
Cat startCat

Detailed Description

An object representing a CFG (or a PMCFG in our internal representation)

This allows passing it around more easily and loading it into the parser in one step.

Definition at line 163 of file dyngenpar.h.


Constructor & Destructor Documentation

DynGenPar::Cfg::Cfg ( ) [inline]

dummy default constructor for bindings

Definition at line 165 of file dyngenpar.h.

DynGenPar::Cfg::Cfg ( const RuleSet r,
const TokenSet t,
CatArg  sc 
) [inline]

Definition at line 166 of file dyngenpar.h.


Member Function Documentation

void DynGenPar::Cfg::addToken ( CatArg  cat) [inline]

Definition at line 172 of file dyngenpar.h.

bool DynGenPar::Cfg::isToken ( CatArg  cat) const [inline]

Definition at line 171 of file dyngenpar.h.


Member Data Documentation

Definition at line 168 of file dyngenpar.h.

Definition at line 170 of file dyngenpar.h.

Definition at line 169 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