UNPKG

jsctags

Version:
83 lines (82 loc) 1.58 kB
[ { "name": "foo", "addr": "/foo/", "kind": "v", "type": "number", "lineno": 1, "origin": { "!span": "4[0:4]-7[0:7]", "!type": "number", "!data": { "isConstructor": false, "type": "Number.prototype" } }, "tagfile": "__DIR__/simple.js" }, { "name": "x", "addr": "/x/", "kind": "v", "lineno": 6, "origin": { "!span": "64[5:4]-65[5:5]", "!data": { "isConstructor": false, "type": "Object.prototype" } }, "tagfile": "__DIR__/simple.js" }, { "name": "init", "addr": "/init/", "kind": "f", "type": "void function(x)", "lineno": 8, "origin": { "!span": "82[7:9]-86[7:13]", "!type": "fn(v: x)", "!data": { "isConstructor": false, "type": "Function.prototype" } }, "tagfile": "__DIR__/simple.js" }, { "name": "foo", "addr": "/foo/", "kind": "v", "type": "number", "lineno": 9, "namespace": "x", "origin": { "!span": "96[8:4]-99[8:7]", "!type": "number", "!data": { "isConstructor": false, "type": "Number.prototype" } }, "tagfile": "__DIR__/simple.js" }, { "name": "bar", "addr": "/bar/", "kind": "v", "type": "number", "lineno": 10, "namespace": "x", "origin": { "!span": "110[9:4]-113[9:7]", "!type": "number", "!data": { "isConstructor": false, "type": "Number.prototype" } }, "tagfile": "__DIR__/simple.js" } ]