public final class MemoryAccessContext
extends java.lang.Object
MemoryAccessContext
contains data required for buffer access instantiation.Modifier and Type | Field and Description |
---|---|
static int |
BUFFER_ACCESS_INITIAL_ID |
static MemoryAccessContext |
EMPTY |
Constructor and Description |
---|
MemoryAccessContext() |
MemoryAccessContext(MemoryAccessContext r) |
MemoryAccessContext(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
void |
doAccess(MmuBufferAccess bufferAccess) |
MemoryAccessStack.Frame |
doCall(java.lang.String frameId) |
MemoryAccessStack.Frame |
doReturn() |
int |
getBufferAccessId(MmuBuffer buffer) |
IntegerField |
getInstance(int instanceId,
IntegerField field) |
IntegerVariable |
getInstance(int instanceId,
IntegerVariable variable) |
MemoryAccessStack |
getMemoryAccessStack() |
boolean |
isEmptyStack() |
java.lang.String |
toString() |
public static final int BUFFER_ACCESS_INITIAL_ID
public static final MemoryAccessContext EMPTY
public MemoryAccessContext()
public MemoryAccessContext(java.lang.String id)
public MemoryAccessContext(MemoryAccessContext r)
public boolean isEmptyStack()
public int getBufferAccessId(MmuBuffer buffer)
public MemoryAccessStack getMemoryAccessStack()
public void doAccess(MmuBufferAccess bufferAccess)
public MemoryAccessStack.Frame doCall(java.lang.String frameId)
public MemoryAccessStack.Frame doReturn()
public IntegerVariable getInstance(int instanceId, IntegerVariable variable)
public IntegerField getInstance(int instanceId, IntegerField field)
public java.lang.String toString()
toString
in class java.lang.Object