| Package | Description |
|---|---|
| net.oneandone.mork.compiler |
Invoke and control mork.
|
| net.oneandone.mork.grammar |
Context free grammars.
|
| net.oneandone.mork.scanner |
Finite automatons.
|
| Modifier and Type | Method and Description |
|---|---|
static Rule[] |
Stubs.scannerRules(List rawKeywords,
Rule[] rules) |
| Modifier and Type | Method and Description |
|---|---|
static Syntax |
Stubs.createSyntax(StringArrayList symbolTable,
Rule[] parserRules,
boolean prio,
net.oneandone.sushi.util.IntBitSet whiteSymbols,
Rule[] explScannerRules,
List rawKeywords) |
static Syntax |
Stubs.createSyntax(StringArrayList symbolTable,
Rule[] parserRules,
boolean prio,
net.oneandone.sushi.util.IntBitSet whiteSymbols,
Rule[] explScannerRules,
List rawKeywords) |
static Rule[] |
Stubs.scannerRules(List rawKeywords,
Rule[] rules) |
| Constructor and Description |
|---|
Syntax(StringArrayList symbolTable,
Rule[] parserRules,
boolean priorities,
net.oneandone.sushi.util.IntBitSet whiteSymbols,
Rule[] scannerRules) |
Syntax(StringArrayList symbolTable,
Rule[] parserRules,
boolean priorities,
net.oneandone.sushi.util.IntBitSet whiteSymbols,
Rule[] scannerRules) |
| Modifier and Type | Method and Description |
|---|---|
static Grammar |
Ebnf.translate(Rule[] rules,
StringArrayList symbolTable)
helper symbols are added without gaps, starting with freeHelper.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Modes.resolveScannerConflicts(FA fa,
Rule[] rules) |
static FABuilder |
FABuilder.run(Rule[] rules,
net.oneandone.sushi.util.IntBitSet terminals,
StringArrayList symbolTable,
PrintWriter verbose)
Translates only those rules where the left-hand.side is contained
in the specified terminals set.
|
| Constructor and Description |
|---|
Expander(Rule[] rules,
StringArrayList symbolTable) |
Copyright © 1998–2017 1&1. All rights reserved.