Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
Represents bar symbol used in tree linearization. More...
#include <BarSymbol.h>
Public Member Functions | |
BarSymbol () | |
Creates a new instance of the symbol. More... | |
std::strong_ordering | operator<=> (const BarSymbol &) const |
bool | operator== (const BarSymbol &) const |
Static Public Member Functions | |
template<typename Base > | |
static Base | instance () |
Factory for the symbol construction of the symbol based on given type. More... | |
Friends | |
ext::ostream & | operator<< (ext::ostream &out, const BarSymbol &instnace) |
Represents bar symbol used in tree linearization.
|
explicitdefault |
Creates a new instance of the symbol.
|
inlinestatic |
Factory for the symbol construction of the symbol based on given type.
|
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.
os | ostream where to print |
instance | object to print |