All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class openjava.ptree.ContinueStatement

java.lang.Object
   |
   +----openjava.ptree.PtreeObject
           |
           +----openjava.ptree.NonLeaf
                   |
                   +----openjava.ptree.ContinueStatement

public class ContinueStatement
extends NonLeaf
implements Statement
The ContinueStatement class represents a continue statement node of parse tree.

See Also:
Ptree, NonLeaf, Statement, Identifier

Constructor Index

 o ContinueStatement()
Allocates a new ContinueStatement object.
 o ContinueStatement(Identifier)
Allocates a new ContinueStatement object.

Method Index

 o getLabel()
Gets the label of this break statement.
 o setLabel(Identifier)
Sets the label of this break statement.
 o writeCode()
Writes the code this parse-tree presents for.

Constructors

 o ContinueStatement
 public ContinueStatement(Identifier label)
Allocates a new ContinueStatement object.

Parameters:
label - the label name.
 o ContinueStatement
 public ContinueStatement()
Allocates a new ContinueStatement object.

Methods

 o writeCode
 public void writeCode()
Writes the code this parse-tree presents for.

Overrides:
writeCode in class NonLeaf
 o getLabel
 public Identifier getLabel()
Gets the label of this break statement.

Returns:
the label name. If there is no label then this method returns null.
 o setLabel
 public void setLabel(Identifier label)
Sets the label of this break statement.

Parameters:
label - the label.

All Packages  Class Hierarchy  This Package  Previous  Next  Index