edu.rice.cs.javalanglevels.tree
Class ReturnStatement
java.lang.Object
edu.rice.cs.javalanglevels.tree.JExpression
edu.rice.cs.javalanglevels.tree.Statement
edu.rice.cs.javalanglevels.tree.ReturnStatement
- All Implemented Interfaces:
- BodyItemI, JExpressionIF
- Direct Known Subclasses:
- ValueReturnStatement, VoidReturnStatement
public abstract class ReturnStatement
- extends Statement
Class ReturnStatement, a component of the JExpressionIF composite hierarchy.
Note: null is not allowed as a value for any field.
- Version:
- Generated automatically by ASTGen at Sun Mar 04 23:01:27 CST 2012
ReturnStatement
public ReturnStatement(SourceInfo in_sourceInfo)
- Constructs a ReturnStatement.
- Throws:
IllegalArgumentException - If any parameter to the constructor is null.
visit
public abstract <RetType> RetType visit(JExpressionIFVisitor<RetType> visitor)
- Specified by:
visit in interface JExpressionIF- Specified by:
visit in class Statement
visit
public abstract void visit(JExpressionIFVisitor_void visitor)
- Specified by:
visit in interface JExpressionIF- Specified by:
visit in class Statement
outputHelp
public abstract void outputHelp(TabPrintWriter writer)
- Specified by:
outputHelp in interface JExpressionIF- Specified by:
outputHelp in class Statement
generateHashCode
protected abstract int generateHashCode()
- Specified by:
generateHashCode in class Statement