faudes::Lr1ParserAction Class Reference
[Pushdown PlugIn]

Lr1ParserAction. More...

#include <pd_parser.h>

List of all members.

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

Detailed Description

Lr1ParserAction.

Overview

Overview

Contents

Contents

Definition at line 261 of file pd_parser.h.


Constructor & Destructor Documentation

faudes::Lr1ParserAction::Lr1ParserAction ( const Lr1ParserActionElement lhs,
const Lr1ParserActionElement rhs 
) [inline]

Constructor for shift actions.

Parameters:
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.

Parameters:
lhs lhs
rhs rhs
production grammar production that causes this rule

Definition at line 290 of file pd_parser.h.


Member Function Documentation

Lr1ParserActionElement const& faudes::Lr1ParserAction::Lhs (  )  const [inline]

Getter for mLhs.

Returns:
mLhs

Definition at line 298 of file pd_parser.h.

bool faudes::Lr1ParserAction::operator< ( const Lr1ParserAction other  )  const

< operator

Parameters:
other cmp
Returns:
true if this < cmp, else false

Definition at line 205 of file pd_parser.cpp.

Lr1ParserActionElement const& faudes::Lr1ParserAction::Rhs (  )  const [inline]

Getter for mRhs.

Returns:
mRhs

Definition at line 306 of file pd_parser.h.

std::string faudes::Lr1ParserAction::Str ( void   )  const

To String function.

Definition at line 212 of file pd_parser.cpp.


Member Data Documentation

Definition at line 268 of file pd_parser.h.


The documentation for this class was generated from the following files:

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