Package | Description |
---|---|
org.stekikun.dolmen.syntax |
Modifier and Type | Field and Description |
---|---|
List<PProduction> |
PGrammarRule.productions
The productions for this rule
|
Modifier and Type | Method and Description |
---|---|
PProduction |
PProduction.Builder.build() |
Modifier and Type | Method and Description |
---|---|
PGrammarRule.Builder |
PGrammarRule.Builder.addProduction(PProduction prod)
Adds the given production to the builder
|
Constructor and Description |
---|
PGrammarRule(boolean visibility,
PExtent returnType,
Located<String> name,
List<Located<String>> params,
@Nullable PExtent args,
List<PProduction> productions)
Builds a grammar rule from the given parameters
|