36 template <
class T,
class TerminalSymbolType =
typename grammar::TerminalSymbolTypeOfGrammar < T >,
class NonterminalSymbolType =
typename grammar::NonterminalSymbolTypeOfGrammar < T > >
40template <
class T,
class TerminalSymbolType,
class NonterminalSymbolType >
46 for (
const NonterminalSymbolType & nonterminal :
grammar.getNonterminalAlphabet ( ) )
47 automaton.addPushdownStoreSymbol ( nonterminal );
48 for (
const TerminalSymbolType & terminal :
grammar.getTerminalAlphabet ( ) )
49 automaton.addPushdownStoreSymbol ( terminal );
55 for (
const TerminalSymbolType & symbol :
grammar.getTerminalAlphabet ( ) )
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
Definition: ToAutomatonTopDown.h:23
static automaton::NPDA< TerminalSymbolType, ext::variant< TerminalSymbolType, NonterminalSymbolType >, unsigned > convert(const T &grammar)
Definition: ToAutomatonTopDown.h:41
Definition: ToGrammar.h:31
Definition: converterCommon.hpp:8
Definition: ToAutomaton.h:24