MCPcopy Create free account
hub / github.com/mozilla/rhino / addChildrenToBack

Method addChildrenToBack

rhino/src/main/java/org/mozilla/javascript/Node.java:259–267  ·  view source on GitHub ↗
(Node children)

Source from the content-addressed store, hash-verified

257 }
258
259 public void addChildrenToBack(Node children) {
260 if (last != null) {
261 last.next = children;
262 }
263 last = children.getLastSibling();
264 if (first == null) {
265 first = children;
266 }
267 }
268
269 /** Add 'child' before 'node'. */
270 public void addChildBefore(Node newChild, Node node) {

Callers 6

createWithMethod · 0.95
createIfMethod · 0.95
visitLetMethod · 0.80
transformScriptMethod · 0.80
createForMethod · 0.80
createLoopMethod · 0.80

Calls 1

getLastSiblingMethod · 0.80

Tested by

no test coverage detected