org.erights.e.elang.evm
Class FrameFinalNounExpr
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.FrameFinalNounExpr
- All Implemented Interfaces:
- Cloneable, EPrintable, MatchMaker
- public class FrameFinalNounExpr
- extends NounExpr
Untamed: What an object expression evaluates to.
- Author:
- E. Dean Tribble
Fields inherited from class org.erights.e.elang.evm.NounExpr |
|
Fields inherited from class org.erights.e.elang.evm.ENode |
|
Methods inherited from class org.erights.e.elang.evm.ENode |
cleanCopy, copy, getOptPatternMap, getOptScopeMap, getPatternMap, getScopeMap, qbuild, setPatternMap, setScopeMap, staticScope, synEnv |
myIndex
private final int myIndex
FrameFinalNounExpr
FrameFinalNounExpr(SourceSpan optSpan,
String name,
int index)
mayBeAssignable
public boolean mayBeAssignable()
- Enabled:
- Specified by:
mayBeAssignable
in class NounExpr
getSlot
public Slot getSlot(EvalContext ctx)
- Enabled:
- Overrides:
getSlot
in class NounExpr
subEval
protected Object subEval(EvalContext ctx,
boolean forValue)
- Description copied from class:
NounExpr
- Default implementation of noun eval in terms of its slot.
- Overrides:
subEval
in class NounExpr
subPrintOn
public void subPrintOn(TextWriter out,
int priority)
throws IOException
- Enabled:
- Overrides:
subPrintOn
in class NounExpr
IOException
getRepresentation
public 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.
- Overrides:
getRepresentation
in class NounExpr
asFieldAt
public NounExpr asFieldAt(int index)
- Enabled:
- Overrides:
asFieldAt
in class NounExpr
initFinal
public void initFinal(EvalContext ctx,
Object value)
- Enabled:
- Overrides:
initFinal
in class NounExpr
comments?