faudes::Lr1ParserActionElement Class Reference

Lr1ParserActionElement. More...

#include <pd_parser.h>

Public Member Functions

 Lr1ParserActionElement (const std::vector< Idx > &stateStack, const Terminal &terminal)
 Constructor.
std::vector< Idx > const & StateStack () const
 Getter for mStateStack.
Terminal const & NextTerminal () const
 Getter for mTerminal.
bool operator< (const Lr1ParserActionElement &other) const
 < operator
std::string Str () const
 To String function.

Public Attributes

std::vector< IdxmStateStack
Terminal mNextTerminal

Detailed Description

Lr1ParserActionElement.

Overview

Overview

Contents

Contents

Definition at line 199 of file pd_parser.h.

Constructor & Destructor Documentation

faudes::Lr1ParserActionElement::Lr1ParserActionElement ( const std::vector< Idx > &  stateStack,
const Terminal terminal 
)
inline

Constructor.

Parameters
stateStackstack of states
terminalterminal

Definition at line 214 of file pd_parser.h.

Member Function Documentation

Terminal const& faudes::Lr1ParserActionElement::NextTerminal ( ) const
inline

Getter for mTerminal.

Returns
mTerminal

Definition at line 230 of file pd_parser.h.

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

< operator

Parameters
othercmp
Returns
true if this < cmp, else false

Definition at line 166 of file pd_parser.cpp.

std::vector<Idx> const& faudes::Lr1ParserActionElement::StateStack ( ) const
inline

Getter for mStateStack.

Returns
mStateStack

Definition at line 222 of file pd_parser.h.

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

To String function.

Definition at line 186 of file pd_parser.cpp.

Member Data Documentation

Terminal faudes::Lr1ParserActionElement::mNextTerminal

Definition at line 204 of file pd_parser.h.

std::vector<Idx> faudes::Lr1ParserActionElement::mStateStack

Definition at line 203 of file pd_parser.h.


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

libFAUDES 2.24g --- 2014.09.15 --- c++ api documentaion by doxygen