|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.erights.e.elang.scope.EvalContext
Untamed:
Field Summary | |
private static int |
LOCAL_COUNT
|
private Object[] |
myFields
|
private Object[] |
myLocals
|
private OuterScope |
myOuters
|
private static Object[] |
NO_FIELDS
|
Constructor Summary | |
private |
EvalContext(Object[] locals,
Object[] fields,
OuterScope outers)
|
Method Summary | |
EvalContext |
extended(int localCount)
Enabled: returns a new Scope that inherits from this one. |
Object |
field(int index)
Enabled: |
void |
initField(int index,
Object value)
Enabled: |
void |
initLocal(int index,
Object value)
Enabled: |
void |
initOuter(int index,
Slot value)
Enabled: |
Object |
local(int index)
Enabled: |
static EvalContext |
make(int localCount,
Object[] fields,
OuterScope outers)
Enabled: |
static EvalContext |
make(int localCount,
OuterScope outers)
Enabled: |
Slot |
outer(int index)
Enabled: |
OuterScope |
outers()
Enabled: |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final int LOCAL_COUNT
private static final Object[] NO_FIELDS
private final Object[] myLocals
private final Object[] myFields
private final OuterScope myOuters
Constructor Detail |
private EvalContext(Object[] locals, Object[] fields, OuterScope outers)
Method Detail |
public static EvalContext make(int localCount, Object[] fields, OuterScope outers)
public static EvalContext make(int localCount, OuterScope outers)
public EvalContext extended(int localCount)
public Object local(int index)
public Object field(int index)
public Slot outer(int index)
public OuterScope outers()
public void initLocal(int index, Object value)
public void initField(int index, Object value)
public void initOuter(int index, Slot value)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |