| 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.regexpr |
Regular expressions.
|
| net.oneandone.mork.scanner |
Finite automatons.
|
| net.oneandone.mork.semantics |
Data types for attribute grammars.
|
| Modifier and Type | Method and Description |
|---|---|
static Selection |
Stubs.copyFunctionRef(Library lib,
String name) |
static Definition |
Stubs.createDefinition(Grammar grm,
StringArrayList symbolTable,
int symbol,
String name,
Object constr) |
static Syntax |
Stubs.createSyntax(StringArrayList symbolTable,
Rule[] parserRules,
boolean prio,
net.oneandone.sushi.util.IntBitSet whiteSymbols,
Rule[] explScannerRules,
List rawKeywords) |
static Object |
Stubs.implicitPath(Specification spec,
Definition def) |
static Syntax |
Stubs.loadSyntax(Object mork,
String fileName) |
Syntax |
Mork.loadSyntax(String fileName) |
static Object |
Stubs.localPath(Specification spec,
Definition srcDef,
int symbol,
String name) |
static Function |
MorkMapper.lookupMapperFn(String name,
Class<?> resultType) |
static Object |
Stubs.normalPath(Definition source,
Specification spec,
Object[] steps) |
ConflictResolver[] |
ConflictHandler.report(Output output,
Grammar grammar) |
static Rule[] |
Stubs.scannerRules(List rawKeywords,
Rule[] rules) |
static int |
Stubs.symbolRef(StringArrayList table,
String name) |
static char |
Stubs.toChar(int num) |
Parser |
Syntax.translate(int k,
int threadCount,
Output output)
Translate specification.
|
Mapper |
Specification.translate(int k,
int threadCount,
Output output) |
void |
Specification.translateDefaultPushPath(Definition seed) |
| Constructor and Description |
|---|
Syntax(StringArrayList symbolTable,
Rule[] parserRules,
boolean priorities,
net.oneandone.sushi.util.IntBitSet whiteSymbols,
Rule[] scannerRules) |
| Modifier and Type | Method and Description |
|---|---|
void |
Grammar.check(int startSym,
net.oneandone.sushi.util.IntBitSet usedSymbols,
List<String> symbolTable) |
| Modifier and Type | Method and Description |
|---|---|
void |
PrintWriterErrorHandler.error(String pos,
GenericException e) |
| Modifier and Type | Method and Description |
|---|---|
void |
Definition.addArgument(Argument arg,
Definition src) |
static Import |
Import.create(String packageName,
String className,
String name) |
static Function |
Conversion.find(Selection selection,
Definition def,
List<Argument> args,
List<Attribute> outAttrs) |
Selection |
Import.getConstructors() |
Selection |
Import.lookup(String member) |
Selection |
Library.lookupClass(String name) |
Selection |
Library.lookupMember(String name,
String member) |
void |
Definition.translate(Ag semantics,
Transport transport,
Grammar grammar) |
static void |
Path.translate(Syntax syntax,
Definition source,
Definition target)
Creates a path with no steps
|
static void |
Path.translate(Syntax syntax,
Definition source,
int[] moves,
int[] symbols,
Definition target,
int modifier)
Creates a path with 1+ steps
|
static void |
Path.translate(Syntax syntax,
Definition source,
int move,
net.oneandone.sushi.util.IntBitSet stopper,
List<Definition> targets,
int modifier) |
| Constructor and Description |
|---|
Definition(boolean main,
Grammar grm,
int symbol,
String name,
Object constructor) |
Internal(String name) |
| Constructor and Description |
|---|
ParserTable(int startState,
int stateCount,
int symbolCount,
int eofSymbol,
Grammar grm,
char[] modes) |
| Modifier and Type | Method and Description |
|---|---|
ParserTable |
PDA.createTable(int lastSymbol,
ConflictHandler handler) |
| Modifier and Type | Class and Description |
|---|---|
class |
ActionException |
| Modifier and Type | Method and Description |
|---|---|
static ScannerFactory |
ScannerFactory.create(FA fa,
int errorSi,
ParserTable parserTable,
net.oneandone.sushi.util.IntBitSet whites,
PrintWriter verbose,
PrintWriter listing) |
static ScannerFactory |
ScannerFactory.createSimple(FA fa,
int errorSi,
net.oneandone.sushi.util.IntBitSet terminals) |
static List |
Modes.generate(FA fa,
ParserTable table,
net.oneandone.sushi.util.IntBitSet whites,
PrintWriter listing) |
| Modifier and Type | Method and Description |
|---|---|
List<Attribute>[][] |
OagBuilder.createA(net.oneandone.graph.Graph<Attribute>[] ids)
Computes Axy.
|
static List<Attribute>[] |
Partition.createA(Set synthesized,
Set inherited,
net.oneandone.graph.Graph idsX) |
Oag |
Ag.createSemantics(List<Attribute> firstAttrs) |
Visits[] |
OagBuilder.createVisits(net.oneandone.graph.Graph<AttributeOccurrence>[] edp,
List<Attribute>[][] as) |
static Visits |
Visits.forEDP(int prod,
net.oneandone.graph.Graph<AttributeOccurrence> edp,
Ag sems,
List<Attribute>[][] as,
Layout layout) |
static Visits[] |
OagBuilder.run(Ag ag,
Layout layout,
PrintWriter verbose) |
Copyright © 1998–2017 1&1. All rights reserved.