public boolean hasLabel() { return node.getLabel() != null; }
@Override public CAstNode visitContinueStatement(ContinueStatement node, WalkContext arg) { CAstNode continueStmt; Node target; if (node.getLabel() != null) { continueStmt = Ast.makeNode(CAstNode.GOTO, Ast.makeConstant(node.getLabel().getIdentifier())); target = arg.getContinueFor(node.getLabel().getIdentifier()); } else { continueStmt = Ast.makeNode(CAstNode.GOTO); target = arg.getContinueFor(null); } arg.cfg().map(node, continueStmt); arg.cfg().add(node, target, null); return continueStmt; }