jsctags
Version:
jsctags generator
106 lines (105 loc) • 2.21 kB
JSON
[
{
"name": "f",
"addr": "/f/",
"kind": "f",
"type": "f.!ret function(number, Array[bool])",
"lineno": 1,
"origin": {
"!span": "4[0:4]-5[0:5]",
"!type": "fn(a: number, [b]: [bool]) -> f.!ret",
"!data": {
"isConstructor": false,
"type": "Function.prototype"
}
},
"tagfile": "__DIR__/arrow.js"
},
{
"name": "a",
"addr": "/a/",
"kind": "v",
"type": "number",
"lineno": 1,
"namespace": "f",
"origin": {
"!span": "9[0:9]-10[0:10]",
"!type": "number",
"!data": {
"isConstructor": false,
"scoped": true,
"isArg": true,
"type": "Number.prototype"
}
},
"tagfile": "__DIR__/arrow.js"
},
{
"name": "b",
"addr": "/b/",
"kind": "v",
"type": "boolean",
"lineno": 1,
"namespace": "f",
"origin": {
"!span": "13[0:13]-14[0:14]",
"!type": "bool",
"!data": {
"isConstructor": false,
"scoped": false,
"isArg": false,
"type": "Boolean.prototype"
}
},
"tagfile": "__DIR__/arrow.js"
},
{
"name": "wrap",
"addr": "/wrap/",
"kind": "f",
"type": "wrap.!ret.!ret function() function()",
"lineno": 5,
"origin": {
"!span": "79[4:9]-83[4:13]",
"!type": "fn() -> fn() -> wrap.!ret.!ret",
"!data": {
"isConstructor": false,
"type": "Function.prototype"
}
},
"tagfile": "__DIR__/arrow.js"
},
{
"name": "Obj",
"addr": "/Obj/",
"kind": "f",
"type": "void function()",
"lineno": 11,
"origin": {
"!span": "207[10:9]-210[10:12]",
"!type": "fn()",
"!data": {
"isConstructor": true,
"type": "Function.prototype"
}
},
"tagfile": "__DIR__/arrow.js"
},
{
"name": "map",
"addr": "/map/",
"kind": "f",
"type": "[!this.x] function()",
"lineno": 14,
"namespace": "Obj.prototype",
"origin": {
"!span": "247[13:14]-250[13:17]",
"!type": "fn() -> [!this.x]",
"!data": {
"isConstructor": false,
"type": "Function.prototype"
}
},
"tagfile": "__DIR__/arrow.js"
}
]