23 template <
class SymbolType >
25 template <
class SymbolType >
29template <
class SymbolType >
39 nonlinearVariables.insert ( nonlinearVariable );
42 bool isWildcard =
false;
46 return alphabet::NodeWildcardSymbol::instance < SymbolType > ( );
57 unsigned rank = ext::from_string < unsigned > ( token.value );
64 for (
unsigned i = 0;
i < rank;
i++ )
71template <
class SymbolType >
99 nonlinearVariables.insert ( nonlinearVariable );
104 isExtendedPattern =
true;
106 return alphabet::NodeWildcardSymbol::instance < SymbolType > ( );
119 childs.emplace_back ( parseUnrankedContent < SymbolType > ( input, isPattern, isExtendedPattern, nonlinearVariables ) );
Represents the nonlinear variable symbol used in a nonlinear tree pattern.
Definition: NonlinearVariableSymbol.h:36
Definition: ranked_symbol.hpp:20
Basic exception from which all other exceptions are derived.
Definition: CommonException.h:21
static void putback(ext::istream &input, const Token &token)
Definition: lexer.hpp:61
Class introducing a tree with interface trying to be close to the interface of standard library conta...
Definition: tree.hpp:52
Class extending the vector class from the standard library. Original reason is to allow printing of t...
Definition: vector.hpp:45
static Token next(ext::istream &input)
Definition: TreeFromStringLexer.cpp:10
Definition: TreeFromStringParserCommon.h:21
static ext::tree< common::ranked_symbol< SymbolType > > parseRankedContent(ext::istream &input, bool &isPattern, ext::set< common::ranked_symbol< SymbolType > > &nonlinearVariables, ext::set< common::ranked_symbol< SymbolType > > &nodeWildcards)
Definition: TreeFromStringParserCommon.h:30
static ext::tree< SymbolType > parseUnrankedContent(ext::istream &input, bool &isPattern, bool &isExtendedPattern, ext::set< SymbolType > &nonlinearVariables)
Definition: TreeFromStringParserCommon.h:72
int i
Definition: AllEpsilonClosure.h:118
typename T::SymbolType SymbolType
Definition: ReachableStates.h:176
Definition: BackwardOccurrenceTest.h:17
Definition: stringApi.hpp:26