public class State extends Object implements Compare
| Modifier and Type | Field and Description |
|---|---|
int |
maxOcc |
int |
minOcc |
Attribute |
transportAttribute |
| Constructor and Description |
|---|
State(Attribute attribute) |
State(boolean up,
Attribute attr,
Grammar grm) |
State(State orig) |
| Modifier and Type | Method and Description |
|---|---|
void |
addArgAttrs(List<Attribute> result)
Add all argument attributes to next (if not already contained in next)
|
void |
addBlind(int i,
Attribute attr,
int ofs) |
void |
addDownTransport(int prod,
int ofs,
Attribute parent) |
void |
addUpTransport(int prod,
int ofs,
Attribute child) |
Occurrence |
calcOccurrence(AgBuffer copyBuffer,
List<Attribute> stack) |
State |
cloneAttributeTransport(Map<Attribute,Attribute> map) |
static State |
cloneEmpty(State orig) |
int |
compare(State rightState,
List<Attribute> nextLefts,
List<Attribute> nextRights) |
void |
createSemanticsBuffer(Ag sems,
Transport transport) |
Attribute |
getAttribute() |
void |
getSequence(int seq,
List<Attribute> nextAttrs,
net.oneandone.sushi.util.IntArrayList nextOfss,
net.oneandone.sushi.util.IntArrayList nextSeqs,
AgBuffer cb) |
boolean |
isDownOptional()
Is down optional.
|
static State |
merge(Map<Attribute,Merger> mapping,
List<State> copies) |
boolean |
recalcOccurrence(AgBuffer cb) |
String |
toRawString() |
String |
toString() |
String |
toString(boolean raw) |
public int minOcc
public int maxOcc
public final Attribute transportAttribute
public void addUpTransport(int prod,
int ofs,
Attribute child)
public void addDownTransport(int prod,
int ofs,
Attribute parent)
public Attribute getAttribute()
public void addArgAttrs(List<Attribute> result)
public boolean isDownOptional()
public Occurrence calcOccurrence(AgBuffer copyBuffer, List<Attribute> stack)
public void getSequence(int seq,
List<Attribute> nextAttrs,
net.oneandone.sushi.util.IntArrayList nextOfss,
net.oneandone.sushi.util.IntArrayList nextSeqs,
AgBuffer cb)
public void addBlind(int i,
Attribute attr,
int ofs)
public boolean recalcOccurrence(AgBuffer cb)
public String toRawString()
public String toString(boolean raw)
Copyright © 1998–2017 1&1. All rights reserved.