koala.dynamicjava.tree
Class ContinueStatement

java.lang.Object
  extended by koala.dynamicjava.tree.Node
      extended by koala.dynamicjava.tree.Statement
          extended by koala.dynamicjava.tree.ContinueStatement
All Implemented Interfaces:
SourceInfo.Wrapper

public class ContinueStatement
extends Statement

This class represents the continue statement nodes of the syntax tree

Version:
1.0 - 1999/05/23
Author:
Stephane Hillion

Constructor Summary
ContinueStatement(String label)
          Creates a new while statement
ContinueStatement(String label, SourceInfo si)
          Creates a new while statement
 
Method Summary
<T> T
acceptVisitor(Visitor<T> visitor)
          Allows a visitor to traverse the tree
 String getLabel()
          Gets the label
 void setLabel(String s)
          Sets the label
 String toString()
          Implementation of toString for use in unit testing
 
Methods inherited from class koala.dynamicjava.tree.Node
archiveProperties, getProperties, getProperty, getSourceInfo, hasProperty, setProperty, setSourceInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContinueStatement

public ContinueStatement(String label)
Creates a new while statement

Parameters:
label - the label

ContinueStatement

public ContinueStatement(String label,
                         SourceInfo si)
Creates a new while statement

Parameters:
label - the label
Method Detail

getLabel

public String getLabel()
Gets the label


setLabel

public void setLabel(String s)
Sets the label


acceptVisitor

public <T> T acceptVisitor(Visitor<T> visitor)
Allows a visitor to traverse the tree

Specified by:
acceptVisitor in class Node
Parameters:
visitor - the visitor to accept

toString

public String toString()
Implementation of toString for use in unit testing

Overrides:
toString in class Object