| Package | Description |
|---|---|
| org.stekikun.dolmen.syntax |
| Modifier and Type | Class and Description |
|---|---|
static class |
PProduction.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 |
PProduction.Actual
Represents an actual production item, i.e.
|
static class |
PProduction.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<PProduction.Item> |
PProduction.items
The list of production items in this production, in order
|
| Modifier and Type | Method and Description |
|---|---|
PProduction.Builder |
PProduction.Builder.addItem(PProduction.Item item)
Adds a production item
|
| Constructor and Description |
|---|
PProduction(List<PProduction.Item> items)
Builds a grammar production based on the given parameters
|