Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <ranked_symbol.hpp>
Public Member Functions | |
ranked_symbol (SymbolType symbol, size_t rank) | |
const SymbolType & | getSymbol () const & |
SymbolType && | getSymbol () && |
const size_t & | getRank () const & |
size_t | getRank () && |
auto | operator<=> (const ranked_symbol &other) const |
bool | operator== (const ranked_symbol &other) const |
ranked_symbol< SymbolType > & | operator++ () |
Represents symbol in an std.
|
explicit |
Creates new symbol with given name and rank.
symbol | name of the symbol |
rank | of the symbol |
size_t common::ranked_symbol< SymbolType >::getRank | ( | ) | && |
const size_t & common::ranked_symbol< SymbolType >::getRank | ( | ) | const & |
SymbolType && common::ranked_symbol< SymbolType >::getSymbol | ( | ) | && |
const SymbolType & common::ranked_symbol< SymbolType >::getSymbol | ( | ) | const & |
|
inline |
|
inline |
|
inline |