Package | Description |
---|---|
org.stekikun.dolmen.unparam |
Modifier and Type | Field and Description |
---|---|
List<Production> |
GrammarRule.productions
The productions for this rule
|
Modifier and Type | Method and Description |
---|---|
Production |
Production.Builder.build() |
Modifier and Type | Method and Description |
---|---|
Map<String,List<Production>> |
Grammars.PredictionTable.tableFor(String nterm) |
Modifier and Type | Method and Description |
---|---|
Grammars.PredictionTable.Builder |
Grammars.PredictionTable.Builder.add(String nterm,
String term,
Production prod)
Extends the partition table in this builder by associating
the production
prod to the given combination of
non-terminal and terminal. |
GrammarRule.Builder |
GrammarRule.Builder.addProduction(Production prod)
Adds the given production to the builder
|
Set<String> |
Grammars.NTermsInfo.first(Production prod) |
boolean |
Grammars.NTermsInfo.nullable(Production prod) |
Constructor and Description |
---|
GrammarRule(boolean visibility,
CExtent returnType,
Located<String> name,
@Nullable CExtent args,
List<Production> productions)
Builds a grammar rule from the given parameters
|