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

#include <LR0Parser.h>

Static Public Member Functions

static LR0Items getClosure (LR0Items items, const grammar::CFG< > &originalGrammar)
 
static LR0Items getNextStateItems (const LR0Items &items, const ext::variant< DefaultSymbolType, DefaultSymbolType > &symbol, const grammar::CFG< > &originalGrammar)
 
static automaton::DFA< ext::variant< DefaultSymbolType, DefaultSymbolType >, LR0ItemsgetAutomaton (const grammar::CFG< > &originalGrammar)
 

Member Function Documentation

◆ getAutomaton()

automaton::DFA< ext::variant< DefaultSymbolType, DefaultSymbolType >, LR0Items > grammar::parsing::LR0Parser::getAutomaton ( const grammar::CFG< > &  originalGrammar)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getClosure()

LR0Items grammar::parsing::LR0Parser::getClosure ( LR0Items  items,
const grammar::CFG< > &  originalGrammar 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getNextStateItems()

LR0Items grammar::parsing::LR0Parser::getNextStateItems ( const LR0Items items,
const ext::variant< DefaultSymbolType, DefaultSymbolType > &  symbol,
const grammar::CFG< > &  originalGrammar 
)
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: