| Package | Description |
|---|---|
| org.stekikun.dolmen.codegen | |
| org.stekikun.dolmen.syntax | |
| org.stekikun.dolmen.unparam |
| Modifier and Type | Method and Description |
|---|---|
static void |
TokensOutput.output(Writer writer,
String className,
Config config,
int level,
List<TokenDecl> tokenDecls)
Outputs to
writer the definition of a token class
for the tokens described in tokenDecls. |
| Constructor and Description |
|---|
TokensOutput(String className,
Config config,
List<TokenDecl> tokenDecls,
CodeBuilder buf) |
| Modifier and Type | Field and Description |
|---|---|
List<TokenDecl> |
PGrammar.tokenDecls
The declarations for all terminals of this grammar
|
| Modifier and Type | Method and Description |
|---|---|
PGrammar.Builder |
PGrammar.Builder.addToken(TokenDecl decl) |
| Modifier and Type | Field and Description |
|---|---|
List<TokenDecl> |
Grammar.tokenDecls
The declarations for all terminals of this grammar
|
| Modifier and Type | Method and Description |
|---|---|
Grammar.Builder |
Grammar.Builder.addToken(TokenDecl decl) |