| Package | Description |
|---|---|
| org.stekikun.dolmen.codegen | |
| org.stekikun.dolmen.unparam |
| Modifier and Type | Method and Description |
|---|---|
static SourceMapping |
GrammarOutput.output(Writer writer,
String className,
Config config,
Grammar grammar,
Grammars.PredictionTable predict)
Outputs to
writer the definition of a top-down
parser for the given grammar, provided the prediction table
predict has no conflicts. |
static SourceMapping |
GrammarOutput.outputDefault(Writer writer,
String className,
Grammar grammar,
Grammars.PredictionTable predict)
Same as
GrammarOutput.output(Writer, String, Config, Grammar, Grammars.PredictionTable)
with the default configuration Config.DEFAULT. |
| Modifier and Type | Method and Description |
|---|---|
Grammars.PredictionTable |
Grammars.PredictionTable.Builder.build() |
static Grammars.PredictionTable |
Grammars.predictionTable(Grammar grammar,
Grammars.NTermsInfo infos)
Constructs a prediction table for the given grammar.
|