Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Public Member Functions
rte::FormalRTESymbol< SymbolType > Class Template Reference

Represents the common part of SubstitutionSymbol and TerminalSymbol. More...

#include <FormalRTESymbol.h>

Inheritance diagram for rte::FormalRTESymbol< SymbolType >:
[legend]

Public Member Functions

 FormalRTESymbol (common::ranked_symbol< SymbolType > symbol)
 Creates a new instance of the symbol node using the actual symbol to represent. More...
 
const common::ranked_symbol< SymbolType > & getSymbol () const &
 
common::ranked_symbol< SymbolType > && getSymbol () &&
 

Detailed Description

template<class SymbolType>
class rte::FormalRTESymbol< SymbolType >

Represents the common part of SubstitutionSymbol and TerminalSymbol.

Template Parameters
SymbolTypeused for the symbol part of the ranked symbol

Constructor & Destructor Documentation

◆ FormalRTESymbol()

template<class SymbolType >
rte::FormalRTESymbol< SymbolType >::FormalRTESymbol ( common::ranked_symbol< SymbolType >  symbol)

Creates a new instance of the symbol node using the actual symbol to represent.

Parameters
symbolthe value of the represented symbol

Member Function Documentation

◆ getSymbol() [1/2]

template<class SymbolType >
common::ranked_symbol< SymbolType > && rte::FormalRTESymbol< SymbolType >::getSymbol ( ) &&

Getter of the symbol.

Returns
the symbol

◆ getSymbol() [2/2]

template<class SymbolType >
const common::ranked_symbol< SymbolType > & rte::FormalRTESymbol< SymbolType >::getSymbol ( ) const &

Getter of the symbol.

Returns
the symbol
Here is the caller graph for this function:

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