graph-builder
Version:
A graph builder library for modeling abstract graph structures.
2,194 lines (2,193 loc) • 951 kB
JSON
{
"id": 0,
"name": "graph-builder",
"kind": 0,
"flags": {},
"children": [
{
"id": 8,
"name": "\"collect/Comparable\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true
},
"originalName": "/Users/ben/personal/tsgraph/tsgraph/src/collect/Comparable.ts",
"children": [
{
"id": 9,
"name": "Comparable",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true
},
"typeParameter": [
{
"id": 10,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"children": [
{
"id": 11,
"name": "compareTo",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 12,
"name": "compareTo",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Compares this object with the specified object for order. Returns a negative\ninteger, zero, or a positive integer as this object is less than, equal to,\nor greater than the specified object.",
"text": "The implementor must ensure sgn(x.compareTo(y)) == -sgn(y.compareTo(x)) for\nall x and y. (This implies that x.compareTo(y) must throw an exception iff\ny.compareTo(x) throws an exception.)\n\nThe implementor must also ensure that the relation is transitive:\n(x.compareTo(y)>0 && y.compareTo(z)>0) implies x.compareTo(z)>0.\n\nFinally, the implementor must ensure that x.compareTo(y)==0 implies that\nsgn(x.compareTo(z)) == sgn(y.compareTo(z)), for all z.\n\nIt is strongly recommended, but not strictly required that\n(x.compareTo(y)==0) == (x.equals(y)). Generally speaking, any class that\nimplements the Comparable interface and violates this condition should clearly\nindicate this fact. The recommended language is \"Note: this class has a\nnatural ordering that is inconsistent with equals.\"\n\nIn the foregoing description, the notation sgn(expression) designates the\nmathematical signum function, which is defined to return one of -1, 0, or 1\naccording to whether the value of expression is negative, zero or positive.\n"
},
"parameters": [
{
"id": 13,
"name": "a",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"name": "Comparable",
"id": 9,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"sources": [
{
"fileName": "collect/Comparable.ts",
"line": 27,
"character": 11
}
]
}
],
"groups": [
{
"title": "Methods",
"kind": 2048,
"children": [
11
]
}
],
"sources": [
{
"fileName": "collect/Comparable.ts",
"line": 1,
"character": 27
}
]
}
],
"groups": [
{
"title": "Interfaces",
"kind": 256,
"children": [
9
]
}
],
"sources": [
{
"fileName": "collect/Comparable.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1,
"name": "\"collect/Comparator\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true
},
"originalName": "/Users/ben/personal/tsgraph/tsgraph/src/collect/Comparator.ts",
"children": [
{
"id": 2,
"name": "Comparator",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true
},
"typeParameter": [
{
"id": 3,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"children": [
{
"id": 4,
"name": "compare",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 5,
"name": "compare",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Compares its two arguments for order. Returns a negative integer, zero, or\na positive integer as the first argument is less than, equal to, or greater\nthan the second.",
"text": "In the foregoing description, the notation sgn(expression) designates the\nmathematical signum function, which is defined to return one of -1, 0, or\n1 according to whether the value of expression is negative, zero or positive.\n\nThe implementor must ensure that sgn(compare(x, y)) == -sgn(compare(y, x))\nfor all x and y. (This implies that compare(x, y) must throw an exception if\nand only if compare(y, x) throws an exception.)\n\nThe implementor must also ensure that the relation is transitive:\n ((compare(x, y)>0) && (compare(y, z)>0)) implies compare(x, z)>0.\n\nFinally, the implementor must ensure that compare(x, y)==0 implies that\nsgn(compare(x, z))==sgn(compare(y, z)) for all z.\n\nIt is generally the case, but not strictly required that\n(compare(x, y)==0) == (x.equals(y)).\n\nGenerally speaking, any comparator that violates this condition should clearly\nindicate this fact. The recommended language is \"Note: this comparator imposes\norderings that are inconsistent with equals.\"\n"
},
"parameters": [
{
"id": 6,
"name": "a",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "typeParameter",
"name": "T"
}
},
{
"id": 7,
"name": "b",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"sources": [
{
"fileName": "collect/Comparator.ts",
"line": 28,
"character": 9
}
]
}
],
"groups": [
{
"title": "Methods",
"kind": 2048,
"children": [
4
]
}
],
"sources": [
{
"fileName": "collect/Comparator.ts",
"line": 1,
"character": 27
}
],
"implementedBy": [
{
"type": "reference",
"name": "NaturalOrdering",
"id": 46
},
{
"type": "reference",
"name": "Ordering",
"id": 15
}
]
}
],
"groups": [
{
"title": "Interfaces",
"kind": 256,
"children": [
2
]
}
],
"sources": [
{
"fileName": "collect/Comparator.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1344,
"name": "\"collect/ImmutableMap\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true
},
"originalName": "/Users/ben/personal/tsgraph/tsgraph/src/collect/ImmutableMap.ts",
"children": [
{
"id": 1345,
"name": "ImmutableMap",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true
},
"typeParameter": [
{
"id": 1346,
"name": "K",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
},
{
"id": 1347,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"children": [
{
"id": 1387,
"name": "__@toStringTag",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "/Users/ben/personal/tsgraph/tsgraph/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts",
"line": 130,
"character": 33
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"name": "Map.[Symbol.toStringTag]"
}
},
{
"id": 1377,
"name": "size",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "/Users/ben/personal/tsgraph/tsgraph/node_modules/typescript/lib/lib.es2015.collection.d.ts",
"line": 28,
"character": 17
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"inheritedFrom": {
"type": "reference",
"name": "Map.size"
}
},
{
"id": 1378,
"name": "Map",
"kind": 1024,
"kindString": "Property",
"flags": {
"isStatic": true,
"isExported": true
},
"sources": [
{
"fileName": "/Users/ben/personal/tsgraph/tsgraph/node_modules/typescript/lib/lib.es2015.collection.d.ts",
"line": 36,
"character": 15
}
],
"type": {
"type": "reference",
"name": "MapConstructor"
}
},
{
"id": 1379,
"name": "__@iterator",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 1380,
"name": "__@iterator",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Returns an iterable of entries in the map."
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "tuple",
"elements": [
{
"type": "typeParameter",
"name": "K"
},
{
"type": "typeParameter",
"name": "V"
}
]
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "Map.[Symbol.iterator]"
}
}
],
"sources": [
{
"fileName": "/Users/ben/personal/tsgraph/tsgraph/node_modules/typescript/lib/lib.es2015.iterable.d.ts",
"line": 113,
"character": 21
}
],
"inheritedFrom": {
"type": "reference",
"name": "Map.[Symbol.iterator]"
}
},
{
"id": 1348,
"name": "clear",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 1349,
"name": "clear",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "intrinsic",
"name": "void"
},
"overwrites": {
"type": "reference",
"name": "Map.clear"
}
}
],
"sources": [
{
"fileName": "collect/ImmutableMap.ts",
"line": 2,
"character": 7
}
],
"overwrites": {
"type": "reference",
"name": "Map.clear"
}
},
{
"id": 1350,
"name": "delete",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 1351,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 1352,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "typeParameter",
"name": "K"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"overwrites": {
"type": "reference",
"name": "Map.delete"
}
}
],
"sources": [
{
"fileName": "collect/ImmutableMap.ts",
"line": 6,
"character": 8
}
],
"overwrites": {
"type": "reference",
"name": "Map.delete"
}
},
{
"id": 1381,
"name": "entries",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 1382,
"name": "entries",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Returns an iterable of key, value pairs for every entry in the map."
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "tuple",
"elements": [
{
"type": "typeParameter",
"name": "K"
},
{
"type": "typeParameter",
"name": "V"
}
]
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "Map.entries"
}
}
],
"sources": [
{
"fileName": "/Users/ben/personal/tsgraph/tsgraph/node_modules/typescript/lib/lib.es2015.iterable.d.ts",
"line": 118,
"character": 11
}
],
"inheritedFrom": {
"type": "reference",
"name": "Map.entries"
}
},
{
"id": 1362,
"name": "forEach",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 1363,
"name": "forEach",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 1364,
"name": "callbackfn",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 1365,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
"id": 1366,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 1367,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "typeParameter",
"name": "V"
}
},
{
"id": 1368,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "typeParameter",
"name": "K"
}
},
{
"id": 1369,
"name": "map",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"name": "Map",
"typeArguments": [
{
"type": "typeParameter",
"name": "K"
},
{
"type": "typeParameter",
"name": "V"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "/Users/ben/personal/tsgraph/tsgraph/node_modules/typescript/lib/lib.es2015.collection.d.ts",
"line": 24,
"character": 23
}
]
}
}
},
{
"id": 1370,
"name": "thisArg",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"inheritedFrom": {
"type": "reference",
"name": "Map.forEach"
}
}
],
"sources": [
{
"fileName": "/Users/ben/personal/tsgraph/tsgraph/node_modules/typescript/lib/lib.es2015.collection.d.ts",
"line": 24,
"character": 11
}
],
"inheritedFrom": {
"type": "reference",
"name": "Map.forEach"
}
},
{
"id": 1371,
"name": "get",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 1372,
"name": "get",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 1373,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "typeParameter",
"name": "K"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "V"
},
{
"type": "intrinsic",
"name": "undefined"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "Map.get"
}
}
],
"sources": [
{
"fileName": "/Users/ben/personal/tsgraph/tsgraph/node_modules/typescript/lib/lib.es2015.collection.d.ts",
"line": 25,
"character": 7
}
],
"inheritedFrom": {
"type": "reference",
"name": "Map.get"
}
},
{
"id": 1374,
"name": "has",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 1375,
"name": "has",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 1376,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "typeParameter",
"name": "K"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"inheritedFrom": {
"type": "reference",
"name": "Map.has"
}
}
],
"sources": [
{
"fileName": "/Users/ben/personal/tsgraph/tsgraph/node_modules/typescript/lib/lib.es2015.collection.d.ts",
"line": 26,
"character": 7
}
],
"inheritedFrom": {
"type": "reference",
"name": "Map.has"
}
},
{
"id": 1383,
"name": "keys",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 1384,
"name": "keys",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Returns an iterable of keys in the map"
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "typeParameter",
"name": "K"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "Map.keys"
}
}
],
"sources": [
{
"fileName": "/Users/ben/personal/tsgraph/tsgraph/node_modules/typescript/lib/lib.es2015.iterable.d.ts",
"line": 123,
"character": 8
}
],
"inheritedFrom": {
"type": "reference",
"name": "Map.keys"
}
},
{
"id": 1353,
"name": "set",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 1354,
"name": "set",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 1355,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "typeParameter",
"name": "K"
}
},
{
"id": 1356,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "typeParameter",
"name": "V"
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
},
"overwrites": {
"type": "reference",
"name": "Map.set"
}
}
],
"sources": [
{
"fileName": "collect/ImmutableMap.ts",
"line": 10,
"character": 5
}
],
"overwrites": {
"type": "reference",
"name": "Map.set"
}
},
{
"id": 1385,
"name": "values",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 1386,
"name": "values",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Returns an iterable of values in the map"
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "typeParameter",
"name": "V"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "Map.values"
}
}
],
"sources": [
{
"fileName": "/Users/ben/personal/tsgraph/tsgraph/node_modules/typescript/lib/lib.es2015.iterable.d.ts",
"line": 128,
"character": 10
}
],
"inheritedFrom": {
"type": "reference",
"name": "Map.values"
}
},
{
"id": 1357,
"name": "copyOf",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true
},
"signatures": [
{
"id": 1358,
"name": "copyOf",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
"id": 1359,
"name": "K",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
},
{
"id": 1360,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"parameters": [
{
"id": 1361,
"name": "map",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"name": "Map",
"typeArguments": [
{
"type": "typeParameter",
"name": "K"
},
{
"type": "typeParameter",
"name": "V"
}
]
}
}
],
"type": {
"type": "reference",
"name": "ImmutableMap",
"id": 1345,
"typeArguments": [
{
"type": "unknown",
"name": "K"
},
{
"type": "unknown",
"name": "V"
}
]
}
}
],
"sources": [
{
"fileName": "collect/ImmutableMap.ts",
"line": 14,
"character": 15
}
]
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
1387,
1377,
1378
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
1379,
1348,
1350,
1381,
1362,
1371,
1374,
1383,
1353,
1385,
1357
]
}
],
"sources": [
{
"fileName": "collect/ImmutableMap.ts",
"line": 1,
"character": 25
}
],
"extendedTypes": [
{
"type": "reference",
"name": "Map",
"typeArguments": [
{
"type": "typeParameter",
"name": "K"
},
{
"type": "typeParameter",
"name": "V"
}
]
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
1345
]
}
],
"sources": [
{
"fileName": "collect/ImmutableMap.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 531,
"name": "\"collect/ImmutableSet\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true
},
"originalName": "/Users/ben/personal/tsgraph/tsgraph/src/collect/ImmutableSet.ts",
"children": [
{
"id": 543,
"name": "ImmutableSet",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true
},
"typeParameter": [
{
"id": 544,
"name": "N",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"children": [
{
"id": 555,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isPrivate": true,
"isExported": true
},
"signatures": [
{
"id": 556,
"name": "new ImmutableSet",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
"id": 557,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Array",
"typeArguments": [
{
"type": "typeParameter",
"name": "N"
}
]
},
{
"type": "intrinsic",
"name": "null"
}
]
}
},
{
"id": 558,
"name": "readOperations",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "reference",
"name": "ImmutableSetReadOperations",
"id": 532,
"typeArguments": [
{
"type": "typeParameter",
"name": "N"
}
]
}
}
],
"type": {
"type": "reference",
"name": "ImmutableSet",
"id": 543
}
}
],
"sources": [
{
"fileName": "collect/ImmutableSet.ts",
"line": 19,
"character": 3
}
]
},
{
"id": 590,
"name": "__@toStringTag",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "/Users/ben/personal/tsgraph/tsgraph/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts",
"line": 138,
"character": 33
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"name": "Set.[Symbol.toStringTag]"
}
},
{
"id": 546,
"name": "initialized",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExported": true
},
"sources": [
{
"fileName": "collect/ImmutableSet.ts",
"line": 11,
"character": 21
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"defaultValue": "false"
},
{
"id": 545,
"name": "readOperations",
"kind": 1024,
"kindString": "Property",
"flags": {
"isPrivate": true,
"isExported": true
},
"sources": [
{
"fileName": "collect/ImmutableSet.ts",
"line": 10,
"character": 24
}
],
"type": {
"type": "reference",
"name": "ImmutableSetReadOperations",
"id": 532,
"typeArguments": [
{
"type": "typeParameter",
"name": "N"
}
]
}
},
{
"id": 587,
"name": "Set",
"kind": 1024,
"kindString": "Property",
"flags": {
"isStatic": true,
"isExported": true
},
"sources": [
{
"fileName": "/Users/ben/personal/tsgraph/tsgraph/node_modules/typescript/lib/lib.es2015.collection.d.ts",
"line": 71,
"character": 15
}
],
"type": {
"type": "reference",
"name": "SetConstructor"
}
},
{
"id": 579,
"name": "size",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true
},
"getSignature": [
{
"id": 580,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {},
"type": {
"type": "intrinsic",
"name": "number"
},
"overwrites": {
"type": "reference",
"name": "Set.size"
}
}
],
"sources": [
{
"fileName": "collect/ImmutableSet.ts",
"line": 57,
"character": 10
}
],
"overwrites": {
"type": "reference",
"name": "Set.size"
}
},
{
"id": 581,
"name": "__@iterator",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 582,
"name": "__@iterator",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "typeParameter",
"name": "N"
}
]
},
"overwrites": {
"type": "reference",
"name": "Set.[Symbol.iterator]"
}
}
],
"sources": [
{
"fileName": "collect/ImmutableSet.ts",
"line": 61,
"character": 19
}
],
"overwrites": {
"type": "reference",
"name": "Set.[Symbol.iterator]"
}
},
{
"id": 559,
"name": "add",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 560,
"name": "add",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 561,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "typeParameter",
"name": "N"
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
},
"overwrites": {
"type": "reference",
"name": "Set.add"
}
}
],
"sources": [
{
"fileName": "collect/ImmutableSet.ts",
"line": 31,
"character": 5
}
],
"overwrites": {
"type": "reference",
"name": "Set.add"
}
},
{
"id": 562,
"name": "clear",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 563,
"name": "clear",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "intrinsic",
"name": "void"
},
"overwrites": {
"type": "reference",
"name": "Set.clear"
}
}
],
"sources": [
{
"fileName": "collect/ImmutableSet.ts",
"line": 38,
"character": 7
}
],
"overwrites": {
"type": "reference",
"name": "Set.clear"
}
},
{
"id": 564,
"name": "delete",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 565,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 566,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "typeParameter",
"name": "N"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"overwrites": {
"type": "reference",
"name": "Set.delete"
}
}
],
"sources": [
{
"fileName": "collect/ImmutableSet.ts",
"line": 42,
"character": 8
}
],
"overwrites": {
"type": "reference",
"name": "Set.delete"
}
},
{
"id": 583,
"name": "entries",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 584,
"name": "entries",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "tuple",
"elements": [
{
"type": "typeParameter",
"name": "N"
},
{
"type": "typeParameter",
"name": "N"
}
]
}
]
},
"overwrites": {
"type": "reference",
"name": "Set.entries"
}
}
],
"sources": [
{
"fileName": "collect/ImmutableSet.ts",
"line": 70,
"character": 9
}
],
"overwrites": {
"type": "reference",
"name": "Set.entries"
}
},
{
"id": 567,
"name": "forEach",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 568,
"name": "forEach",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 569,
"name": "callbackfn",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reflection",
"declaration": {
"id": 570,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
"id": 571,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 572,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "typeParameter",
"name": "N"
}
},
{
"id": 573,
"name": "value2",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "typeParameter",
"name": "N"
}
},
{
"id": 574,
"name": "set",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"name": "Set",
"typeArguments": [
{
"type": "typeParameter",
"name": "N"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "collect/ImmutableSet.ts",
"line": 46,
"character": 21
}
]
}
}
},
{
"id": 575,
"name": "thisArg",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"overwrites": {
"type": "reference",
"name": "Set.forEach"
}
}
],
"sources": [
{
"fileName": "collect/ImmutableSet.ts",
"line": 46,
"character": 9
}
],
"overwrites": {
"type": "reference",
"name": "Set.forEach"
}
},
{
"id": 576,
"name": "has",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 577,
"name": "has",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 578,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "typeParameter",
"name": "N"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"overwrites": {
"type": "reference",
"name": "Set.has"
}
}
],
"sources": [
{
"fileName": "collect/ImmutableSet.ts",
"line": 53,
"character": 5
}
],
"overwrites": {
"type": "reference",
"name": "Set.has"
}
},
{
"id": 588,
"name": "keys",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 589,
"name": "keys",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Despite its name, returns an iterable of the values in the set,"
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "typeParameter",
"name": "N"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "Set.keys"
}
}
],
"sources": [
{
"fileName": "/Users/ben/personal/tsgraph/tsgraph/node_modules/typescript/lib/lib.es2015.iterable.d.ts",
"line": 171,
"character": 8
}
],
"inheritedFrom": {
"type": "reference",
"name": "Set.keys"
}
},
{
"id": 585,
"name": "values",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 586,
"name": "values",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "typeParameter",
"name": "N"
}
]
},
"overwrites": {
"type": "reference",
"name": "Set.values"
}
}
],
"sources": [
{
"fileName": "collect/ImmutableSet.ts",
"line": 79,
"character": 8
}
],
"overwrites": {
"type": "reference",
"name": "Set.values"
}
},
{
"id": 547,
"name": "fromIterable",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true
},
"signatures": [
{
"id": 548,
"name": "fromIterable",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
"id": 549,
"name": "N",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"parameters": [
{
"id": 550,
"name": "iterator",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "typeParameter",
"name": "N"
}
]
}
}
],
"type": {
"type": "reference",
"name": "ImmutableSet",
"id": 543,
"typeArguments": [
{
"type": "typeParameter",
"name": "N"
}
]
}
}
],
"sources": [
{
"fileName": "collect/ImmutableSet.ts",
"line": 13,
"character": 21
}
]
},
{
"id": 551,
"name": "fromSetOperations",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true
},
"signatures": [
{
"id": 552,
"name": "fromSetOperations",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
"id": 553,
"name": "N",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"parameters": [
{
"id": 554,
"name": "operations",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"name": "ImmutableSetReadOperations",
"id": 532,
"typeArguments": [
{
"type": "typeParameter",
"name": "N"
}
]
}
}
],
"type": {
"type": "reference",
"name": "ImmutableSet",
"id": 543,
"typeArguments": [
{
"type": "unknown",
"name": "N"
}
]
}
}
],
"sources": [
{
"fileName": "collect/ImmutableSet.ts",
"line": 17,
"character": 26
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
555
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
590,
546,
545,
587
]
},
{
"title": "Accessors",
"kind": 262144,
"children": [
579
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
581,
559,
562,
564,
583,
567,
576,
588,
585,
547,
551
]
}
],
"sources": [
{
"fileName": "collect/ImmutableSet.ts",
"line": 9,
"character": 25
}
],
"extendedTypes": [
{
"type": "reference",
"name": "Set",
"typeArguments": [
{
"type": "typeParameter",
"name": "N"
}
]
}
]
},
{
"id": 532,
"name": "ImmutableSetReadOperations",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true
},
"typeParameter": [
{
"id": 533,
"name": "N",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"children": [
{
"id": 539,
"name": "has",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "collect/ImmutableSet.ts",
"line": 6,
"character": 5
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 540,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
"id": 541,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 542,
"name": "a",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "typeParameter",
"name": "N"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "collect/ImmutableSet.ts",
"line": 6,
"character": 6
}
]
}
}
},
{
"id": 536,
"name": "size",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "collect/ImmutableSet.ts",
"line": 5,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 537,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
"id": 538,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"sources": [
{
"fileName": "collect/ImmutableSet.ts",
"line": 5,
"character": 7
}
]
}
}
},
{
"id": 534,
"name": "__@iterator",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 535,
"name": "__@iterator",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "reference",
"name": "Iterator",
"typeArguments": [
{
"type": "typeParameter",
"name": "N"
}
]
}
}
],
"sources": [
{