Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Public Member Functions | Static Public Member Functions | Friends
alphabet::BottomOfTheStackSymbol Class Reference

Represents bottom of the stack symbol used in the visibly pushdown automata. More...

#include <BottomOfTheStackSymbol.h>

Public Member Functions

 BottomOfTheStackSymbol ()
 Creates a new instance of the symbol. More...
 
std::strong_ordering operator<=> (const BottomOfTheStackSymbol &) const
 
bool operator== (const BottomOfTheStackSymbol &) 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::ostreamoperator<< (ext::ostream &out, const BottomOfTheStackSymbol &instance)
 

Detailed Description

Represents bottom of the stack symbol used in the visibly pushdown automata.

Constructor & Destructor Documentation

◆ BottomOfTheStackSymbol()

alphabet::BottomOfTheStackSymbol::BottomOfTheStackSymbol ( )
explicitdefault

Creates a new instance of the symbol.

Here is the caller graph for this function:

Member Function Documentation

◆ instance()

template<typename Base >
Base alphabet::BottomOfTheStackSymbol::instance
inlinestatic

Factory for the symbol construction of the symbol based on given type.

Here is the call graph for this function:

◆ operator<=>()

std::strong_ordering alphabet::BottomOfTheStackSymbol::operator<=> ( const BottomOfTheStackSymbol ) const
inline

The three way comparison implementation

Parameters
otherthe other instance
Returns
the ordering between this object and the other.

◆ operator==()

bool alphabet::BottomOfTheStackSymbol::operator== ( const BottomOfTheStackSymbol ) const
inline

The equality comparison implementation.

Parameters
otherthe other object to compare with.
Returns
true if this and other objects are equal, false othervise

Friends And Related Function Documentation

◆ operator<<

ext::ostream & operator<< ( ext::ostream out,
const BottomOfTheStackSymbol instance 
)
friend

Print this object as raw representation to ostream.

Parameters
osostream where to print
instanceobject to print
Returns
modified output stream

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