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

#include <AbsorbTerminalSymbol.h>

Static Public Member Functions

static void handleAbsobtion (const grammar::CFG< > &orig, grammar::CFG< > &res, const DefaultSymbolType &terminal, const ext::set< DefaultSymbolType > &nonterminals, const ext::map< DefaultSymbolType, DefaultSymbolType > &nonterminalsPrimed)
 
static void absorbTerminalSymbol (grammar::CFG< > &grammar, const DefaultSymbolType &terminal, const ext::set< DefaultSymbolType > &nonterminals)
 

Member Function Documentation

◆ absorbTerminalSymbol()

void grammar::parsing::AbsorbTerminalSymbol::absorbTerminalSymbol ( grammar::CFG< > &  grammar,
const DefaultSymbolType terminal,
const ext::set< DefaultSymbolType > &  nonterminals 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleAbsobtion()

void grammar::parsing::AbsorbTerminalSymbol::handleAbsobtion ( const grammar::CFG< > &  orig,
grammar::CFG< > &  res,
const DefaultSymbolType terminal,
const ext::set< DefaultSymbolType > &  nonterminals,
const ext::map< DefaultSymbolType, DefaultSymbolType > &  nonterminalsPrimed 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

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