| Package | Description |
|---|---|
| net.oneandone.mork.grammar |
Context free grammars.
|
| net.oneandone.mork.pda |
LR(k) parser construction.
|
| Modifier and Type | Method and Description |
|---|---|
static PrefixSet |
PrefixSet.one(int... symbols) |
PrefixSet |
Concat.result() |
| Modifier and Type | Method and Description |
|---|---|
Map<Integer,PrefixSet> |
Grammar.firsts(int k) |
| Modifier and Type | Method and Description |
|---|---|
void |
PrefixSet.addAll(PrefixSet set) |
boolean |
Concat.with(PrefixSet op)
true when done
|
| Constructor and Description |
|---|
PrefixSet(PrefixSet orig) |
| Modifier and Type | Field and Description |
|---|---|
PrefixSet |
Item.lookahead
do NOT inline this object into Item because the lookahead is shared when shifting
|
| Modifier and Type | Method and Description |
|---|---|
static Item |
Item.create(Grammar grammar,
int production,
PrefixSet lookahead) |
| Modifier and Type | Method and Description |
|---|---|
void |
State.closure(Grammar grammar,
Map<Integer,PrefixSet> firsts,
int k) |
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) |
void |
State.gotos(PDABuilder pda,
Map<Integer,PrefixSet> firsts,
Queue created,
int k) |
Copyright © 1998–2017 1&1. All rights reserved.