edu.ksu.cis.projects.bogor.ast
Class SkipStatement
java.lang.Object
edu.ksu.cis.projects.bogor.ast.Node
edu.ksu.cis.projects.bogor.ast.Statement
edu.ksu.cis.projects.bogor.ast.SkipStatement
- All Implemented Interfaces:
- IExpParent, Disposable, Serializable, Cloneable
public class SkipStatement
- extends Statement
- implements IExpParent
The skip statement AST.
- Version:
- CVS $Revision: 1.1 $ $Date: 2005/02/02 01:51:38 $
- Author:
- Robby
- See Also:
- Serialized Form
SkipStatement
public SkipStatement()
- Default constructor.
clone
public SkipStatement clone()
- Clones this object (deep clone); including location info.
- Specified by:
clone
in class Statement
- Returns:
- The clone of this object. Non-null.
dispose
public void dispose()
- Disposes exp. Can be called repeatedly. Once called, avoid using this
object.
- Specified by:
dispose
in interface Disposable
- Overrides:
dispose
in class Statement
visit
public void visit(ASTVisitor visitor)
- Specified by:
visit
in class Node
toString
protected String toString(String indent)
- Returns the string representation of this object.
- Specified by:
toString
in class Statement
- Parameters:
indent
- The indentation for this statement.
- Returns:
"return [exp];\n".