/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XML.java
for ( int i = 0; i < this.node.getChildCount ( ) ; i++ ) { if ( this.node.getChild ( i ) .isSameNode ( child.node ) ) { return i; }
XmlNode[] nodes = getNodesForInsert(xml); this.node.insertChildrenAt(this.node.getChildCount(), nodes); } return this; } private int getChildIndexOf(XML child) { <extra_id_0> } return -1; } XML insertChildBefore(XML child, Object xml) { if (child == null) { appendChild(xml);