28#include <ext/tree_base>
33template <
class SymbolType >
34class FormalRTEElement;
35template <
class SymbolType >
36class FormalRTEAlternation;
37template <
class SymbolType >
38class FormalRTEIteration;
39template <
class SymbolType >
40class FormalRTESubstitution;
41template <
class SymbolType >
42class FormalRTESymbolSubst;
43template <
class SymbolType >
44class FormalRTESymbolAlphabet;
45template <
class SymbolType >
53template <
class SymbolType >
88 template < class ReturnType, class Visitorr, class ... Params >
100 this->
call ( inherit, std::make_index_sequence <
sizeof ... ( Params ) > { } );
107 this->
call ( inherit, std::make_index_sequence <
sizeof ... ( Params ) > { } );
114 this->
call ( inherit, std::make_index_sequence <
sizeof ... ( Params ) > { } );
121 this->
call ( inherit, std::make_index_sequence <
sizeof ... ( Params ) > { } );
128 this->
call ( inherit, std::make_index_sequence <
sizeof ... ( Params ) > { } );
135 this->
call ( inherit, std::make_index_sequence <
sizeof ... ( Params ) > { } );
147 template <
class ReturnType,
class Visitorr,
class ... Params >
159 this->
call ( inherit, std::make_index_sequence <
sizeof ... ( Params ) > { } );
166 this->
call ( inherit, std::make_index_sequence <
sizeof ... ( Params ) > { } );
173 this->
call ( inherit, std::make_index_sequence <
sizeof ... ( Params ) > { } );
180 this->
call ( inherit, std::make_index_sequence <
sizeof ... ( Params ) > { } );
187 this->
call ( inherit, std::make_index_sequence <
sizeof ... ( Params ) > { } );
194 this->
call ( inherit, std::make_index_sequence <
sizeof ... ( Params ) > { } );
228 template < class ReturnType, class Visitorr, class ... Params >
229 ReturnType
accept ( Params && ... params )
const {
230 ConstVisitorContext < ReturnType, Visitorr, Params ... > context ( std::forward < Params > ( params ) ... );
232 return context.getResult ( );
246 template <
class ReturnType,
class Visitorr,
class ... Params >
247 ReturnType
accept ( Params && ... params ) {
248 VisitorContext < ReturnType, Visitorr, Params ... > context ( std::forward < Params > ( params ) ... );
250 return context.getResult ( );
335template <
class SymbolType >
341 return std::make_pair ( std::move ( alphabetF ), std::move ( alphabetK ) );
Definition: ranked_symbol.hpp:20
Class implementing an actual visitor interface to the visitor.
Definition: visitor.hpp:22
Base class for hierarchy of tree node types. The tree node types can be used to construct tree struct...
Definition: tree_base.hpp:20
Managed pointer simulating value like behavior.
Definition: memory.hpp:233
Definition: FormalRTEElement.h:89
void visit(const FormalRTEAlternation< SymbolType > &inherit) override
Definition: FormalRTEElement.h:99
void visit(const FormalRTEIteration< SymbolType > &inherit) override
Definition: FormalRTEElement.h:106
void visit(const FormalRTESymbolSubst< SymbolType > &inherit) override
Definition: FormalRTEElement.h:127
void visit(const FormalRTESubstitution< SymbolType > &inherit) override
Definition: FormalRTEElement.h:113
void visit(const FormalRTESymbolAlphabet< SymbolType > &inherit) override
Definition: FormalRTEElement.h:120
void visit(const FormalRTEEmpty< SymbolType > &inherit) override
Definition: FormalRTEElement.h:134
Definition: FormalRTEElement.h:148
void visit(FormalRTEEmpty< SymbolType > &inherit) override
Definition: FormalRTEElement.h:193
void visit(FormalRTESymbolAlphabet< SymbolType > &inherit) override
Definition: FormalRTEElement.h:179
void visit(FormalRTEIteration< SymbolType > &inherit) override
Definition: FormalRTEElement.h:165
void visit(FormalRTESubstitution< SymbolType > &inherit) override
Definition: FormalRTEElement.h:172
void visit(FormalRTESymbolSubst< SymbolType > &inherit) override
Definition: FormalRTEElement.h:186
void visit(FormalRTEAlternation< SymbolType > &inherit) override
Definition: FormalRTEElement.h:158
ext::set< ext::pair< StateType, StateType > > call(const ext::set< ext::pair< StateType, StateType > > &S, const InputSymbolType &input, const N &nondeterministic)
Definition: RHDPDACommon.h:94
typename T::SymbolType SymbolType
Definition: ReachableStates.h:176
Definition: normalize.hpp:10
constexpr auto make_pair(T1 &&x, T2 &&y)
Definition: pair.hpp:79
Definition: ToFTAGlushkov.h:22