org.holtz.zoe
Class LabelReference

java.lang.Object
  extended by org.holtz.zoe.Expression
      extended by org.holtz.zoe.Value
          extended by org.holtz.zoe.LabelReference

public class LabelReference
extends Value

A Statement Operand that points to a Label elsewhere in the same Zoel program.

Author:
Brian Holtz

Field Summary
 Statement val
           
 
Method Summary
 LabelReference copy()
           
 java.lang.String toString()
           
 java.lang.String toString(java.lang.String statementSeparator, Expression currExpr, java.lang.String cursor)
           
 
Methods inherited from class org.holtz.zoe.Value
parse
 
Methods inherited from class org.holtz.zoe.Expression
parse, totalStatements
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

val

public Statement val
Method Detail

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

copy

public LabelReference copy()
Specified by:
copy in class Expression