| Package | Description |
|---|---|
| net.oneandone.mork.compiler |
Invoke and control mork.
|
| net.oneandone.mork.grammar |
Context free grammars.
|
| net.oneandone.mork.mapping |
Implements the mapping concept.
|
| net.oneandone.mork.parser |
Push down automatons for shift-reduce parsing.
|
| net.oneandone.mork.pda |
LR(k) parser construction.
|
| net.oneandone.mork.semantics |
Data types for attribute grammars.
|
| Modifier and Type | Method and Description |
|---|---|
Grammar |
Syntax.getGrammar() |
static Grammar |
Stubs.getIFGrammar(Syntax syntax) |
| Modifier and Type | Method and Description |
|---|---|
static Definition |
Stubs.createDefinition(Grammar grm,
StringArrayList symbolTable,
int symbol,
String name,
Object constr) |
ConflictResolver[] |
ConflictHandler.report(Output output,
Grammar grammar) |
| Constructor and Description |
|---|
ConflictHandler(Grammar grammar) |
| Modifier and Type | Method and Description |
|---|---|
static Grammar |
Grammar.forProductions(String... prods) |
static Grammar |
Ebnf.translate(Rule[] rules,
StringArrayList symbolTable)
helper symbols are added without gaps, starting with freeHelper.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Grammar.addProductions(Grammar right) |
| Modifier and Type | Method and Description |
|---|---|
void |
Definition.translate(Ag semantics,
Transport transport,
Grammar grammar) |
Attribute |
Internal.translate(int symbol,
Grammar grm) |
| Constructor and Description |
|---|
Definition(boolean main,
Grammar grm,
int symbol,
String name,
Object constructor) |
| Modifier and Type | Method and Description |
|---|---|
static String |
ParserTable.actionToString(int value,
Grammar grammar) |
String |
ParserTable.toString(Grammar grammar) |
String |
Conflict.toString(Grammar grammar) |
| Constructor and Description |
|---|
ParserTable(int startState,
int stateCount,
int symbolCount,
int eofSymbol,
Grammar grm,
char[] modes) |
| Modifier and Type | Method and Description |
|---|---|
Grammar |
PDABuilder.getGrammar() |
Grammar |
PDA.getGrammar() |
| Modifier and Type | Method and Description |
|---|---|
void |
State.closure(Grammar grammar,
Map<Integer,PrefixSet> firsts,
int k) |
static Item |
Item.create(Grammar grammar,
int production,
PrefixSet lookahead) |
static PDA |
PDA.create(Grammar grammar,
Map<Integer,PrefixSet> firsts,
int k,
int threadCount) |
void |
Item.expanded(Grammar grammar,
Map<Integer,PrefixSet> firsts,
List<Item> result,
int k) |
static State |
State.forStartSymbol(Grammar grammar,
int eof) |
int |
Item.getShift(Grammar grammar) |
String |
State.toShortString(Grammar grammar) |
String |
Item.toString(Grammar grammar,
boolean suppressLookahead) |
String |
State.toString(int id,
Grammar grammar) |
| Constructor and Description |
|---|
PDA(Grammar grammar,
State start) |
| Modifier and Type | Method and Description |
|---|---|
Grammar |
Ag.getGrammar() |
| Modifier and Type | Method and Description |
|---|---|
static AgBuffer |
Pusher.run(boolean down,
Attribute seed,
net.oneandone.sushi.util.IntBitSet border,
Grammar grm) |
| Constructor and Description |
|---|
Ag(Grammar grammar) |
State(boolean up,
Attribute attr,
Grammar grm) |
Copyright © 1998–2017 1&1. All rights reserved.