|
TuringSim
C++ framework to simulate abstract computing models
|
12 template <
typename SymbolType_,
typename Context_>
52 template <
typename SymbolType_>
SymbolPattern & operator=(SymbolPattern &&)=default
The default move assignment operator.
SymbolPattern()=default
The default constructor.
SymbolPattern(const SymbolPattern &)=default
The default copy constructor.
SymbolType_ SymbolType
The type of symbols.
The namespace for symbol patterns.
void Context
void, for compatibility with the regular case.
SymbolPattern()=default
The default constructor.
Context_ Context
The type of context.
virtual ~SymbolPattern()=default
The default virtual destructor.
SymbolPattern(const SymbolPattern &)=default
The default copy constructor.
SymbolPattern & operator=(const SymbolPattern &)=default
The default copy assignment operator.
virtual bool match(const SymbolType &symbol) const noexcept=0
Test whether a symbol match the pattern.
virtual bool match(const SymbolType &symbol, const Context &context) const noexcept=0
Test whether a symbol match the pattern, given a context.
Base class to store any symbol pattern on one letter.
SymbolPattern(SymbolPattern &&)=default
The default move constructor.
SymbolType_ SymbolType
The type of symbols.
SymbolPattern(SymbolPattern &&)=default
The default move constructor.
SymbolPattern & operator=(SymbolPattern &&)=default
The default move assignment operator.
virtual ~SymbolPattern()=default
The default virtual destructor.
SymbolPattern & operator=(const SymbolPattern &)=default
The default copy assignment operator.