| Package | Description |
|---|---|
| foundation.rpg.grammar | |
| foundation.rpg.lr1 |
| Modifier and Type | Method and Description |
|---|---|
static Rule |
Rule.rule(Symbol left,
List<Symbol> right) |
Rule |
Rule.Builder.to(List<Symbol> right) |
default Rule |
Rule.Builder.to(Symbol... right) |
| Modifier and Type | Method and Description |
|---|---|
Set<Rule> |
Grammar.getRules() |
Set<Rule> |
Grammar.rulesFor(Symbol symbol) |
| Modifier and Type | Method and Description |
|---|---|
static Grammar |
Grammar.grammar(Symbol start,
Set<Rule> rules,
Set<Symbol> ignored) |
| Constructor and Description |
|---|
Grammar(Symbol start,
Set<Symbol> terminals,
Set<Symbol> nonTerminals,
Set<Rule> rules,
Set<Symbol> ignored) |
| Modifier and Type | Method and Description |
|---|---|
Rule |
LrItem.getRule() |
| 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) |
Copyright © 2020. All rights reserved.