3 public class SwitchStatementNode extends BlockStatementNode {
7 public SwitchStatementNode(ExpressionNode cond, BlockNode switch_st) {
9 this.switch_st = switch_st;
12 public ExpressionNode getCondition() {
16 public BlockNode getSwitchBody() {
17 return this.switch_st;
20 public String printNode(int indent) {
21 return "switch(" + cond.printNode(indent) + ") " + switch_st.printNode(indent);
25 return Kind.SwitchStatementNode;