cs132.vapor.ast
Class VVarRef.Register
java.lang.Object
cs132.vapor.ast.Node
cs132.vapor.ast.VOperand
cs132.vapor.ast.VVarRef
cs132.vapor.ast.VVarRef.Register
- Enclosing class:
- VVarRef
public static final class VVarRef.Register
- extends VVarRef
A reference to a global register.
Field Summary |
String |
ident
The name of the register. |
int |
index
The index of the register (based on the array passed in to the parser) |
ident
public final String ident
- The name of the register.
index
public final int index
- The index of the register (based on the array passed in to the parser)
VVarRef.Register
public VVarRef.Register(SourcePos sourcePos,
String ident,
int index)
toString
public String toString()
- Overrides:
toString
in class Object