Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Static Public Member Functions
grammar::GrammarFromXMLParser Class Reference

#include <GrammarFromXMLParser.h>

Static Public Member Functions

template<class SymbolType >
static ext::set< SymbolType > parseNonterminalAlphabet (ext::deque< sax::Token >::iterator &input)
 
template<class SymbolType >
static ext::set< SymbolType > parseTerminalAlphabet (ext::deque< sax::Token >::iterator &input)
 
template<class SymbolType >
static SymbolType parseInitialSymbol (ext::deque< sax::Token >::iterator &input)
 
static bool parseGeneratesEpsilon (ext::deque< sax::Token >::iterator &input)
 
template<class SymbolType >
static ext::vector< SymbolType > parseRuleLContext (ext::deque< sax::Token >::iterator &input)
 
template<class SymbolType >
static ext::vector< SymbolType > parseRuleLHS (ext::deque< sax::Token >::iterator &input)
 
template<class SymbolType >
static ext::vector< SymbolType > parseRuleRContext (ext::deque< sax::Token >::iterator &input)
 
template<class SymbolType >
static SymbolType parseRuleSingleSymbolLHS (ext::deque< sax::Token >::iterator &input)
 
template<class SymbolType >
static ext::vector< SymbolType > parseRuleRHS (ext::deque< sax::Token >::iterator &input)
 
template<class T >
static void parseRules (ext::deque< sax::Token >::iterator &input, T &grammar)
 

Detailed Description

Parser used to get general FSM or EpsilonNFA, NFA, DFA from XML parsed into list of Tokens.

Member Function Documentation

◆ parseGeneratesEpsilon()

static bool grammar::GrammarFromXMLParser::parseGeneratesEpsilon ( ext::deque< sax::Token >::iterator &  input)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseInitialSymbol()

template<class SymbolType >
SymbolType grammar::GrammarFromXMLParser::parseInitialSymbol ( ext::deque< sax::Token >::iterator &  input)
static
Here is the call graph for this function:

◆ parseNonterminalAlphabet()

template<class SymbolType >
ext::set< SymbolType > grammar::GrammarFromXMLParser::parseNonterminalAlphabet ( ext::deque< sax::Token >::iterator &  input)
static
Here is the call graph for this function:

◆ parseRuleLContext()

template<class SymbolType >
ext::vector< SymbolType > grammar::GrammarFromXMLParser::parseRuleLContext ( ext::deque< sax::Token >::iterator &  input)
static
Here is the call graph for this function:

◆ parseRuleLHS()

template<class SymbolType >
ext::vector< SymbolType > grammar::GrammarFromXMLParser::parseRuleLHS ( ext::deque< sax::Token >::iterator &  input)
static
Here is the call graph for this function:

◆ parseRuleRContext()

template<class SymbolType >
ext::vector< SymbolType > grammar::GrammarFromXMLParser::parseRuleRContext ( ext::deque< sax::Token >::iterator &  input)
static
Here is the call graph for this function:

◆ parseRuleRHS()

template<class SymbolType >
ext::vector< SymbolType > grammar::GrammarFromXMLParser::parseRuleRHS ( ext::deque< sax::Token >::iterator &  input)
static
Here is the call graph for this function:

◆ parseRules()

template<class T >
void grammar::GrammarFromXMLParser::parseRules ( ext::deque< sax::Token >::iterator &  input,
T &  grammar 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseRuleSingleSymbolLHS()

template<class SymbolType >
SymbolType grammar::GrammarFromXMLParser::parseRuleSingleSymbolLHS ( ext::deque< sax::Token >::iterator &  input)
static
Here is the call graph for this function:

◆ parseTerminalAlphabet()

template<class SymbolType >
ext::set< SymbolType > grammar::GrammarFromXMLParser::parseTerminalAlphabet ( ext::deque< sax::Token >::iterator &  input)
static
Here is the call graph for this function:

The documentation for this class was generated from the following file: