Package | Description |
---|---|
org.stekikun.dolmen.syntax |
Modifier and Type | Field and Description |
---|---|
Map<String,PGrammarRule> |
PGrammar.rules
The map of all grammar rules in the parser, indexed by their name
|
Modifier and Type | Method and Description |
---|---|
PGrammarRule |
PGrammarRule.Builder.build() |
PGrammarRule |
PGrammar.rule(String name) |
Modifier and Type | Method and Description |
---|---|
PGrammar.Builder |
PGrammar.Builder.addRule(PGrammarRule rule) |
Modifier and Type | Method and Description |
---|---|
static PGrammars.Dependencies |
PGrammars.dependencies(Map<String,PGrammarRule> rules)
Computes the map of dependencies between the non-terminals
of the given grammar rules, i.e. associates to every non-terminal in
rules the set of non-terminals which appear in the
right-hand side of productions for this non-terminal. |