faudes::Lr1ParserAction Class Reference
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| Lr1ParserAction (const Lr1ParserActionElement &lhs, const Lr1ParserActionElement &rhs) | |
| Constructor for shift actions. | |
| Lr1ParserAction (const Lr1ParserActionElement &lhs, const Lr1ParserActionElement &rhs, const GrammarProduction production) | |
| Constructor for reduce actions. | |
| Lr1ParserActionElement const & | Lhs () const |
| Getter for mLhs. | |
| Lr1ParserActionElement const & | Rhs () const |
| Getter for mRhs. | |
| bool | operator< (const Lr1ParserAction &other) const |
| < operator | |
| std::string | Str () const |
| To String function. | |
Public Attributes | |
| Lr1ParserActionElement | mLhs |
| Lr1ParserActionElement | mRhs |
| GrammarProduction | mProduction |
| bool | mIsReduce |
Overview
Contents
Definition at line 261 of file pd_parser.h.
| faudes::Lr1ParserAction::Lr1ParserAction | ( | const Lr1ParserActionElement & | lhs, | |
| const Lr1ParserActionElement & | rhs | |||
| ) | [inline] |
Constructor for shift actions.
| lhs | lhs | |
| rhs | rhs |
Definition at line 278 of file pd_parser.h.
| faudes::Lr1ParserAction::Lr1ParserAction | ( | const Lr1ParserActionElement & | lhs, | |
| const Lr1ParserActionElement & | rhs, | |||
| const GrammarProduction | production | |||
| ) | [inline] |
Constructor for reduce actions.
| lhs | lhs | |
| rhs | rhs | |
| production | grammar production that causes this rule |
Definition at line 290 of file pd_parser.h.
| Lr1ParserActionElement const& faudes::Lr1ParserAction::Lhs | ( | ) | const [inline] |
| bool faudes::Lr1ParserAction::operator< | ( | const Lr1ParserAction & | other | ) | const |
< operator
| other | cmp |
Definition at line 205 of file pd_parser.cpp.
| Lr1ParserActionElement const& faudes::Lr1ParserAction::Rhs | ( | ) | const [inline] |
| std::string faudes::Lr1ParserAction::Str | ( | void | ) | const |
To String function.
Definition at line 212 of file pd_parser.cpp.
Definition at line 268 of file pd_parser.h.
Definition at line 265 of file pd_parser.h.
Definition at line 267 of file pd_parser.h.
Definition at line 266 of file pd_parser.h.
libFAUDES 2.23h --- 2014.04.03 --- c++ api documentaion by doxygen