MCPcopy Index your code
hub / github.com/apache/groovy / appendNodes

Method appendNodes

src/main/java/groovy/util/Node.java:278–284  ·  view source on GitHub ↗
(Closure c)

Source from the content-addressed store, hash-verified

276 }
277
278 private void appendNodes(Closure c) {
279 List tail = getTail();
280 for (Node child : buildChildrenFromClosure(c)) {
281 parent().appendNode(child.name(), child.attributes(), child.value());
282 }
283 parent().children().addAll(tail);
284 }
285
286 private static List<Node> buildChildrenFromClosure(Closure c) {
287 NodeBuilder b = new NodeBuilder();

Callers 2

replaceNodeMethod · 0.95
plusMethod · 0.95

Calls 9

getTailMethod · 0.95
parentMethod · 0.95
nameMethod · 0.65
appendNodeMethod · 0.45
attributesMethod · 0.45
valueMethod · 0.45
addAllMethod · 0.45
childrenMethod · 0.45

Tested by

no test coverage detected