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

#include <LRParser.h>

Static Public Member Functions

static DefaultSymbolType getEndOfInputSymbol (const grammar::CFG< > &originalGrammar)
 
static grammar::CFG< > getAugmentedGrammar (grammar::CFG< > originalGrammar)
 
static bool parse (const LRActionTable &actionTable, const LRGotoTable &gotoTable, const LR0Items &initialState, const ext::vector< DefaultSymbolType > &input)
 

Member Function Documentation

◆ getAugmentedGrammar()

grammar::CFG< > grammar::parsing::LRParser::getAugmentedGrammar ( grammar::CFG< >  originalGrammar)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getEndOfInputSymbol()

DefaultSymbolType grammar::parsing::LRParser::getEndOfInputSymbol ( const grammar::CFG< > &  originalGrammar)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse()

bool grammar::parsing::LRParser::parse ( const LRActionTable actionTable,
const LRGotoTable gotoTable,
const LR0Items initialState,
const ext::vector< DefaultSymbolType > &  input 
)
static
Here is the call graph for this function:

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