cs132.vapor.ast
Class VVarRef.Local

java.lang.Object
  extended by cs132.vapor.ast.Node
      extended by cs132.vapor.ast.VOperand
          extended by cs132.vapor.ast.VVarRef
              extended by cs132.vapor.ast.VVarRef.Local
Enclosing class:
VVarRef

public static final class VVarRef.Local
extends VVarRef

A reference to a function-local variable.


Nested Class Summary
 
Nested classes/interfaces inherited from class cs132.vapor.ast.VVarRef
VVarRef.Local, VVarRef.Register
 
Nested classes/interfaces inherited from class cs132.vapor.ast.VOperand
VOperand.Static
 
Field Summary
 String ident
          The name of the register.
 int index
          The index of the register (in the VFunction.vars array)
 
Fields inherited from class cs132.vapor.ast.Node
sourcePos
 
Constructor Summary
VVarRef.Local(SourcePos sourcePos, String ident, int index)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ident

public final String ident
The name of the register.


index

public final int index
The index of the register (in the VFunction.vars array)

Constructor Detail

VVarRef.Local

public VVarRef.Local(SourcePos sourcePos,
                     String ident,
                     int index)
Method Detail

toString

public String toString()
Overrides:
toString in class Object