Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
Represents the common part of SubstitutionSymbol and TerminalSymbol. More...
#include <FormalRTESymbol.h>
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 () && |
Represents the common part of SubstitutionSymbol and TerminalSymbol.
SymbolType | used for the symbol part of the ranked symbol |
rte::FormalRTESymbol< SymbolType >::FormalRTESymbol | ( | common::ranked_symbol< SymbolType > | symbol | ) |
Creates a new instance of the symbol node using the actual symbol to represent.
symbol | the value of the represented symbol |
common::ranked_symbol< SymbolType > && rte::FormalRTESymbol< SymbolType >::getSymbol | ( | ) | && |
Getter of the symbol.
const common::ranked_symbol< SymbolType > & rte::FormalRTESymbol< SymbolType >::getSymbol | ( | ) | const & |
Getter of the symbol.