org.holtz.zoe
Class RegisterReference
java.lang.Object
org.holtz.zoe.Expression
org.holtz.zoe.Value
org.holtz.zoe.RegisterReference
public class RegisterReference
- extends Value
A Bug
attribute referenced as a Statement's Operand
in a Zoel
program.
- Author:
- Brian Holtz
Nested Class Summary |
static class |
RegisterReference.Whose
Whether a RegisterReference refers to the bug itself or to the bug it last sensed. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
reg
public Register reg
who
public RegisterReference.Whose who
RegisterReference
public RegisterReference(RegisterReference obj2Copy)
copy
public RegisterReference copy()
- Specified by:
copy
in class Expression
toString
public java.lang.String toString(java.lang.String statementSeparator,
Expression currExpr,
java.lang.String cursor)
- Specified by:
toString
in class Expression
toString
public java.lang.String toString()
- Specified by:
toString
in class Expression
is
public static boolean is(java.lang.String sval)
parse
public static RegisterReference parse(ZoelTokenizer zoelTokenizer)
throws java.lang.Exception
- Throws:
java.lang.Exception
parse
public static RegisterReference parse(java.lang.String sval)
throws java.lang.Exception
- Throws:
java.lang.Exception