jsctags
Version:
jsctags generator
139 lines (138 loc) • 2.77 kB
JSON
[
{
"name": "Foo",
"addr": "/Foo/",
"kind": "f",
"type": "void function(bool)",
"lineno": 1,
"origin": {
"!span": "9[0:9]-12[0:12]",
"!type": "fn(x: bool)",
"!data": {
"isConstructor": true,
"type": "Function.prototype"
}
},
"tagfile": "__DIR__/proto.js"
},
{
"name": "x",
"addr": "/x/",
"kind": "v",
"type": "boolean",
"lineno": 1,
"namespace": "Foo",
"origin": {
"!span": "13[0:13]-14[0:14]",
"!type": "bool",
"!data": {
"isConstructor": false,
"type": "Boolean.prototype",
"scoped": true,
"isArg": true
}
},
"tagfile": "__DIR__/proto.js"
},
{
"name": "x",
"addr": "/x/",
"kind": "v",
"type": "boolean",
"lineno": 2,
"namespace": "z",
"origin": {
"!span": "25[1:7]-26[1:8]",
"!type": "bool",
"!data": {
"isConstructor": false,
"scoped": false,
"isArg": false,
"type": "Boolean.prototype"
}
},
"tagfile": "__DIR__/proto.js"
},
{
"name": "y",
"addr": "/y/",
"kind": "v",
"type": "[number]",
"lineno": 3,
"namespace": "Foo",
"origin": {
"!span": "39[2:7]-40[2:8]",
"!type": "[number]",
"!data": {
"isConstructor": false,
"type": "Array.prototype"
}
},
"tagfile": "__DIR__/proto.js"
},
{
"name": "prototype",
"addr": "/prototype/",
"kind": "v",
"lineno": 7,
"namespace": "Foo",
"origin": {
"!span": "76[6:4]-85[6:13]",
"!data": {
"isConstructor": false,
"type": "Object.prototype"
}
},
"tagfile": "__DIR__/proto.js"
},
{
"name": "makeString",
"addr": "/makeString/",
"kind": "f",
"type": "string function()",
"lineno": 8,
"namespace": "Foo.prototype",
"origin": {
"!span": "92[7:2]-102[7:12]",
"!type": "fn() -> string",
"!data": {
"isConstructor": false,
"type": "Function.prototype"
}
},
"tagfile": "__DIR__/proto.js"
},
{
"name": "bar",
"addr": "/bar/",
"kind": "v",
"type": "number",
"lineno": 9,
"namespace": "Foo.prototype",
"origin": {
"!span": "135[8:2]-138[8:5]",
"!type": "number",
"!data": {
"isConstructor": false,
"type": "Number.prototype"
}
},
"tagfile": "__DIR__/proto.js"
},
{
"name": "z",
"addr": "/z/",
"kind": "v",
"type": "Foo",
"lineno": 12,
"origin": {
"!span": "151[11:4]-152[11:5]",
"!type": "+Foo",
"!data": {
"isConstructor": false,
"type": "Foo.prototype"
}
},
"tagfile": "__DIR__/proto.js"
}
]