@Override public void traverse(JsVisitor v, JsContext ctx) { if (v.visit(this, ctx)) { ifExpr = v.accept(ifExpr); thenStmt = v.accept(thenStmt); if (elseStmt != null) { elseStmt = v.accept(elseStmt); } } v.endVisit(this, ctx); }
@Override public void acceptChildren(JsVisitor visitor) { visitor.accept(caseExpression); super.acceptChildren(visitor); }
@Override public void acceptChildren(JsVisitor visitor) { visitor.acceptWithInsertRemove(getParameters()); visitor.accept(body); }