UNPKG

jsctags

Version:
280 lines (279 loc) 5.63 kB
[ { "name": "hello", "addr": "/hello/", "kind": "f", "type": "void function(?, ?)", "lineno": 1, "origin": { "!span": "9[0:9]-14[0:14]", "!type": "fn(a: ?, b: ?)", "!data": { "isConstructor": false, "type": "Function.prototype" } }, "tagfile": "__DIR__/findref.js" }, { "name": "b", "addr": "/b/", "kind": "v", "lineno": 1, "namespace": "hello", "origin": { "!span": "18[0:18]-19[0:19]", "!data": { "isConstructor": false, "scoped": true, "isArg": true, "type": false } }, "tagfile": "__DIR__/findref.js" }, { "name": "a", "addr": "/a/", "kind": "v", "lineno": 1, "namespace": "hello", "origin": { "!span": "15[0:15]-16[0:16]", "!data": { "isConstructor": false, "scoped": true, "isArg": true, "type": false } }, "tagfile": "__DIR__/findref.js" }, { "name": "c", "addr": "/c/", "kind": "v", "lineno": 2, "namespace": "hello", "origin": { "!span": "29[1:6]-30[1:7]", "!data": { "isConstructor": false, "scoped": false, "isArg": false, "type": false } }, "tagfile": "__DIR__/findref.js" }, { "name": "obj", "addr": "/obj/", "kind": "v", "lineno": 10, "origin": { "!span": "148[9:4]-151[9:7]", "!data": { "isConstructor": false, "type": "Object.prototype" } }, "tagfile": "__DIR__/findref.js" }, { "name": "x", "addr": "/x/", "kind": "v", "type": "number", "lineno": 11, "namespace": "obj", "origin": { "!span": "158[10:2]-159[10:3]", "!type": "number", "!data": { "isConstructor": false, "type": "Number.prototype" } }, "tagfile": "__DIR__/findref.js" }, { "name": "y", "addr": "/y/", "kind": "v", "type": "number", "lineno": 13, "namespace": "obj", "origin": { "!span": "194[12:2]-195[12:3]", "!type": "number", "!data": { "isConstructor": false, "type": "Number.prototype" } }, "tagfile": "__DIR__/findref.js" }, { "name": "z", "addr": "/z/", "kind": "v", "type": "string", "lineno": 17, "namespace": "obj", "origin": { "!span": "220[16:4]-221[16:5]", "!type": "string", "!data": { "isConstructor": false, "type": "String.prototype" } }, "tagfile": "__DIR__/findref.js" }, { "name": "foo", "addr": "/foo/", "kind": "f", "type": "void function()", "lineno": 22, "origin": { "!span": "270[21:6]-273[21:9]", "!type": "fn()", "!data": { "isConstructor": true, "type": "Function.prototype" } }, "tagfile": "__DIR__/findref.js" }, { "name": "prototype", "addr": "/class foo \\{/", "kind": "v", "lineno": 22, "namespace": "foo", "origin": { "!span": "264[21:0]-360[28:1]", "!data": { "isConstructor": false, "type": "Object.prototype" } }, "tagfile": "__DIR__/findref.js" }, { "name": "methodA", "addr": "/methodA/", "kind": "f", "type": "void function()", "lineno": 24, "namespace": "foo.prototype", "origin": { "!span": "279[23:2]-286[23:9]", "!type": "fn()", "!data": { "isConstructor": false, "type": "Function.prototype" } }, "tagfile": "__DIR__/findref.js" }, { "name": "methodB", "addr": "/methodB/", "kind": "f", "type": "void function()", "lineno": 27, "namespace": "foo.prototype", "origin": { "!span": "323[26:2]-330[26:9]", "!type": "fn()", "!data": { "isConstructor": false, "type": "Function.prototype" } }, "tagfile": "__DIR__/findref.js" }, { "name": "bar", "addr": "/bar/", "kind": "f", "type": "void function()", "lineno": 31, "origin": { "!span": "368[30:6]-371[30:9]", "!type": "fn()", "!data": { "isConstructor": true, "type": "Function.prototype" } }, "tagfile": "__DIR__/findref.js" }, { "name": "prototype", "addr": "/class bar extends foo \\{/", "kind": "v", "lineno": 31, "namespace": "bar", "origin": { "!span": "362[30:0]-426[35:1]", "!data": { "isConstructor": false, "type": "foo.prototype" } }, "tagfile": "__DIR__/findref.js" }, { "name": "methodB", "addr": "/methodB/", "kind": "f", "type": "void function()", "lineno": 33, "namespace": "bar.prototype", "origin": { "!span": "389[32:2]-396[32:9]", "!type": "fn()", "!data": { "isConstructor": false, "type": "Function.prototype" } }, "tagfile": "__DIR__/findref.js" }, { "name": "a", "addr": "/a/", "kind": "v", "type": "foo", "lineno": 38, "origin": { "!span": "432[37:4]-433[37:5]", "!type": "+foo", "!data": { "isConstructor": false, "type": "foo.prototype" } }, "tagfile": "__DIR__/findref.js" }, { "name": "b", "addr": "/b/", "kind": "v", "type": "bar", "lineno": 39, "origin": { "!span": "451[38:4]-452[38:5]", "!type": "+bar", "!data": { "isConstructor": false, "type": "bar.prototype" } }, "tagfile": "__DIR__/findref.js" } ]