faudes::Lr1Configuration Class Reference
|
Public Member Functions | |
Lr1Configuration (const Nonterminal &lhs, const GrammarSymbolVector &beforeDot, const GrammarSymbolVector &afterDot, const Terminal &lookahead) | |
Constructor TODO make sure that vectors are not empty. | |
Nonterminal const & | Lhs () const |
Getter for mLhs. | |
GrammarSymbolVector const & | BeforeDot () const |
Getter for mBeforeDot. | |
GrammarSymbolVector const & | AfterDot () const |
Getter for mAfterDot. | |
Terminal const & | Lookahead () const |
Getter for mLookahead. | |
bool | operator< (const Lr1Configuration &other) const |
< operator | |
bool | operator== (const Lr1Configuration &other) const |
== operator | |
bool | operator!= (const Lr1Configuration &other) const |
!= operator | |
std::string | Str () const |
To String function. | |
Public Attributes | |
Nonterminal | mLhs |
GrammarSymbolVector | mBeforeDot |
GrammarSymbolVector | mAfterDot |
Terminal | mLookahead |
Lr1 Configuration.
Overview
Contents
Definition at line 33 of file pd_parser.h.
faudes::Lr1Configuration::Lr1Configuration | ( | const Nonterminal & | lhs, | |
const GrammarSymbolVector & | beforeDot, | |||
const GrammarSymbolVector & | afterDot, | |||
const Terminal & | lookahead | |||
) |
Constructor TODO make sure that vectors are not empty.
lhs | lefthand side nonterminal | |
beforeDot | before dot grammar symbols | |
afterDot | after dot grammar symbols | |
lookahead | lookahead terminal |
Definition at line 21 of file pd_parser.cpp.
GrammarSymbolVector const& faudes::Lr1Configuration::AfterDot | ( | ) | const [inline] |
GrammarSymbolVector const& faudes::Lr1Configuration::BeforeDot | ( | ) | const [inline] |
Nonterminal const& faudes::Lr1Configuration::Lhs | ( | ) | const [inline] |
Terminal const& faudes::Lr1Configuration::Lookahead | ( | ) | const [inline] |
bool faudes::Lr1Configuration::operator!= | ( | const Lr1Configuration & | other | ) | const |
!= operator
other | cmp |
Definition at line 57 of file pd_parser.cpp.
bool faudes::Lr1Configuration::operator< | ( | const Lr1Configuration & | other | ) | const |
< operator
other | cmp |
Definition at line 34 of file pd_parser.cpp.
bool faudes::Lr1Configuration::operator== | ( | const Lr1Configuration & | other | ) | const |
== operator
other | cmp |
Definition at line 53 of file pd_parser.cpp.
std::string faudes::Lr1Configuration::Str | ( | void | ) | const |
To String function.
Definition at line 61 of file pd_parser.cpp.
Definition at line 39 of file pd_parser.h.
Definition at line 38 of file pd_parser.h.
Definition at line 37 of file pd_parser.h.
Definition at line 40 of file pd_parser.h.
libFAUDES 2.23h --- 2014.04.03 --- c++ api documentaion by doxygen