Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <PrefixRankedExtendedPattern.h>
Static Public Member Functions | |
static bool | available (const tree::PrefixRankedExtendedPattern< SymbolType > &pattern, const common::ranked_symbol< SymbolType > &symbol) |
static void | valid (const tree::PrefixRankedExtendedPattern< SymbolType > &pattern, const common::ranked_symbol< SymbolType > &symbol) |
Helper class specifying constraints for the pattern's internal subtree wildcard element.
SymbolType | used for the symbol part of the ranked symbols of the alphabet of the pattern. |
|
inlinestatic |
Determines whether the symbol is available in the pattern's alphabet.
pattern | the tested pattern |
symbol | the tested symbol |
|
inlinestatic |
Subtree wildcard needs to have zero arity. Also subtree wildcard may not already be a node wildcard.
pattern | the tested pattern |
symbol | the tested symbol |
TreeException | if the symbol does not have zero arity or it is a node wildcard |