cs132.vapor.ast
Class VMemRef

java.lang.Object
  extended by cs132.vapor.ast.Node
      extended by cs132.vapor.ast.VMemRef
Direct Known Subclasses:
VMemRef.Global, VMemRef.Stack

public abstract class VMemRef
extends Node

A reference to a memory location. Used in VMemRead and VMemWrite.

There are two types of memory locations: VMemRef.Global and VMemRef.Stack.


Nested Class Summary
static class VMemRef.Global
          A reference to some global memory location (either a segment or the heap).
static class VMemRef.Stack
          A reference to some global memory location (either a segment or the heap).
 
Field Summary
 
Fields inherited from class cs132.vapor.ast.Node
sourcePos
 
Constructor Summary
protected VMemRef(SourcePos sourcePos)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VMemRef

protected VMemRef(SourcePos sourcePos)