public class Grammar extends Object
| Constructor and Description |
|---|
Grammar(Symbol start,
Set<Symbol> terminals,
Set<Symbol> nonTerminals,
Set<Rule> rules,
Set<Symbol> ignored) |
| Modifier and Type | Method and Description |
|---|---|
Grammar |
augmented() |
Set<Symbol> |
getIgnored() |
Set<Symbol> |
getNonTerminals() |
Set<Rule> |
getRules() |
Symbol |
getStart() |
Set<Symbol> |
getSymbols() |
Set<Symbol> |
getTerminals() |
static Grammar |
grammar(Symbol start,
Set<Rule> rules,
Set<Symbol> ignored) |
Set<Rule> |
rulesFor(Symbol symbol) |
String |
toString() |
Copyright © 2020. All rights reserved.