mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 07:41:01 +00:00
1 line
3.5 KiB
Plaintext
1 line
3.5 KiB
Plaintext
{"dependencies":[{"name":"../common/List","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":36,"index":36}}],"key":"O1BxckxP8xea+N4BLQHDv6IfpVU=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n var List = require(_dependencyMap[0], \"../common/List\");\n module.exports = function createConvertors(walk) {\n return {\n fromPlainObject: function (ast) {\n walk(ast, {\n enter: function (node) {\n if (node.children && node.children instanceof List === false) {\n node.children = new List().fromArray(node.children);\n }\n }\n });\n return ast;\n },\n toPlainObject: function (ast) {\n walk(ast, {\n leave: function (node) {\n if (node.children && node.children instanceof List) {\n node.children = node.children.toArray();\n }\n }\n });\n return ast;\n }\n };\n };\n});","lineCount":27,"map":[[2,2,1,0],[2,6,1,4,"List"],[2,10,1,8],[2,13,1,11,"require"],[2,20,1,18],[2,21,1,18,"_dependencyMap"],[2,35,1,18],[2,56,1,35],[2,57,1,36],[3,2,3,0,"module"],[3,8,3,6],[3,9,3,7,"exports"],[3,16,3,14],[3,19,3,17],[3,28,3,26,"createConvertors"],[3,44,3,42,"createConvertors"],[3,45,3,43,"walk"],[3,49,3,47],[3,51,3,49],[4,4,4,4],[4,11,4,11],[5,6,5,8,"fromPlainObject"],[5,21,5,23],[5,23,5,25],[5,32,5,25,"fromPlainObject"],[5,33,5,34,"ast"],[5,36,5,37],[5,38,5,39],[6,8,6,12,"walk"],[6,12,6,16],[6,13,6,17,"ast"],[6,16,6,20],[6,18,6,22],[7,10,7,16,"enter"],[7,15,7,21],[7,17,7,23],[7,26,7,23,"enter"],[7,27,7,32,"node"],[7,31,7,36],[7,33,7,38],[8,12,8,20],[8,16,8,24,"node"],[8,20,8,28],[8,21,8,29,"children"],[8,29,8,37],[8,33,8,41,"node"],[8,37,8,45],[8,38,8,46,"children"],[8,46,8,54],[8,58,8,66,"List"],[8,62,8,70],[8,67,8,75],[8,72,8,80],[8,74,8,82],[9,14,9,24,"node"],[9,18,9,28],[9,19,9,29,"children"],[9,27,9,37],[9,30,9,40],[9,34,9,44,"List"],[9,38,9,48],[9,39,9,49],[9,40,9,50],[9,41,9,51,"fromArray"],[9,50,9,60],[9,51,9,61,"node"],[9,55,9,65],[9,56,9,66,"children"],[9,64,9,74],[9,65,9,75],[10,12,10,20],[11,10,11,16],[12,8,12,12],[12,9,12,13],[12,10,12,14],[13,8,14,12],[13,15,14,19,"ast"],[13,18,14,22],[14,6,15,8],[14,7,15,9],[15,6,16,8,"toPlainObject"],[15,19,16,21],[15,21,16,23],[15,30,16,23,"toPlainObject"],[15,31,16,32,"ast"],[15,34,16,35],[15,36,16,37],[16,8,17,12,"walk"],[16,12,17,16],[16,13,17,17,"ast"],[16,16,17,20],[16,18,17,22],[17,10,18,16,"leave"],[17,15,18,21],[17,17,18,23],[17,26,18,23,"leave"],[17,27,18,32,"node"],[17,31,18,36],[17,33,18,38],[18,12,19,20],[18,16,19,24,"node"],[18,20,19,28],[18,21,19,29,"children"],[18,29,19,37],[18,33,19,41,"node"],[18,37,19,45],[18,38,19,46,"children"],[18,46,19,54],[18,58,19,66,"List"],[18,62,19,70],[18,64,19,72],[19,14,20,24,"node"],[19,18,20,28],[19,19,20,29,"children"],[19,27,20,37],[19,30,20,40,"node"],[19,34,20,44],[19,35,20,45,"children"],[19,43,20,53],[19,44,20,54,"toArray"],[19,51,20,61],[19,52,20,62],[19,53,20,63],[20,12,21,20],[21,10,22,16],[22,8,23,12],[22,9,23,13],[22,10,23,14],[23,8,25,12],[23,15,25,19,"ast"],[23,18,25,22],[24,6,26,8],[25,4,27,4],[25,5,27,5],[26,2,28,0],[26,3,28,1],[27,0,28,2],[27,3]],"functionMap":{"names":["<global>","createConvertors","fromPlainObject","walk$argument_1.enter","toPlainObject","walk$argument_1.leave"],"mappings":"AAA;iBCE;yBCE;uBCE;iBDI;SDI;uBGC;uBCE;iBDI;SHI;CDE"},"hasCjsExports":true},"type":"js/module"}]} |