Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <RegExpDerivation.h>
Static Public Member Functions | |
template<class SymbolType > | |
static regexp::FormalRegExp< SymbolType > | derivation (const regexp::FormalRegExp< SymbolType > ®exp, const string::LinearString< SymbolType > &string) |
template<class SymbolType > | |
static regexp::UnboundedRegExp< SymbolType > | derivation (const regexp::UnboundedRegExp< SymbolType > ®exp, const string::LinearString< SymbolType > &string) |
template<class SymbolType > | |
static regexp::FormalRegExp< SymbolType > | derivation (const regexp::FormalRegExp< SymbolType > ®exp, const SymbolType &symbol) |
template<class SymbolType > | |
static regexp::UnboundedRegExp< SymbolType > | derivation (const regexp::UnboundedRegExp< SymbolType > ®exp, const SymbolType &symbol) |
Calculates derivation of regular expression.
Sources:
|
static |
Implements derivation of regular expression by a symbol sequence.
SymbolType | the type of symbols in the regular expression |
regexp | the regexp to derivate |
string | the sequence of symbols to derivate by |
|
static |
Implements derivation of regular expression by a symbol.
SymbolType | the type of symbols in the regular expression |
regexp | the regexp to derivate |
symbol | the symbol to derivate by |
|
static |
\override
|
static |
\override