org.holtz.zoe.zoel
Class LabelReference

java.lang.Object
  extended by org.holtz.zoe.zoel.Expression
      extended by org.holtz.zoe.zoel.Value
          extended by org.holtz.zoe.zoel.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
 ExpressionList 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.zoel.Value
parse
 
Methods inherited from class org.holtz.zoe.zoel.Expression
isFertile, nthStatement, parse, random, totalStatements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

val

public ExpressionList 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