Deprecated, do not use! More...

#include <pd_basics.h>

Public Member Functions

 StackSymbol (void)
 Constructor.
 StackSymbol (std::string symbol)
 Constructor.
const std::string & Symbol () const
 Getter for mSymbol.
void Write (TokenWriter &tw) const
 Write to TokenWriter.
void Write (TokenWriter &tw, const std::string &rLabel) const
 Write to TokenWriter with a given label.
bool operator!= (const StackSymbol &other) const
 Test inequality with other stack symbol.
bool operator== (const StackSymbol &other) const
 Test equality with other stack symbol.
bool operator< (const StackSymbol &other) const
 Test equality with other stack symbol.
bool IsLambda () const
 Test if stack symbol is lambda.
std::string ToString () const
 Write mSymbol to string.
bool Empty () const
 Tests if mSymbol is an empty String ("")

Public Attributes

std::string mSymbol

Detailed Description

Deprecated, do not use!

Overview

Overview

Contents

Contents

Definition at line 129 of file pd_basics.h.

Constructor & Destructor Documentation

faudes::StackSymbol::StackSymbol ( void  )
inline

Constructor.

Definition at line 138 of file pd_basics.h.

faudes::StackSymbol::StackSymbol ( std::string  symbol)
inline

Constructor.

Parameters
symbolname to set

Definition at line 145 of file pd_basics.h.

Member Function Documentation

bool faudes::StackSymbol::Empty ( void  ) const

Tests if mSymbol is an empty String ("")

Returns
true if mSymbol is an emptry String, else false

Definition at line 126 of file pd_basics.cpp.

bool faudes::StackSymbol::IsLambda ( ) const

Test if stack symbol is lambda.

Returns
True if mSymbol is lambda, else false

Definition at line 116 of file pd_basics.cpp.

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

Test inequality with other stack symbol.

Parameters
otherstack symbol to compare with
Returns
True if mSymbol is not the same, else false

Definition at line 98 of file pd_basics.cpp.

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

Test equality with other stack symbol.

Parameters
otherstack symbol to compare with
Returns
True if mSymbol is the same, else false

Definition at line 110 of file pd_basics.cpp.

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

Test equality with other stack symbol.

Parameters
otherstack symbol to compare with
Returns
True if mSymbol is the same, else false

Definition at line 104 of file pd_basics.cpp.

const std::string& faudes::StackSymbol::Symbol ( ) const
inline

Getter for mSymbol.

Returns
mSymbol

Definition at line 153 of file pd_basics.h.

std::string faudes::StackSymbol::ToString ( void  ) const

Write mSymbol to string.

Returns
mSymbol as String

Definition at line 122 of file pd_basics.cpp.

void faudes::StackSymbol::Write ( TokenWriter tw) const

Write to TokenWriter.

Currently not used!

Parameters
twReference to TokenWriter
Exceptions
std::ios::failureThrown on i/o error.

Definition at line 81 of file pd_basics.cpp.

void faudes::StackSymbol::Write ( TokenWriter tw,
const std::string &  rLabel 
) const

Write to TokenWriter with a given label.

Parameters
twReference to TokenWriter
rLabelLabel for set in file
Exceptions
std::ios::failureThrown on i/o error.

Definition at line 85 of file pd_basics.cpp.

Member Data Documentation

std::string faudes::StackSymbol::mSymbol

Definition at line 133 of file pd_basics.h.


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

libFAUDES 2.28c --- 2016.09.30 --- c++ api documentaion by doxygen