cs132.vapor.ast
Class VMemRef.Stack
java.lang.Object
cs132.vapor.ast.Node
cs132.vapor.ast.VMemRef
cs132.vapor.ast.VMemRef.Stack
- Enclosing class:
- VMemRef
public static final class VMemRef.Stack
- extends VMemRef
A reference to some global memory location (either a segment or the heap).
Ex: "in[2]
" or "local[0]
".
Field Summary |
int |
index
The index into the array this stack memory reference is referring to. |
VMemRef.Stack.Region |
region
The region this stack memory reference is referring to. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
region
public final VMemRef.Stack.Region region
- The region this stack memory reference is referring to.
index
public final int index
- The index into the array this stack memory reference is referring to.
VMemRef.Stack
public VMemRef.Stack(SourcePos sourcePos,
VMemRef.Stack.Region region,
int index)