Package org.codehaus.groovy.ast.stmt
Class ExpressionStatement
java.lang.Object
org.codehaus.groovy.ast.ASTNode
org.codehaus.groovy.ast.stmt.Statement
org.codehaus.groovy.ast.stmt.ExpressionStatement
- All Implemented Interfaces:
NodeMetaDataHandler
public class ExpressionStatement extends Statement
A simple statement such as a method call where the return value is ignored
-
Constructor Summary
Constructors Constructor Description ExpressionStatement(Expression expression)
-
Method Summary
Modifier and Type Method Description Expression
getExpression()
java.lang.String
getText()
void
setExpression(Expression expression)
java.lang.String
toString()
void
visit(GroovyCodeVisitor visitor)
Methods inherited from class org.codehaus.groovy.ast.stmt.Statement
addStatementLabel, copyStatementLabels, getStatementLabel, getStatementLabels, isEmpty, setStatementLabel
Methods inherited from class org.codehaus.groovy.ast.ASTNode
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.codehaus.groovy.ast.NodeMetaDataHandler
copyNodeMetaData, getNodeMetaData, getNodeMetaData, getNodeMetaData, putNodeMetaData, removeNodeMetaData, setNodeMetaData