|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.erights.e.elang.evm.ParseNode | +--org.erights.e.elang.evm.ENode | +--org.erights.e.elang.evm.EExpr | +--org.erights.e.elang.evm.AtomicExpr | +--org.erights.e.elang.evm.NounExpr | +--org.erights.e.elang.evm.TopNounExpr | +--org.erights.e.elang.evm.OuterNounExpr
Untamed:
Field Summary | |
private int |
myIndex
|
Fields inherited from class org.erights.e.elang.evm.NounExpr |
|
Fields inherited from class org.erights.e.elang.evm.ENode |
|
Fields inherited from class org.erights.e.elang.evm.ParseNode |
NUM_PR, PR_ASSIGN, PR_CALL, PR_COMP, PR_EEXPR, PR_LISTPATT, PR_ORDER, PR_PATTERN, PR_PRIM, PR_START |
Constructor Summary | |
OuterNounExpr(SourceSpan optSpan,
String name,
int index)
Enabled: |
Method Summary | |
int |
getIndex()
Enabled: |
Object |
getRepresentation(EvalContext ctx)
Enabled: Return the kind of object that should be stored in a frame, assuming an accessor of the same type as the receiver. |
Slot |
getSlot(EvalContext ctx)
Enabled: |
Slot |
getTopSlot(OuterScope outers)
Enabled: |
void |
initSlot(EvalContext ctx,
Slot slot)
Enabled: |
boolean |
isOuter()
Enabled: |
boolean |
mayBeAssignable()
Enabled: |
protected Object |
subEval(EvalContext ctx,
boolean forValue)
Default implementation of noun eval in terms of its slot. |
void |
subPrintOn(TextWriter out,
int priority)
Enabled: |
Methods inherited from class org.erights.e.elang.evm.NounExpr |
asFieldAt, asNoun, assign, computeStaticScope, getIn, initFinal, matchBind, name, welcome |
Methods inherited from class org.erights.e.elang.evm.EExpr |
__printOn, appendAllTo, appendTo, eval, eval, evalBool, printAsBlockOn, substitute, transform |
Methods inherited from class org.erights.e.elang.evm.ENode |
cleanCopy, copy, getOptPatternMap, getOptScopeMap, getPatternMap, getScopeMap, qbuild, setPatternMap, setScopeMap, staticScope, synEnv |
Methods inherited from class org.erights.e.elang.evm.ParseNode |
asText, getOptSpan, lnPrintOn, lnPrintOn, matchBind, matchBind, matchBind, printListOn, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private final int myIndex
Constructor Detail |
public OuterNounExpr(SourceSpan optSpan, String name, int index)
Method Detail |
public boolean mayBeAssignable()
mayBeAssignable
in class NounExpr
public boolean isOuter()
isOuter
in class NounExpr
public Slot getSlot(EvalContext ctx)
getSlot
in class NounExpr
public Slot getTopSlot(OuterScope outers)
getTopSlot
in class TopNounExpr
public int getIndex()
protected Object subEval(EvalContext ctx, boolean forValue)
NounExpr
subEval
in class NounExpr
public Object getRepresentation(EvalContext ctx)
getRepresentation
in class NounExpr
public void subPrintOn(TextWriter out, int priority) throws IOException
subPrintOn
in class NounExpr
IOException
public void initSlot(EvalContext ctx, Slot slot)
initSlot
in class NounExpr
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |