org.erights.e.elang.evm
Class FrameSlotNounExpr

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

public class FrameSlotNounExpr
extends NounExpr

Untamed: What an object expression evaluates to.

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
(package private) FrameSlotNounExpr(SourceSpan optSpan, String name, int index)
           
 
Method Summary
 NounExpr asFieldAt(int index)
          Enabled:
 Slot getSlot(EvalContext ctx)
          Enabled:
 void initSlot(EvalContext ctx, Slot slot)
          Enabled:
 boolean mayBeAssignable()
          Enabled:
 void subPrintOn(TextWriter out, int priority)
          Enabled:
 
Methods inherited from class org.erights.e.elang.evm.NounExpr
asNoun, assign, computeStaticScope, getIn, getRepresentation, initFinal, isOuter, matchBind, name, subEval, 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

FrameSlotNounExpr

FrameSlotNounExpr(SourceSpan optSpan,
                  String name,
                  int index)
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

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

initSlot

public void initSlot(EvalContext ctx,
                     Slot slot)
Enabled:

Overrides:
initSlot in class NounExpr


comments?