Node resultNode = getReplacementReturnStatement(current, resultName);
Node name = Node.newString(Token.LABEL_NAME, labelName);
Node breakNode = new Node(Token.BREAK, name);
// Replace the node in parent, and reset current to the first new child.
breakNode.copyInformationFromForTree(current);
parent.replaceChild(current, breakNode);
if (resultNode != null) {
resultNode.copyInformationFromForTree(current);
parent.addChildBefore(resultNode, breakNode);
}