Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
Represents the nonlinear variable symbol used in a nonlinear tree pattern. More...
#include <NonlinearVariableSymbol.h>
Public Member Functions | |
NonlinearVariableSymbol (SymbolType symbol) | |
Creates a new instance of the nonlinear variable with some underlying base symbol. More... | |
const SymbolType & | getSymbol () const & |
SymbolType && | getSymbol () && |
auto | operator<=> (const NonlinearVariableSymbol &other) const |
bool | operator== (const NonlinearVariableSymbol &other) const |
Friends | |
ext::ostream & | operator<< (ext::ostream &out, const NonlinearVariableSymbol< SymbolType > &instance) |
Represents the nonlinear variable symbol used in a nonlinear tree pattern.
|
explicit |
Creates a new instance of the nonlinear variable with some underlying base symbol.
SymbolType && alphabet::NonlinearVariableSymbol< SymbolType >::getSymbol | ( | ) | && |
Getter of the nonlinear variable's symbol
const SymbolType & alphabet::NonlinearVariableSymbol< SymbolType >::getSymbol | ( | ) | const & |
Getter of the nonlinear variable's symbol
|
inline |
The three way comparison implementation
other | the other instance |
other
.
|
inline |
The equality comparison implementation.
other | the other object to compare with. |
|
friend |
Print this object as raw representation to ostream.
out | ostream where to print |
instance | object to print |