faudes::Lr1Configuration Class Reference
[Pushdown PlugIn]

Lr1 Configuration. More...

#include <pd_parser.h>

List of all members.

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

Detailed Description

Lr1 Configuration.

Overview

Overview

Contents

Contents

Definition at line 33 of file pd_parser.h.


Constructor & Destructor Documentation

faudes::Lr1Configuration::Lr1Configuration ( const Nonterminal lhs,
const GrammarSymbolVector beforeDot,
const GrammarSymbolVector afterDot,
const Terminal lookahead 
)

Constructor TODO make sure that vectors are not empty.

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


Member Function Documentation

GrammarSymbolVector const& faudes::Lr1Configuration::AfterDot (  )  const [inline]

Getter for mAfterDot.

Returns:
mAfterDot

Definition at line 78 of file pd_parser.h.

GrammarSymbolVector const& faudes::Lr1Configuration::BeforeDot (  )  const [inline]

Getter for mBeforeDot.

Returns:
mBeforeDot

Definition at line 70 of file pd_parser.h.

Nonterminal const& faudes::Lr1Configuration::Lhs (  )  const [inline]

Getter for mLhs.

Returns:
mLhs

Definition at line 62 of file pd_parser.h.

Terminal const& faudes::Lr1Configuration::Lookahead (  )  const [inline]

Getter for mLookahead.

Returns:
mLookahead

Definition at line 86 of file pd_parser.h.

bool faudes::Lr1Configuration::operator!= ( const Lr1Configuration other  )  const

!= operator

Parameters:
other cmp
Returns:
true if this != cmp, else false

Definition at line 57 of file pd_parser.cpp.

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

< operator

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

Definition at line 34 of file pd_parser.cpp.

bool faudes::Lr1Configuration::operator== ( const Lr1Configuration other  )  const

== operator

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

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.


Member Data Documentation


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

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