| Package | Description |
|---|---|
| org.stekikun.dolmen.debug |
This package contains generic utility functions to help debug
Dolmen-generated lexical analyzers and parsers.
|
| Modifier and Type | Field and Description |
|---|---|
static Derivation.Displayer |
Derivation.Displayer.RAW
An implementation of
Derivation.Displayer which
displays the derivations exactly as they are stored |
| Modifier and Type | Method and Description |
|---|---|
static Derivation.Displayer |
Derivation.Displayer.ofGrammar(Grammar grammar,
int initialIndent)
The result is printed as if starting at column
initialIndent. |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Derivation.append(Derivation.Displayer displayer,
Appendable buf)
Appends the representation of the receiver into
buf using displayer |
void |
Derivation.NonTerminal.append(Derivation.Displayer displayer,
Appendable buf) |
void |
Derivation.Terminal.append(Derivation.Displayer displayer,
Appendable buf) |