3 public class SwitchLabelNode extends BlockStatementNode {
7 public SwitchLabelNode(ExpressionNode cond, boolean isdefault) {
9 this.isdefault = isdefault;
12 public ExpressionNode getCondition() {
16 public boolean isDefault() {
17 return this.isdefault;
20 public String printNode(int indent) {
22 return "case default: ";
24 return "case " + cond.printNode(indent) + ": ";
28 return Kind.SwitchLabelNode;