org.codehaus.groovy.ast.stmt
Class ReturnStatement
java.lang.Object
org.codehaus.groovy.ast.ASTNode
org.codehaus.groovy.ast.stmt.Statement
org.codehaus.groovy.ast.stmt.ReturnStatement
- public class ReturnStatement
- extends Statement
A return statement
- Version:
- $Revision: 1.3 $
- Author:
- James Strachan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RETURN_NULL
public static final ReturnStatement RETURN_NULL
RETURN_VOID
public static final ReturnStatement RETURN_VOID
ReturnStatement
public ReturnStatement(Expression expression)
visit
public void visit(GroovyCodeVisitor visitor)
- Overrides:
visit
in class ASTNode
getExpression
public Expression getExpression()
getText
public String getText()
- Overrides:
getText
in class ASTNode
Copyright © 2003-2004 The Codehaus. All Rights Reserved.