org.codehaus.groovy.ast.stmt
Class CaseStatement
java.lang.Object
org.codehaus.groovy.ast.ASTNode
org.codehaus.groovy.ast.stmt.Statement
org.codehaus.groovy.ast.stmt.CaseStatement
- public class CaseStatement
- extends Statement
Represents a case statement in a switch statement
- Version:
- $Revision: 1.3 $
- Author:
- James Strachan
Fields inherited from class org.codehaus.groovy.ast.stmt.Statement |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
code
private Statement code
expression
private Expression expression
CaseStatement
public CaseStatement(Expression expression,
Statement code)
getCode
public Statement getCode()
getExpression
public Expression getExpression()
visit
public void visit(GroovyCodeVisitor visitor)
- Overrides:
visit
in class ASTNode
toString
public java.lang.String toString()
Copyright © 2003-2005 The Codehaus. All Rights Reserved.