public final class Context extends java.lang.Object implements IContext<Context>, DeepImmutable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Checks whether this context is equal to the given object.
|
ContextArguments |
getFunArgs()
Returns the function arguments.
|
LocalContext |
getLocalContext()
Returns the local context information.
|
LocalContext |
getLocalContextAtEntry()
Returns the local context at entry information.
|
java.util.Map<java.lang.Integer,Value> |
getSpecialRegisters()
Returns the special registers map.
|
Value |
getThisVal()
Returns the this-value.
|
int |
hashCode()
Computes a hash code for this context.
|
static Context |
make(Value thisval,
ContextArguments funArgs,
java.util.Map<java.lang.Integer,Value> specialRegs,
LocalContext localContext,
LocalContext localContextAtEntry) |
Context |
makeEntryContext()
Reconstructs the context at function or for-in entry.
|
java.lang.String |
toString()
Returns a description of this context.
|
public boolean equals(java.lang.Object obj)
IContext
public ContextArguments getFunArgs()
public LocalContext getLocalContext()
public LocalContext getLocalContextAtEntry()
public java.util.Map<java.lang.Integer,Value> getSpecialRegisters()
public Value getThisVal()
public int hashCode()
IContext
public static Context make(Value thisval, ContextArguments funArgs, java.util.Map<java.lang.Integer,Value> specialRegs, LocalContext localContext, LocalContext localContextAtEntry)
public Context makeEntryContext()
makeEntryContext
in interface IContext<Context>
Copyright © 2009-2019 Aarhus University