pd_grammar.h File Reference

#include "corefaudes.h"
#include "pd_pdgenerator.h"
#include <tr1/memory>

Go to the source code of this file.

Classes

class  faudes::GrammarSymbol
 Grammar Symbol. More...
class  faudes::Terminal
 Terminal. More...
class  faudes::Nonterminal
 Nonterminals are constructed from two states and a stack symbol or one state and a stack symbol. More...
struct  faudes::GsVectorComparator
struct  faudes::GsComparator
class  faudes::GrammarProduction
 Grammar Production. More...
class  faudes::Grammar
 Grammar. More...

Namespaces

namespace  faudes
 

libFAUDES resides within the namespace faudes.


Typedefs

typedef std::tr1::shared_ptr
< GrammarSymbol > 
faudes::GrammarSymbolPtr
typedef std::tr1::shared_ptr
< const GrammarSymbol > 
faudes::ConstGrammarSymbolPtr
typedef std::tr1::shared_ptr
< Nonterminal > 
faudes::NonterminalPtr
typedef std::tr1::shared_ptr
< const Nonterminal > 
faudes::ConstNonterminalPtr
typedef std::tr1::shared_ptr
< Terminal > 
faudes::TerminalPtr
typedef std::tr1::shared_ptr
< const Terminal > 
faudes::ConstTerminalPtr
typedef std::vector
< GrammarSymbolPtr > 
faudes::GrammarSymbolVector
typedef std::set
< GrammarSymbolPtr,
GsComparator > 
faudes::GrammarSymbolSet
typedef std::set
< GrammarSymbolVector,
GsVectorComparator > 
faudes::GrammarSymbolWordSet
typedef std::map
< GrammarSymbolVector,
std::set< Terminal >
, GsVectorComparator > 
faudes::GrammarSymbolWordMap

Functions

bool faudes::CompareGsVector (const GrammarSymbolVector &lhs, const GrammarSymbolVector &rhs)
bool faudes::EqualsGsVector (const GrammarSymbolVector &lhs, const GrammarSymbolVector &rhs)
bool faudes::CompareGs (const GrammarSymbolPtr &lhs, const GrammarSymbolPtr &rhs)
bool faudes::ContainsWord (const GrammarSymbolWordSet &set, const GrammarSymbolVector &word)
 Test if a given set of words contains a specific word.

libFAUDES 2.23h --- 2014.04.03 --- c++ api documentaion by doxygen