faudes::Terminal Class Reference
[Pushdown PlugIn]

Terminal. More...

#include <pd_grammar.h>

List of all members.

Public Member Functions

 Terminal (const Idx event)
 Constructor.
Idx Event () const
 Getter for event.
bool IsLambda () const
 Determine if the event is lambda.
std::string Str () const
 To String function.
bool operator< (const GrammarSymbol &other) const
 < operator
TerminalClone () const
 Clone function.

Public Attributes

Idx mEvent
 Symbol representing the terminals.

Detailed Description

Terminal.

Overview

Overview

Contents

Contents

Definition at line 92 of file pd_grammar.h.


Constructor & Destructor Documentation

faudes::Terminal::Terminal ( const Idx  event  )  [inline]

Constructor.

Parameters:
event the event

Definition at line 108 of file pd_grammar.h.


Member Function Documentation

Terminal * faudes::Terminal::Clone (  )  const [virtual]

Clone function.

Allocates memory!

Returns:
pointer to cloned Terminal

Implements faudes::GrammarSymbol.

Definition at line 51 of file pd_grammar.cpp.

Idx faudes::Terminal::Event (  )  const [inline]

Getter for event.

Returns:
the event

Definition at line 116 of file pd_grammar.h.

bool faudes::Terminal::IsLambda (  )  const

Determine if the event is lambda.

Returns:
true if it is lambda, else false

Definition at line 39 of file pd_grammar.cpp.

bool faudes::Terminal::operator< ( const GrammarSymbol other  )  const [virtual]

< operator

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

Implements faudes::GrammarSymbol.

Definition at line 45 of file pd_grammar.cpp.

std::string faudes::Terminal::Str ( void   )  const [virtual]

To String function.

Implements faudes::GrammarSymbol.

Definition at line 35 of file pd_grammar.cpp.


Member Data Documentation

Symbol representing the terminals.

Event representing the terminal

Definition at line 99 of file pd_grammar.h.


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

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