| Package | Description |
|---|---|
| foundation.rpg.automata | |
| foundation.rpg.grammar |
| Modifier and Type | Method and Description |
|---|---|
Symbol |
LrItem.symbolAtDot() |
| Modifier and Type | Method and Description |
|---|---|
Map<Symbol,LrAction> |
LrParserAutomata.actionsFor(LrItemSet set) |
Set<Symbol> |
LrParserConstructor.follow(LrItem item) |
Set<Symbol> |
LrItem.getLookahead() |
MapOfSets<Symbol,LrItem> |
LrParserConstructor.transitions(LrParserAutomata parser,
LrItemSet set) |
| Modifier and Type | Method and Description |
|---|---|
LrItemSet |
LrParserConstructor.closure(Symbol symbol,
Set<LrItem> base) |
void |
LrParserAutomata.reduction(LrItemSet from,
Symbol lookahead,
LrItem item) |
void |
LrParserAutomata.transition(LrItemSet from,
Symbol symbol,
LrItemSet to) |
| Modifier and Type | Method and Description |
|---|---|
static LrItem |
LrItem.lrItem(int i,
Rule rule,
Set<Symbol> lookahead) |
static LrItem |
LrItem.lrItem(Rule rule,
Set<Symbol> lookahead) |
| Modifier and Type | Field and Description |
|---|---|
static Symbol |
Symbol.any |
static Symbol |
Symbol.end |
static Symbol |
Symbol.start |
static Symbol |
Symbol.ε |
| Modifier and Type | Method and Description |
|---|---|
Symbol |
Rule.getLeft() |
Symbol |
Grammar.getStart() |
static Symbol |
Symbol.symbol(String name) |
| Modifier and Type | Method and Description |
|---|---|
Set<Symbol> |
Grammar.getIgnored() |
Set<Symbol> |
Grammar.getNonTerminals() |
List<Symbol> |
Rule.getRight() |
Set<Symbol> |
Grammar.getSymbols() |
Set<Symbol> |
Grammar.getTerminals() |
| Modifier and Type | Method and Description |
|---|---|
static Grammar |
Grammar.grammar(Symbol start,
Set<Rule> rules,
Set<Symbol> ignored) |
static Rule |
Rule.rule(Symbol left,
List<Symbol> right) |
static Rule |
Rule.rule(Symbol left,
List<Symbol> right,
int priority) |
Set<Rule> |
Grammar.rulesFor(Symbol symbol) |
| Modifier and Type | Method and Description |
|---|---|
static Grammar |
Grammar.grammar(Symbol start,
Set<Rule> rules,
Set<Symbol> ignored) |
static Rule |
Rule.rule(Symbol left,
List<Symbol> right) |
static Rule |
Rule.rule(Symbol left,
List<Symbol> right,
int priority) |
| Constructor and Description |
|---|
Grammar(Symbol start,
Set<Symbol> terminals,
Set<Symbol> nonTerminals,
Set<Rule> rules,
Set<Symbol> ignored) |
Rule(Symbol left,
List<Symbol> right) |
Rule(Symbol left,
List<Symbol> right,
int priority) |
| Constructor and Description |
|---|
Grammar(Symbol start,
Set<Symbol> terminals,
Set<Symbol> nonTerminals,
Set<Rule> rules,
Set<Symbol> ignored) |
Grammar(Symbol start,
Set<Symbol> terminals,
Set<Symbol> nonTerminals,
Set<Rule> rules,
Set<Symbol> ignored) |
Grammar(Symbol start,
Set<Symbol> terminals,
Set<Symbol> nonTerminals,
Set<Rule> rules,
Set<Symbol> ignored) |
Rule(Symbol left,
List<Symbol> right) |
Rule(Symbol left,
List<Symbol> right,
int priority) |
Copyright © 2020. All rights reserved.