| Package | Description |
|---|---|
| net.oneandone.mork.mapping |
Implements the mapping concept.
|
| net.oneandone.mork.semantics |
Data types for attribute grammars.
|
| Modifier and Type | Method and Description |
|---|---|
Attribute |
Definition.getAttribute() |
Attribute |
Argument.getAttribute() |
Attribute |
Internal.translate(int symbol,
Grammar grm) |
| Modifier and Type | Method and Description |
|---|---|
static List<Attribute> |
Conversion.getAttributes(List<Argument> args) |
| Modifier and Type | Method and Description |
|---|---|
void |
Internal.declare(Attribute attr,
Ag sems) |
| Modifier and Type | Method and Description |
|---|---|
static Function |
Conversion.find(Selection selection,
Definition def,
List<Argument> args,
List<Attribute> outAttrs) |
Function |
Transport.getTransportFn(List<Attribute> src,
int destCard) |
| Modifier and Type | Field and Description |
|---|---|
Attribute |
AttributeOccurrence.attr |
Attribute |
Merger.dest
attribute resulting from the merger
|
Attribute |
State.transportAttribute |
| Modifier and Type | Method and Description |
|---|---|
Attribute |
AgBuffer.cloneAttributes(AgBuffer orig,
Type type,
Attribute seed)
Clones this buffer but replaces all transport attributes with new attributes
of the specified type.
|
Attribute |
AgBuffer.createSequence(Attribute start,
int seq,
AgBuffer result) |
static Attribute |
Attribute.find(List<Attribute> attrs,
int symbol,
String name) |
Attribute |
Alternative.getArgAttribute(int i) |
Attribute |
State.getAttribute() |
Attribute |
AgBuffer.getStart() |
static Attribute |
Merger.map(Map<Attribute,Merger> mapping,
Attribute attr) |
Attribute |
AgBuffer.merge(List<AgBuffer> copyBuffers,
int symbol,
Type mergedType)
Merge all attributes with >0 attributions buffers.
|
| Modifier and Type | Method and Description |
|---|---|
List<Attribute> |
AgBuffer.getTransportAttributes()
TODO: get rid of this method ...
|
| Modifier and Type | Method and Description |
|---|---|
void |
Layout.add(Attribute attr) |
void |
Ag.add(Attribute a,
int no) |
void |
Alternative.add(int ofs,
Attribute copy) |
void |
State.addBlind(int i,
Attribute attr,
int ofs) |
void |
State.addDownTransport(int prod,
int ofs,
Attribute parent) |
void |
State.addUpTransport(int prod,
int ofs,
Attribute child) |
int |
AgBuffer.calcCard(Attribute root) |
Occurrence |
AgBuffer.calcOccurrence(Attribute start) |
Occurrence |
AgBuffer.calcOccurrence(List<Attribute> stack,
Attribute start) |
Attribute |
AgBuffer.cloneAttributes(AgBuffer orig,
Type type,
Attribute seed)
Clones this buffer but replaces all transport attributes with new attributes
of the specified type.
|
boolean |
Alternative.contains(int ofs,
Attribute attr) |
AgBuffer |
AgBuffer.createReduced(Attribute start)
Can be used for both down and up transport.
|
Attribute |
AgBuffer.createSequence(Attribute start,
int seq,
AgBuffer result) |
int |
AgBuffer.getWidth(Attribute attr) |
boolean |
Ag.isInternal(Attribute attr) |
int |
Layout.locate(Attribute attr) |
State |
AgBuffer.lookup(Attribute attr) |
static Attribute |
Merger.map(Map<Attribute,Merger> mapping,
Attribute attr) |
static AgBuffer |
Pusher.run(boolean down,
Attribute seed,
net.oneandone.sushi.util.IntBitSet border,
Grammar grm) |
void |
AgBuffer.setStart(Attribute start) |
| Modifier and Type | Method and Description |
|---|---|
void |
Alternative.addAll(net.oneandone.sushi.util.IntArrayList argsOfs,
List<Attribute> argsCopy) |
void |
State.addArgAttrs(List<Attribute> result)
Add all argument attributes to next (if not already contained in next)
|
void |
Alternative.addArgAttrs(List<Attribute> next)
Add all argument attributes to next (if not already contained in next)
|
Occurrence |
State.calcOccurrence(AgBuffer copyBuffer,
List<Attribute> stack) |
Occurrence |
AgBuffer.calcOccurrence(List<Attribute> stack,
Attribute start) |
State |
State.cloneAttributeTransport(Map<Attribute,Attribute> map) |
State |
State.cloneAttributeTransport(Map<Attribute,Attribute> map) |
int |
State.compare(State rightState,
List<Attribute> nextLefts,
List<Attribute> nextRights) |
int |
State.compare(State rightState,
List<Attribute> nextLefts,
List<Attribute> nextRights) |
Oag |
Ag.createSemantics(List<Attribute> firstAttrs) |
static Attribute |
Attribute.find(List<Attribute> attrs,
int symbol,
String name) |
void |
Ag.getAttributes(int symbol,
Set<Attribute> internal,
Set<Attribute> synthesized,
Set<Attribute> inherited)
Besides the classic synthesized and inherited attributes, I have internal attributes.
|
void |
Ag.getAttributes(int symbol,
Set<Attribute> internal,
Set<Attribute> synthesized,
Set<Attribute> inherited)
Besides the classic synthesized and inherited attributes, I have internal attributes.
|
void |
Ag.getAttributes(int symbol,
Set<Attribute> internal,
Set<Attribute> synthesized,
Set<Attribute> inherited)
Besides the classic synthesized and inherited attributes, I have internal attributes.
|
void |
State.getSequence(int seq,
List<Attribute> nextAttrs,
net.oneandone.sushi.util.IntArrayList nextOfss,
net.oneandone.sushi.util.IntArrayList nextSeqs,
AgBuffer cb) |
static Attribute |
Merger.map(Map<Attribute,Merger> mapping,
Attribute attr) |
static State |
State.merge(Map<Attribute,Merger> mapping,
List<State> copies) |
| Constructor and Description |
|---|
AgBuffer(Attribute start) |
Attribute(Attribute orig) |
AttributeOccurrence(Attribute attr,
int ofs) |
State(Attribute attribute) |
State(boolean up,
Attribute attr,
Grammar grm) |
Copyright © 1998–2017 1&1. All rights reserved.