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
-
ContinueStatement()
- Allocates a new ContinueStatement object.
-
ContinueStatement(Identifier)
- Allocates a new ContinueStatement object.
-
getLabel()
- Gets the label of this break statement.
-
setLabel(Identifier)
- Sets the label of this break statement.
-
writeCode()
- Writes the code this parse-tree presents for.
ContinueStatement
public ContinueStatement(Identifier label)
- Allocates a new ContinueStatement object.
- Parameters:
- label - the label name.
ContinueStatement
public ContinueStatement()
- Allocates a new ContinueStatement object.
writeCode
public void writeCode()
- Writes the code this parse-tree presents for.
- Overrides:
- writeCode in class NonLeaf
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.
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