Class CaseStatement

java.lang.Object
All Implemented Interfaces:
NodeMetaDataHandler

public class CaseStatement
extends Statement
Represents a case statement in a switch statement
  • Constructor Details

  • Method Details

    • getCode

      public Statement getCode()
    • setCode

      public void setCode​(Statement code)
    • getExpression

      public Expression getExpression()
    • setExpression

      public void setExpression​(Expression e)
    • visit

      public void visit​(GroovyCodeVisitor visitor)
      Overrides:
      visit in class ASTNode
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object