Package | Description |
---|---|
org.stekikun.dolmen.unparam |
Modifier and Type | Class and Description |
---|---|
static class |
Production.ActionItem
Represents a semantic action item, i.e. a semantic
action which is performed by the generated parser
when the enclosing production rule is executed.
|
static class |
Production.Actual
Represents an actual production item, i.e.
|
static class |
Production.Continue
Represents a continuation of the current rule,
and unlike the equivalent actual,
this allows the generator to produce an optimized
tail-recursive call.
|
Modifier and Type | Field and Description |
---|---|
List<Production.Item> |
Production.items
The list of production items in this production, in order
|
Modifier and Type | Method and Description |
---|---|
Production.Builder |
Production.Builder.addItem(Production.Item item)
Adds a production item
|
Constructor and Description |
---|
Production(List<Production.Item> items)
Builds a grammar production based on the given parameters
|