faudes::GrammarProduction Class Reference
|
Public Member Functions | |
GrammarProduction (const Nonterminal &lhs, const GrammarSymbolVector &rhs) | |
Constructor. | |
Nonterminal const & | Lhs () const |
Getter for mLhs. | |
GrammarSymbolVector const & | Rhs () const |
Getter for mRhs. | |
std::string | Str () const |
To String function. | |
bool | operator< (const GrammarProduction &other) const |
< operator | |
Public Attributes | |
Nonterminal | mLhs |
Nonterminal left hand side. | |
GrammarSymbolVector | mRhs |
Right hand side, can contain both Terminals and Nonterminals. |
Grammar Production.
Overview
Contents
Definition at line 303 of file pd_grammar.h.
faudes::GrammarProduction::GrammarProduction | ( | const Nonterminal & | lhs, | |
const GrammarSymbolVector & | rhs | |||
) | [inline] |
Constructor.
Definition at line 315 of file pd_grammar.h.
Nonterminal const& faudes::GrammarProduction::Lhs | ( | ) | const [inline] |
bool faudes::GrammarProduction::operator< | ( | const GrammarProduction & | other | ) | const |
< operator
other | cmp |
Definition at line 211 of file pd_grammar.cpp.
GrammarSymbolVector const& faudes::GrammarProduction::Rhs | ( | ) | const [inline] |
std::string faudes::GrammarProduction::Str | ( | void | ) | const |
To String function.
Definition at line 201 of file pd_grammar.cpp.
Nonterminal left hand side.
Definition at line 308 of file pd_grammar.h.
Right hand side, can contain both Terminals and Nonterminals.
Definition at line 310 of file pd_grammar.h.
libFAUDES 2.23h --- 2014.04.03 --- c++ api documentaion by doxygen