10#include <alib/multiset>
33 template <
class StateType >
35 template <
class SymbolType >
37 template <
class SymbolType >
39 template <
class SymbolType >
41 template <
class SymbolType >
43 template <
class SymbolType >
45 template <
class SymbolType >
47 template <
class SymbolType >
49 template <
class SymbolType >
51 template <
class SymbolType >
53 template <
class SymbolType >
55 template <
class StateType >
57 template <
class StateType >
59 template <
class StateType >
61 template <
class SymbolType >
63 template <
class SymbolType >
65 template <
class InputSymbolType,
class PushdownStoreSymbolType >
68 template <
class StateType >
70 template <
class StateType >
72 template <
class StateType >
74 template <
class StateType >
76 template <
class SymbolType >
78 template <
class SymbolType >
80 template <
class SymbolType >
82 template <
class SymbolType >
85 template <
class SymbolType >
87 template <
class SymbolType >
90 template <
class SymbolType >
92 template <
class SymbolType >
109 template <
class SymbolType >
122template <
class StateType >
134template <
class SymbolType >
146template <
class SymbolType >
158template <
class SymbolType >
170template <
class SymbolType >
182template <
class SymbolType >
194template <
class StateType >
203template <
class StateType >
212 return initialStates;
215template <
class StateType >
227template <
class SymbolType >
239template <
class SymbolType >
248 return initialSymbols;
251template <
class SymbolType >
260 return outputSymbols;
263template <
class SymbolType >
269 return initialSymbol;
272template <
class SymbolType >
284template <
class SymbolType >
293template <
class SymbolType >
302template <
class InputSymbolType,
class PushdownStoreSymbolType >
316 operations.
insert ( std::move ( inputSymbol ),
ext::make_pair ( std::move ( pop ), std::move ( push ) ) );
325template <
class StateType >
334template <
class StateType >
343template <
class StateType >
355template <
class StateType >
367template <
class SymbolType >
379template <
class SymbolType >
388template <
class SymbolType >
400template <
class SymbolType >
409template <
class SymbolType >
418template <
class SymbolType >
427template <
class SymbolType >
439template <
class SymbolType >
448 return outputSymbols;
451template <
class SymbolType >
Definition: AutomatonFromXMLParser.h:28
static SymbolType parseBottomOfTheStackSymbol(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:294
static SymbolType parseTransitionOutputSymbol(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:419
static SymbolType parseBlankSymbol(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:285
static SymbolType parseTransitionInputSymbol(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:410
static ext::set< SymbolType > parseOutputAlphabet(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:252
static SymbolType parseTransitionSinglePush(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:401
static ext::set< StateType > parseStates(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:123
static Shift parseTransitionShift(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:95
static SymbolType parseInitialPushdownStoreSymbol(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:264
static StateType parseInitialState(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:195
static ext::set< SymbolType > parseRankedInputAlphabet(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:183
static ext::set< SymbolType > parseTapeAlphabet(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:273
static ext::multiset< StateType > parseTransitionFromMultiset(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:356
static ext::vector< SymbolType > parseTransitionInputSymbolMultiple(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:428
static SymbolType parseTransitionSinglePop(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:380
static ext::set< SymbolType > parseReturnInputAlphabet(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:147
static void parseTransitions(ext::deque< sax::Token >::iterator &input, T &automaton)
Definition: AutomatonFromXMLParser.h:114
static StateType parseTransitionTo(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:326
static ext::set< SymbolType > parseInputAlphabet(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:171
static ext::set< SymbolType > parseLocalInputAlphabet(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:159
static ext::set< StateType > parseFinalStates(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:216
static regexp::UnboundedRegExpStructure< SymbolType > parseTransitionInputRegexp(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:452
static ext::set< SymbolType > parsePushdownStoreAlphabet(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:228
static ext::set< SymbolType > parseInitialPushdownStoreSymbols(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:240
static ext::map< InputSymbolType, ext::pair< ext::vector< PushdownStoreSymbolType >, ext::vector< PushdownStoreSymbolType > > > parseInputToPushdownStoreOperation(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:303
static StateType parseTransitionFrom(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:335
static ext::vector< SymbolType > parseTransitionOutputSymbolMultiple(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:440
static ext::vector< SymbolType > parseTransitionPush(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:389
static ext::set< StateType > parseInitialStates(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:204
static ext::set< SymbolType > parseCallInputAlphabet(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:135
static ext::vector< StateType > parseTransitionFromMultiple(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:344
static ext::vector< SymbolType > parseTransitionPop(ext::deque< sax::Token >::iterator &input)
Definition: AutomatonFromXMLParser.h:368
Class extending the deque class from the standard library. Original reason is to allow printing of th...
Definition: deque.hpp:44
Class extending the map class from the standard library. Original reason is to allow printing of the ...
Definition: map.hpp:48
std::pair< iterator, bool > insert(const T &key, const R &value)
Insert variant with explicit key and value parameters.
Definition: map.hpp:118
Definition: multiset.hpp:44
Class extending the vector class from the standard library. Original reason is to allow printing of t...
Definition: vector.hpp:45
Represents unbounded regular expression structure. Regular expression is stored as a tree of Unbounde...
Definition: UnboundedRegExpStructure.h:47
static void popToken(ext::deque< Token >::iterator &input, Token::TokenType type, const std::string &data)
Definition: FromXMLParserHelper.cpp:39
static std::string popTokenData(ext::deque< Token >::iterator &input, Token::TokenType type)
Definition: FromXMLParserHelper.cpp:48
static bool isTokenType(ext::deque< Token >::const_iterator input, Token::TokenType type)
Definition: FromXMLParserHelper.cpp:34
typename T::StateType StateType
Definition: ToGrammarLeftRG.h:64
typename T::SymbolType SymbolType
Definition: ReachableStates.h:176
for(const StateType &state :fsm.getStates()) renamingData.insert(std Rename::RenamedAutomaton< T > result(renamingData.at(fsm.getInitialState()))
Definition: Rename.h:253
Definition: ToGrammar.h:31
Shift
Definition: Shift.h:15
automaton::Shift shiftFromString(const std::string &shift)
Definition: Shift.cpp:11
constexpr auto make_pair(T1 &&x, T2 &&y)
Definition: pair.hpp:79
Definition: xmlApi.hpp:27