| Package | Description |
|---|---|
| org.stekikun.dolmen.codegen | |
| org.stekikun.dolmen.syntax | |
| org.stekikun.dolmen.unparam |
| Modifier and Type | Method and Description |
|---|---|
static Config |
Config.ofOptions(Config.Relevance relevance,
List<Option> options,
@Nullable Reporter reporter)
This method never fails to build a valid configuration, but
can report unexpected things such as illegal keys or values
through the reporter.
|
| Modifier and Type | Field and Description |
|---|---|
List<Option> |
Lexer.options
The configuration options specified in this grammar
|
List<Option> |
PGrammar.options
The configuration options specified in this grammar
|
| Modifier and Type | Method and Description |
|---|---|
static Option |
Option.of(Located<String> key,
Located<String> value)
This represents a syntactic option, there is no guarantee that
the
key corresponds to any of the option that Dolmen
actually understands, or that the value makes any sense. |
| Modifier and Type | Method and Description |
|---|---|
static Lexer |
Lexer.of(List<Option> options,
List<Located<String>> imports,
Extent header,
Map<Located<String>,Regular> regulars,
Iterable<Lexer.Entry> entryPoints,
Extent footer) |
| Constructor and Description |
|---|
Builder(List<Option> options,
List<Located<String>> imports,
Extent header,
Extent footer)
Returns a new builder with the given options, imports, header and footer
|
Builder(List<Option> options,
List<Located<String>> imports,
Extent header,
Map<Located<String>,Regular> regulars,
Extent footer)
Returns a new builder with the given options, imports,
header, auxiliary regular expressions and footer
|
| Modifier and Type | Field and Description |
|---|---|
List<Option> |
Grammar.options
The configuration options specified in this grammar
|
| Constructor and Description |
|---|
Builder(List<Option> options,
List<Located<String>> imports,
Extent header,
Extent footer)
Returns a new builder with the given options, imports, header and footer
|