<filename>client/node_modules/.cache/babel-loader/610c2dcb808e9655f097e7be4528344e.json
{"ast":null,"code":"\"use strict\";\n\nconst {\n  addConstants\n} = require(\"../utils\");\n\nmodule.exports = function (core) {\n  // https://dom.spec.whatwg.org/#interface-nodefilter\n  core.NodeFilter = function () {\n    throw new TypeError(\"Illegal constructor\");\n  };\n  /**\n   * Returns an unsigned short that will be used to tell if a given Node must\n   * be accepted or not by the NodeIterator or TreeWalker iteration\n   * algorithm. This method is expected to be written by the user of a\n   * NodeFilter.\n   *\n   * @see https://developer.mozilla.org/en-US/docs/Web/API/NodeFilter\n   * @interface\n   *\n   * @param  {Node} node DOM Node\n   * @return {FILTER_ACCEPT|FILTER_REJECT|FILTER_SKIP}\n   */\n\n\n  core.NodeFilter.acceptNode = function ()\n  /* node */\n  {\n    throw new Error(\"This method is expected to be written by the user of a NodeFilter.\");\n  };\n\n  addConstants(core.NodeFilter, {\n    // Constants for whatToShow\n    SHOW_ALL: 0xFFFFFFFF,\n    SHOW_ELEMENT: 0x00000001,\n    SHOW_ATTRIBUTE: 0x00000002,\n    SHOW_TEXT: 0x00000004,\n    SHOW_CDATA_SECTION: 0x00000008,\n    SHOW_ENTITY_REFERENCE: 0x00000010,\n    SHOW_ENTITY: 0x00000020,\n    SHOW_PROCESSING_INSTRUCTION: 0x00000040,\n    SHOW_COMMENT: 0x00000080,\n    SHOW_DOCUMENT: 0x00000100,\n    SHOW_DOCUMENT_TYPE: 0x00000200,\n    SHOW_DOCUMENT_FRAGMENT: 0x00000400,\n    SHOW_NOTATION: 0x00000800,\n    // Constants returned by acceptNode\n    FILTER_ACCEPT: 1,\n    FILTER_REJECT: 2,\n    FILTER_SKIP: 3\n  });\n};","map":{"version":3,"sources":["/Users/shengyisong/Documents/githubs/tezos-react-tutorial/client/node_modules/jsdom/lib/jsdom/living/node-filter.js"],"names":["addConstants","require","module","exports","core","NodeFilter","TypeError","acceptNode","Error","SHOW_ALL","SHOW_ELEMENT","SHOW_ATTRIBUTE","SHO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,CAAZ;AAqBD,CA3CD","sourcesContent":["\"use strict\";\nconst { addConstants } = require(\"../utils\");\n\nmodule.exports = function (core) {\n  // https://dom.spec.whatwg.org/#interface-nodefilter\n  core.NodeFilter = function () {\n    throw new TypeError(\"Illegal constructor\");\n  };\n\n  /**\n   * Returns an unsigned short that will be used to tell if a given Node must\n   * be accepted or not by the NodeIterator or TreeWalker iteration\n   * algorithm. This method is expected to be written by the user of a\n   * NodeFilter.\n   *\n   * @see https://developer.mozilla.org/en-US/docs/Web/API/NodeFilter\n   * @interface\n   *\n   * @param  {Node} node DOM Node\n   * @return {FILTER_ACCEPT|FILTER_REJECT|FILTER_SKIP}\n   */\n  core.NodeFilter.acceptNode = function (/* node */) {\n    throw new Error(\"This method is expected to be written by the user of a NodeFilter.\");\n  };\n\n  addConstants(core.NodeFilter, {\n    // Constants for whatToShow\n    SHOW_ALL: 0xFFFFFFFF,\n    SHOW_ELEMENT: 0x00000001,\n    SHOW_ATTRIBUTE: 0x00000002,\n    SHOW_TEXT: 0x00000004,\n    SHOW_CDATA_SECTION: 0x00000008,\n    SHOW_ENTITY_REFERENCE: 0x00000010,\n    SHOW_ENTITY: 0x00000020,\n    SHOW_PROCESSING_INSTRUCTION: 0x00000040,\n    SHOW_COMMENT: 0x00000080,\n    SHOW_DOCUMENT: 0x00000100,\n    SHOW_DOCUMENT_TYPE: 0x00000200,\n    SHOW_DOCUMENT_FRAGMENT: 0x00000400,\n    SHOW_NOTATION: 0x00000800,\n\n    // Constants returned by acceptNode\n    FILTER_ACCEPT: 1,\n    FILTER_REJECT: 2,\n    FILTER_SKIP: 3\n  });\n};\n"]},"metadata":{},"sourceType":"script"}