24 template <
class SymbolType >
27 template <
class TerminalSymbolType,
class NonterminalSymbolType >
30 template <
class SymbolType >
33 template <
class SymbolType >
38 template <
class T,
class TerminalSymbolType =
typename grammar::TerminalSymbolTypeOfGrammar < T >,
class NonterminalSymbolType =
typename grammar::NonterminalSymbolTypeOfGrammar < T > >
41 template <
class T,
class SymbolType =
typename grammar::TerminalSymbolTypeOfGrammar < T > >
44 template <
class T,
class SymbolType =
typename grammar::TerminalSymbolTypeOfGrammar < T > >
48template <
class SymbolType >
81template <
class TerminalSymbolType,
class NonterminalSymbolType >
146template<
class T,
class TerminalSymbolType,
class NonterminalSymbolType >
181 T
grammar(nonterminals, terminals, initialSymbol);
182 for(
const auto& rule : rules) {
190template <
class SymbolType >
254template <
class T,
class SymbolType >
289 T
grammar(nonterminals, terminals, initialSymbol);
290 for(
const auto& rule : rules) {
291 for(
const auto& ruleRHS : rule.second) {
292 grammar.addRule(rule.first, ruleRHS);
298template <
class SymbolType >
387template <
class T,
class SymbolType >
422 T
grammar(nonterminals, terminals, initialSymbol);
423 for(
const auto& rule : rules) {
424 for(
const auto& ruleRHS : rule.second) {
425 grammar.addRule(std::get<0>(rule.first), std::get<1>(rule.first), std::get<2>(rule.first), ruleRHS);
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 extending the map class from the standard library. Original reason is to allow printing of the ...
Definition: map.hpp:48
Class extending the tuple class from the standard library. Original reason is to allow printing of th...
Definition: tuple.hpp:42
Implementation of the variant class allowing to store any type of those listed in the template parame...
Definition: variant.hpp:98
Class extending the vector class from the standard library. Original reason is to allow printing of t...
Definition: vector.hpp:45
static bool addRawRule(LG< TerminalSymbolType, NonterminalSymbolType > &grammar, NonterminalSymbolType leftHandSide, ext::vector< ext::variant< TerminalSymbolType, NonterminalSymbolType > > rightHandSide)
Definition: AddRawRule.h:92
static Token next(ext::istream &input)
Definition: GrammarFromStringLexer.cpp:10
Definition: GrammarFromStringParserCommon.h:23
static T parsePreservingCSLikeGrammar(ext::istream &input)
Definition: GrammarFromStringParserCommon.h:388
static T parseCSLikeGrammar(ext::istream &input)
Definition: GrammarFromStringParserCommon.h:255
static T parseCFLikeGrammar(ext::istream &input)
Definition: GrammarFromStringParserCommon.h:147
return grammar
Definition: ToGrammarLeftRG.h:99
typename T::SymbolType SymbolType
Definition: ReachableStates.h:176
return res
Definition: MinimizeByPartitioning.h:145
for(const StateType &state :fsm.getStates()) renamingData.insert(std Rename::RenamedAutomaton< T > result(renamingData.at(fsm.getInitialState()))
Definition: Rename.h:253
constexpr auto make_tuple(Elements &&... args)
Helper of extended tuple construction. The tuple is constructed from values pack, types are deduced.
Definition: tuple.hpp:203
Definition: ToAutomaton.h:24
Definition: stringApi.hpp:26