/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLObjectImpl.java
XMLName rv = XMLName.create ( qname, attribute, descendants ) ; rv.initXMLObject ( this ) ;
boolean attribute = (memberTypeFlags & Node.ATTRIBUTE_FLAG) != 0; boolean descendants = (memberTypeFlags & Node.DESCENDANTS_FLAG) != 0; if (!attribute && !descendants) { throw Kit.codeBug(); } XmlNode.QName qname = lib.toNodeQName(cx, elem, attribute); <extra_id_0> return rv; } @Override public Ref memberRef(Context cx, Object namespace, Object elem, int memberTypeFlags) { boolean attribute = (memberTypeFlags & Node.ATTRIBUTE_FLAG) != 0; boolean descendants = (memberTypeFlags & Node.DESCENDANTS_FLAG) != 0;