org.erights.e.elang.evm
Class LocalFinalNounExpr

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.LocalFinalNounExpr
All Implemented Interfaces:
Cloneable, EPrintable, MatchMaker

public class LocalFinalNounExpr
extends NounExpr

Untamed:

Author:
E. Dean Tribble

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
LocalFinalNounExpr(SourceSpan optSpan, String name, int index)
          Enabled:
 
Method Summary
 NounExpr asFieldAt(int index)
          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:
 void initFinal(EvalContext ctx, Object value)
          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
asNoun, assign, computeStaticScope, getIn, initSlot, isOuter, 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

myIndex

private final int myIndex
Constructor Detail

LocalFinalNounExpr

public LocalFinalNounExpr(SourceSpan optSpan,
                          String name,
                          int index)
Enabled:

Method Detail

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

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

subPrintOn

public void subPrintOn(TextWriter out,
                       int priority)
                throws IOException
Enabled:

Overrides:
subPrintOn in class NounExpr
IOException

initFinal

public void initFinal(EvalContext ctx,
                      Object value)
Enabled:

Overrides:
initFinal in class NounExpr


comments?