@proteinjs/reflection-build 1.2.1 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/{test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/LICENSE → LICENSE} +5 -6
  3. package/dist/src/build.js +31 -15
  4. package/dist/src/build.js.map +1 -1
  5. package/dist/src/codegen/writeGeneratedIndex.d.ts +10 -1
  6. package/dist/src/codegen/writeGeneratedIndex.js +43 -12
  7. package/dist/src/codegen/writeGeneratedIndex.js.map +1 -1
  8. package/dist/src/parser/createSourceGraph.d.ts +1 -1
  9. package/dist/src/parser/createSourceGraph.js +36 -22
  10. package/dist/src/parser/createSourceGraph.js.map +1 -1
  11. package/dist/test/examples/source-repository/a/generated/index.js +1 -1
  12. package/dist/test/examples/source-repository/a/generated/index.js.map +1 -1
  13. package/dist/test/examples/source-repository/b/generated/index.js +1 -1
  14. package/dist/test/examples/source-repository/b/generated/index.js.map +1 -1
  15. package/package.json +4 -3
  16. package/src/build.ts +52 -14
  17. package/src/codegen/writeGeneratedIndex.ts +60 -7
  18. package/src/parser/createSourceGraph.ts +21 -12
  19. package/test/examples/source-repository/a/dist/build.js +31 -15
  20. package/test/examples/source-repository/a/dist/build.js.map +1 -1
  21. package/test/examples/source-repository/a/dist/codegen/writeGeneratedIndex.d.ts +10 -1
  22. package/test/examples/source-repository/a/dist/codegen/writeGeneratedIndex.js +43 -12
  23. package/test/examples/source-repository/a/dist/codegen/writeGeneratedIndex.js.map +1 -1
  24. package/test/examples/source-repository/a/dist/generated/index.js +1 -1
  25. package/test/examples/source-repository/a/dist/generated/index.js.map +1 -1
  26. package/test/examples/source-repository/a/dist/parser/createSourceGraph.d.ts +1 -1
  27. package/test/examples/source-repository/a/dist/parser/createSourceGraph.js +36 -22
  28. package/test/examples/source-repository/a/dist/parser/createSourceGraph.js.map +1 -1
  29. package/test/examples/source-repository/a/generated/index.ts +38 -33
  30. package/test/examples/source-repository/a/node_modules/.package-lock.json +0 -53
  31. package/test/examples/source-repository/a/package.json +1 -1
  32. package/test/examples/source-repository/b/dist/build.js +31 -15
  33. package/test/examples/source-repository/b/dist/build.js.map +1 -1
  34. package/test/examples/source-repository/b/dist/codegen/writeGeneratedIndex.d.ts +10 -1
  35. package/test/examples/source-repository/b/dist/codegen/writeGeneratedIndex.js +43 -12
  36. package/test/examples/source-repository/b/dist/codegen/writeGeneratedIndex.js.map +1 -1
  37. package/test/examples/source-repository/b/dist/generated/index.js +1 -1
  38. package/test/examples/source-repository/b/dist/generated/index.js.map +1 -1
  39. package/test/examples/source-repository/b/dist/parser/createSourceGraph.d.ts +1 -1
  40. package/test/examples/source-repository/b/dist/parser/createSourceGraph.js +36 -22
  41. package/test/examples/source-repository/b/dist/parser/createSourceGraph.js.map +1 -1
  42. package/test/examples/source-repository/b/generated/index.ts +10 -11
  43. package/test/examples/source-repository/b/node_modules/.package-lock.json +0 -53
  44. package/test/examples/source-repository/b/package.json +1 -1
  45. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/.eslintrc.js +0 -20
  46. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/.prettierignore +0 -4
  47. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/.prettierrc +0 -8
  48. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/CHANGELOG.md +0 -58
  49. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/index.d.ts +0 -5
  50. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/index.js +0 -18
  51. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/index.js.map +0 -1
  52. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.d.ts +0 -19
  53. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.js +0 -555
  54. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.js.map +0 -1
  55. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/Loadable.d.ts +0 -3
  56. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/Loadable.js +0 -5
  57. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/Loadable.js.map +0 -1
  58. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepository.d.ts +0 -45
  59. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepository.js +0 -176
  60. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepository.js.map +0 -1
  61. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.d.ts +0 -11
  62. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.js +0 -9
  63. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.js.map +0 -1
  64. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.d.ts +0 -13
  65. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.js +0 -19
  66. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.js.map +0 -1
  67. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/types.d.ts +0 -221
  68. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/types.js +0 -234
  69. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/types.js.map +0 -1
  70. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/index.ts +0 -5
  71. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/jest.config.js +0 -9
  72. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/package.json +0 -42
  73. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/FlattenedSourceGraph.ts +0 -702
  74. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/Loadable.ts +0 -2
  75. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/SourceRepository.ts +0 -250
  76. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/SourceRepositoryFilter.ts +0 -15
  77. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/sourceGraphTypes.ts +0 -14
  78. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/types.ts +0 -236
  79. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/tsconfig.json +0 -19
  80. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/types/@dagrejs/graphlib.d.ts +0 -1
  81. package/test/examples/source-repository/a/node_modules/bindings/LICENSE.md +0 -22
  82. package/test/examples/source-repository/a/node_modules/bindings/README.md +0 -98
  83. package/test/examples/source-repository/a/node_modules/bindings/bindings.js +0 -221
  84. package/test/examples/source-repository/a/node_modules/bindings/package.json +0 -28
  85. package/test/examples/source-repository/a/node_modules/file-uri-to-path/.travis.yml +0 -30
  86. package/test/examples/source-repository/a/node_modules/file-uri-to-path/History.md +0 -21
  87. package/test/examples/source-repository/a/node_modules/file-uri-to-path/LICENSE +0 -20
  88. package/test/examples/source-repository/a/node_modules/file-uri-to-path/README.md +0 -74
  89. package/test/examples/source-repository/a/node_modules/file-uri-to-path/index.d.ts +0 -2
  90. package/test/examples/source-repository/a/node_modules/file-uri-to-path/index.js +0 -66
  91. package/test/examples/source-repository/a/node_modules/file-uri-to-path/package.json +0 -32
  92. package/test/examples/source-repository/a/node_modules/file-uri-to-path/test/test.js +0 -24
  93. package/test/examples/source-repository/a/node_modules/file-uri-to-path/test/tests.json +0 -13
  94. package/test/examples/source-repository/a/node_modules/fsevents/LICENSE +0 -22
  95. package/test/examples/source-repository/a/node_modules/fsevents/README.md +0 -89
  96. package/test/examples/source-repository/a/node_modules/fsevents/fsevents.d.ts +0 -46
  97. package/test/examples/source-repository/a/node_modules/fsevents/fsevents.js +0 -83
  98. package/test/examples/source-repository/a/node_modules/fsevents/fsevents.node +0 -0
  99. package/test/examples/source-repository/a/node_modules/fsevents/package.json +0 -62
  100. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/.travis.yml +0 -103
  101. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/ISSUE_TEMPLATE.md +0 -8
  102. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/Readme.md +0 -78
  103. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/binding.gyp +0 -21
  104. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/.target.mk +0 -53
  105. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/Makefile +0 -352
  106. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/Release/.deps/Release/.node.d +0 -1
  107. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/Release/.deps/Release/obj.target/fse/fsevents.o.d.raw +0 -75
  108. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/Release/.node +0 -0
  109. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/binding.Makefile +0 -6
  110. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/fse.target.mk +0 -188
  111. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/gyp-mac-tool +0 -772
  112. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/fsevents.cc +0 -88
  113. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/fsevents.js +0 -106
  114. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/install.js +0 -13
  115. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/package.json +0 -34
  116. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/src/async.cc +0 -43
  117. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/src/constants.cc +0 -110
  118. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/src/methods.cc +0 -44
  119. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/src/storage.cc +0 -27
  120. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/src/thread.cc +0 -71
  121. package/test/examples/source-repository/a/node_modules/nan/CHANGELOG.md +0 -557
  122. package/test/examples/source-repository/a/node_modules/nan/CMakeLists.txt +0 -138
  123. package/test/examples/source-repository/a/node_modules/nan/LICENSE.md +0 -9
  124. package/test/examples/source-repository/a/node_modules/nan/README.md +0 -456
  125. package/test/examples/source-repository/a/node_modules/nan/doc/asyncworker.md +0 -146
  126. package/test/examples/source-repository/a/node_modules/nan/doc/buffers.md +0 -54
  127. package/test/examples/source-repository/a/node_modules/nan/doc/callback.md +0 -76
  128. package/test/examples/source-repository/a/node_modules/nan/doc/converters.md +0 -41
  129. package/test/examples/source-repository/a/node_modules/nan/doc/errors.md +0 -226
  130. package/test/examples/source-repository/a/node_modules/nan/doc/json.md +0 -62
  131. package/test/examples/source-repository/a/node_modules/nan/doc/maybe_types.md +0 -583
  132. package/test/examples/source-repository/a/node_modules/nan/doc/methods.md +0 -672
  133. package/test/examples/source-repository/a/node_modules/nan/doc/new.md +0 -147
  134. package/test/examples/source-repository/a/node_modules/nan/doc/node_misc.md +0 -123
  135. package/test/examples/source-repository/a/node_modules/nan/doc/object_wrappers.md +0 -263
  136. package/test/examples/source-repository/a/node_modules/nan/doc/persistent.md +0 -296
  137. package/test/examples/source-repository/a/node_modules/nan/doc/scopes.md +0 -73
  138. package/test/examples/source-repository/a/node_modules/nan/doc/script.md +0 -58
  139. package/test/examples/source-repository/a/node_modules/nan/doc/string_bytes.md +0 -62
  140. package/test/examples/source-repository/a/node_modules/nan/doc/v8_internals.md +0 -199
  141. package/test/examples/source-repository/a/node_modules/nan/doc/v8_misc.md +0 -85
  142. package/test/examples/source-repository/a/node_modules/nan/include_dirs.js +0 -1
  143. package/test/examples/source-repository/a/node_modules/nan/nan.h +0 -2958
  144. package/test/examples/source-repository/a/node_modules/nan/nan_callbacks.h +0 -92
  145. package/test/examples/source-repository/a/node_modules/nan/nan_callbacks_12_inl.h +0 -520
  146. package/test/examples/source-repository/a/node_modules/nan/nan_callbacks_pre_12_inl.h +0 -520
  147. package/test/examples/source-repository/a/node_modules/nan/nan_converters.h +0 -72
  148. package/test/examples/source-repository/a/node_modules/nan/nan_converters_43_inl.h +0 -68
  149. package/test/examples/source-repository/a/node_modules/nan/nan_converters_pre_43_inl.h +0 -42
  150. package/test/examples/source-repository/a/node_modules/nan/nan_define_own_property_helper.h +0 -29
  151. package/test/examples/source-repository/a/node_modules/nan/nan_implementation_12_inl.h +0 -430
  152. package/test/examples/source-repository/a/node_modules/nan/nan_implementation_pre_12_inl.h +0 -263
  153. package/test/examples/source-repository/a/node_modules/nan/nan_json.h +0 -166
  154. package/test/examples/source-repository/a/node_modules/nan/nan_maybe_43_inl.h +0 -356
  155. package/test/examples/source-repository/a/node_modules/nan/nan_maybe_pre_43_inl.h +0 -268
  156. package/test/examples/source-repository/a/node_modules/nan/nan_new.h +0 -340
  157. package/test/examples/source-repository/a/node_modules/nan/nan_object_wrap.h +0 -156
  158. package/test/examples/source-repository/a/node_modules/nan/nan_persistent_12_inl.h +0 -132
  159. package/test/examples/source-repository/a/node_modules/nan/nan_persistent_pre_12_inl.h +0 -242
  160. package/test/examples/source-repository/a/node_modules/nan/nan_private.h +0 -73
  161. package/test/examples/source-repository/a/node_modules/nan/nan_scriptorigin.h +0 -76
  162. package/test/examples/source-repository/a/node_modules/nan/nan_string_bytes.h +0 -305
  163. package/test/examples/source-repository/a/node_modules/nan/nan_typedarray_contents.h +0 -96
  164. package/test/examples/source-repository/a/node_modules/nan/nan_weak.h +0 -437
  165. package/test/examples/source-repository/a/node_modules/nan/package.json +0 -38
  166. package/test/examples/source-repository/a/node_modules/nan/tools/1to2.js +0 -412
  167. package/test/examples/source-repository/a/node_modules/nan/tools/README.md +0 -14
  168. package/test/examples/source-repository/a/node_modules/nan/tools/package.json +0 -19
  169. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/.eslintrc.js +0 -20
  170. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/.prettierignore +0 -4
  171. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/.prettierrc +0 -8
  172. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/CHANGELOG.md +0 -58
  173. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/index.d.ts +0 -5
  174. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/index.js +0 -18
  175. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/index.js.map +0 -1
  176. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.d.ts +0 -19
  177. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.js +0 -555
  178. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.js.map +0 -1
  179. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/Loadable.d.ts +0 -3
  180. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/Loadable.js +0 -5
  181. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/Loadable.js.map +0 -1
  182. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepository.d.ts +0 -45
  183. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepository.js +0 -176
  184. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepository.js.map +0 -1
  185. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.d.ts +0 -11
  186. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.js +0 -9
  187. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.js.map +0 -1
  188. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.d.ts +0 -13
  189. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.js +0 -19
  190. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.js.map +0 -1
  191. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/types.d.ts +0 -221
  192. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/types.js +0 -234
  193. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/types.js.map +0 -1
  194. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/index.ts +0 -5
  195. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/jest.config.js +0 -9
  196. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/package.json +0 -42
  197. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/FlattenedSourceGraph.ts +0 -702
  198. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/Loadable.ts +0 -2
  199. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/SourceRepository.ts +0 -250
  200. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/SourceRepositoryFilter.ts +0 -15
  201. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/sourceGraphTypes.ts +0 -14
  202. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/types.ts +0 -236
  203. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/tsconfig.json +0 -19
  204. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/types/@dagrejs/graphlib.d.ts +0 -1
  205. package/test/examples/source-repository/b/node_modules/bindings/LICENSE.md +0 -22
  206. package/test/examples/source-repository/b/node_modules/bindings/README.md +0 -98
  207. package/test/examples/source-repository/b/node_modules/bindings/bindings.js +0 -221
  208. package/test/examples/source-repository/b/node_modules/bindings/package.json +0 -28
  209. package/test/examples/source-repository/b/node_modules/file-uri-to-path/.travis.yml +0 -30
  210. package/test/examples/source-repository/b/node_modules/file-uri-to-path/History.md +0 -21
  211. package/test/examples/source-repository/b/node_modules/file-uri-to-path/LICENSE +0 -20
  212. package/test/examples/source-repository/b/node_modules/file-uri-to-path/README.md +0 -74
  213. package/test/examples/source-repository/b/node_modules/file-uri-to-path/index.d.ts +0 -2
  214. package/test/examples/source-repository/b/node_modules/file-uri-to-path/index.js +0 -66
  215. package/test/examples/source-repository/b/node_modules/file-uri-to-path/package.json +0 -32
  216. package/test/examples/source-repository/b/node_modules/file-uri-to-path/test/test.js +0 -24
  217. package/test/examples/source-repository/b/node_modules/file-uri-to-path/test/tests.json +0 -13
  218. package/test/examples/source-repository/b/node_modules/fsevents/LICENSE +0 -22
  219. package/test/examples/source-repository/b/node_modules/fsevents/README.md +0 -89
  220. package/test/examples/source-repository/b/node_modules/fsevents/fsevents.d.ts +0 -46
  221. package/test/examples/source-repository/b/node_modules/fsevents/fsevents.js +0 -83
  222. package/test/examples/source-repository/b/node_modules/fsevents/fsevents.node +0 -0
  223. package/test/examples/source-repository/b/node_modules/fsevents/package.json +0 -62
  224. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/.travis.yml +0 -103
  225. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/ISSUE_TEMPLATE.md +0 -8
  226. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/LICENSE +0 -22
  227. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/Readme.md +0 -78
  228. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/binding.gyp +0 -21
  229. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/.target.mk +0 -53
  230. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/Makefile +0 -352
  231. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/Release/.deps/Release/.node.d +0 -1
  232. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/Release/.deps/Release/obj.target/fse/fsevents.o.d.raw +0 -75
  233. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/Release/.node +0 -0
  234. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/binding.Makefile +0 -6
  235. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/fse.target.mk +0 -188
  236. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/gyp-mac-tool +0 -772
  237. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/fsevents.cc +0 -88
  238. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/fsevents.js +0 -106
  239. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/install.js +0 -13
  240. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/package.json +0 -34
  241. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/src/async.cc +0 -43
  242. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/src/constants.cc +0 -110
  243. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/src/methods.cc +0 -44
  244. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/src/storage.cc +0 -27
  245. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/src/thread.cc +0 -71
  246. package/test/examples/source-repository/b/node_modules/nan/CHANGELOG.md +0 -557
  247. package/test/examples/source-repository/b/node_modules/nan/CMakeLists.txt +0 -138
  248. package/test/examples/source-repository/b/node_modules/nan/LICENSE.md +0 -9
  249. package/test/examples/source-repository/b/node_modules/nan/README.md +0 -456
  250. package/test/examples/source-repository/b/node_modules/nan/doc/asyncworker.md +0 -146
  251. package/test/examples/source-repository/b/node_modules/nan/doc/buffers.md +0 -54
  252. package/test/examples/source-repository/b/node_modules/nan/doc/callback.md +0 -76
  253. package/test/examples/source-repository/b/node_modules/nan/doc/converters.md +0 -41
  254. package/test/examples/source-repository/b/node_modules/nan/doc/errors.md +0 -226
  255. package/test/examples/source-repository/b/node_modules/nan/doc/json.md +0 -62
  256. package/test/examples/source-repository/b/node_modules/nan/doc/maybe_types.md +0 -583
  257. package/test/examples/source-repository/b/node_modules/nan/doc/methods.md +0 -672
  258. package/test/examples/source-repository/b/node_modules/nan/doc/new.md +0 -147
  259. package/test/examples/source-repository/b/node_modules/nan/doc/node_misc.md +0 -123
  260. package/test/examples/source-repository/b/node_modules/nan/doc/object_wrappers.md +0 -263
  261. package/test/examples/source-repository/b/node_modules/nan/doc/persistent.md +0 -296
  262. package/test/examples/source-repository/b/node_modules/nan/doc/scopes.md +0 -73
  263. package/test/examples/source-repository/b/node_modules/nan/doc/script.md +0 -58
  264. package/test/examples/source-repository/b/node_modules/nan/doc/string_bytes.md +0 -62
  265. package/test/examples/source-repository/b/node_modules/nan/doc/v8_internals.md +0 -199
  266. package/test/examples/source-repository/b/node_modules/nan/doc/v8_misc.md +0 -85
  267. package/test/examples/source-repository/b/node_modules/nan/include_dirs.js +0 -1
  268. package/test/examples/source-repository/b/node_modules/nan/nan.h +0 -2958
  269. package/test/examples/source-repository/b/node_modules/nan/nan_callbacks.h +0 -92
  270. package/test/examples/source-repository/b/node_modules/nan/nan_callbacks_12_inl.h +0 -520
  271. package/test/examples/source-repository/b/node_modules/nan/nan_callbacks_pre_12_inl.h +0 -520
  272. package/test/examples/source-repository/b/node_modules/nan/nan_converters.h +0 -72
  273. package/test/examples/source-repository/b/node_modules/nan/nan_converters_43_inl.h +0 -68
  274. package/test/examples/source-repository/b/node_modules/nan/nan_converters_pre_43_inl.h +0 -42
  275. package/test/examples/source-repository/b/node_modules/nan/nan_define_own_property_helper.h +0 -29
  276. package/test/examples/source-repository/b/node_modules/nan/nan_implementation_12_inl.h +0 -430
  277. package/test/examples/source-repository/b/node_modules/nan/nan_implementation_pre_12_inl.h +0 -263
  278. package/test/examples/source-repository/b/node_modules/nan/nan_json.h +0 -166
  279. package/test/examples/source-repository/b/node_modules/nan/nan_maybe_43_inl.h +0 -356
  280. package/test/examples/source-repository/b/node_modules/nan/nan_maybe_pre_43_inl.h +0 -268
  281. package/test/examples/source-repository/b/node_modules/nan/nan_new.h +0 -340
  282. package/test/examples/source-repository/b/node_modules/nan/nan_object_wrap.h +0 -156
  283. package/test/examples/source-repository/b/node_modules/nan/nan_persistent_12_inl.h +0 -132
  284. package/test/examples/source-repository/b/node_modules/nan/nan_persistent_pre_12_inl.h +0 -242
  285. package/test/examples/source-repository/b/node_modules/nan/nan_private.h +0 -73
  286. package/test/examples/source-repository/b/node_modules/nan/nan_scriptorigin.h +0 -76
  287. package/test/examples/source-repository/b/node_modules/nan/nan_string_bytes.h +0 -305
  288. package/test/examples/source-repository/b/node_modules/nan/nan_typedarray_contents.h +0 -96
  289. package/test/examples/source-repository/b/node_modules/nan/nan_weak.h +0 -437
  290. package/test/examples/source-repository/b/node_modules/nan/package.json +0 -38
  291. package/test/examples/source-repository/b/node_modules/nan/tools/1to2.js +0 -412
  292. package/test/examples/source-repository/b/node_modules/nan/tools/README.md +0 -14
  293. package/test/examples/source-repository/b/node_modules/nan/tools/package.json +0 -19
@@ -1 +0,0 @@
1
- {"version":3,"file":"FlattenedSourceGraph.js","sourceRoot":"","sources":["../../src/FlattenedSourceGraph.ts"],"names":[],"mappings":";;;AAAA,8CAA+C;AAC/C,iCASiB;AACjB,wCAA+C;AAC/C,uCAAqD;AACrD,mEAAmF;AACnF,uDAAwD;AASxD,SAAgB,kBAAkB,CAChC,WAAkB,EAClB,WAA6C;IAE7C,IAAM,oBAAoB,GAAyB;QACjD,SAAS,EAAE,EAAE;QACb,WAAW,EAAE,EAAE;QACf,OAAO,EAAE,EAAE;QACX,UAAU,EAAE,EAAE;KACf,CAAC;IACF,IAAM,4BAA4B,GAAG,IAAI,4BAAoB,CAAC,uBAAuB,EAAE,UAAU,EAAE,EAAE,EAAE,EA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C,cAA6C,EAA7C,IAA6C,EAAE;QAAtE,IAAM,aAAa,SAAA;QACtB,IAAM,SAAS,GAAG,oBAAoB,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;QAClE,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,kCAAuB,CAAC,EAAE;YAClD,OAAO,oBAAoB,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;SACxD;KACF;IAED,KAA4B,UAAyC,EAAzC,KAAA,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,EAAzC,cAAyC,EAAzC,IAAyC,EAAE;QAAlE,IAAM,aAAa,SAAA;QACtB,IAAM,MAAM,GAAG,oBAAoB,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QAC3D,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,kCAAuB,CAAC,EAAE;YAC/C,OAAO,oBAAoB,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;SACpD;KACF;IAED,KAA4B,UAA4C,EAA5C,KAAA,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC,UAAU,CAAC,EAA5C,cAA4C,EAA5C,IAA4C,EAAE;QAArE,IAAM,aAAa,SAAA;QACtB,IAAM,UAAU,GAAG,oBAAoB,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;QAClE,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,kCAAuB,CAAC,IAAI,aAAa,IAAI,kCAAuB,EAAE;YAC/F,OAAO,oBAAoB,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;SACvD;KACF;AACH,CAAC"}
@@ -1,3 +0,0 @@
1
- export interface Loadable {
2
- }
3
- export declare const LOADABLE_QUALIFIED_NAME = "@proteinjs/reflection/Loadable";
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LOADABLE_QUALIFIED_NAME = void 0;
4
- exports.LOADABLE_QUALIFIED_NAME = '@proteinjs/reflection/Loadable';
5
- //# sourceMappingURL=Loadable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Loadable.js","sourceRoot":"","sources":["../../src/Loadable.ts"],"names":[],"mappings":";;;AACa,QAAA,uBAAuB,GAAG,gCAAgC,CAAC"}
@@ -1,45 +0,0 @@
1
- import { Graph } from '@dagrejs/graphlib';
2
- import { Class, Variable, TypeAlias, Interface } from './types';
3
- import { FlattenedSourceGraph } from './FlattenedSourceGraph';
4
- declare type TypeMap = {
5
- [qualifiedName: string]: Interface | TypeAlias | Class | Variable;
6
- };
7
- export declare class SourceRepository {
8
- readonly sourceGraph: Graph;
9
- private readonly sourceLinks;
10
- flattenedSourceGraph: FlattenedSourceGraph;
11
- private readonly objectCache;
12
- private constructor();
13
- static get(): SourceRepository;
14
- private static getGlobal;
15
- interface(qualifiedInterfaceName: string): Interface;
16
- interfaceExtends(_interface: Interface, type: string): boolean;
17
- /**
18
- * Same as SourceRepository.objects except assumes it will find only 1 object.
19
- *
20
- * @param extendingType a Type or Interface that the Class or Variable extends
21
- * @return variable or instantiated class that extends `extendingType`
22
- */
23
- object<T>(extendingType: string): T;
24
- /**
25
- * @param extendingType a Type, Interface, or Class that the Class or Variable extends
26
- * @return variables and instantiated classes that extend `extendingType`
27
- */
28
- objects<T>(extendingType: string): T[];
29
- /**
30
- * @param extendingType a Type, Interface, or Class that the Class or Variable extends
31
- * @returns a hashmap (key is qualified name) of base child types (vs the instantiated objects provided by the objects method) that extend `extendingType`
32
- */
33
- baseChildren(extendingType: string): TypeMap;
34
- /**
35
- * @param extendingType a Type, Interface, or Class that the Class or Variable extends
36
- * @returns a hashmap (key is qualified name) of direct child types (vs the instantiated objects provided by the objects method) that extend `extendingType`
37
- */
38
- directChildren(extendingType: string): TypeMap;
39
- private filterObjects;
40
- static merge(serializedSourceGraph: string, sourceLinks: {
41
- [qualifiedName: string]: any;
42
- }): void;
43
- private static deserializeClass;
44
- }
45
- export {};
@@ -1,176 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SourceRepository = void 0;
4
- var graphlib_1 = require("@dagrejs/graphlib");
5
- var util_1 = require("@proteinjs/util");
6
- var sourceGraphTypes_1 = require("./sourceGraphTypes");
7
- var types_1 = require("./types");
8
- var FlattenedSourceGraph_1 = require("./FlattenedSourceGraph");
9
- var SourceRepositoryFilter_1 = require("./SourceRepositoryFilter");
10
- var SourceRepository = /** @class */ (function () {
11
- function SourceRepository() {
12
- this.sourceGraph = new graphlib_1.Graph();
13
- this.sourceLinks = {};
14
- this.flattenedSourceGraph = { variables: {}, typeAliases: {}, classes: {}, interfaces: {} };
15
- // private readonly typeCache: { [type: string]: (ClassDeclaration|VariableDeclaration)[] } = {};
16
- this.objectCache = {};
17
- }
18
- SourceRepository.get = function () {
19
- if (!SourceRepository.getGlobal().__proteinjs_reflection_SourceRepository) {
20
- SourceRepository.getGlobal().__proteinjs_reflection_SourceRepository = new SourceRepository();
21
- }
22
- return SourceRepository.getGlobal().__proteinjs_reflection_SourceRepository;
23
- };
24
- SourceRepository.getGlobal = function () {
25
- if (typeof window !== 'undefined') {
26
- return window;
27
- }
28
- return globalThis;
29
- };
30
- SourceRepository.prototype.interface = function (qualifiedInterfaceName) {
31
- return this.flattenedSourceGraph.interfaces[qualifiedInterfaceName];
32
- };
33
- SourceRepository.prototype.interfaceExtends = function (_interface, type) {
34
- return typeof _interface.allParents[type] !== 'undefined';
35
- };
36
- /**
37
- * Same as SourceRepository.objects except assumes it will find only 1 object.
38
- *
39
- * @param extendingType a Type or Interface that the Class or Variable extends
40
- * @return variable or instantiated class that extends `extendingType`
41
- */
42
- SourceRepository.prototype.object = function (extendingType) {
43
- return this.objects(extendingType)[0];
44
- };
45
- /**
46
- * @param extendingType a Type, Interface, or Class that the Class or Variable extends
47
- * @return variables and instantiated classes that extend `extendingType`
48
- */
49
- SourceRepository.prototype.objects = function (extendingType) {
50
- if (this.objectCache[extendingType]) {
51
- return this.objectCache[extendingType];
52
- }
53
- var baseChildren = this.baseChildren(extendingType);
54
- var extendingObjects = [];
55
- for (var baseChildQualifiedName in baseChildren) {
56
- var child = baseChildren[baseChildQualifiedName];
57
- if (util_1.isInstanceOf(child, types_1.Class)) {
58
- extendingObjects.push(new child._constructor());
59
- }
60
- else if (util_1.isInstanceOf(child, types_1.Variable)) {
61
- extendingObjects.push(child.value);
62
- }
63
- }
64
- this.objectCache[extendingType] = extendingObjects;
65
- return extendingObjects;
66
- };
67
- /**
68
- * @param extendingType a Type, Interface, or Class that the Class or Variable extends
69
- * @returns a hashmap (key is qualified name) of base child types (vs the instantiated objects provided by the objects method) that extend `extendingType`
70
- */
71
- SourceRepository.prototype.baseChildren = function (extendingType) {
72
- var _interface = SourceRepository.get().flattenedSourceGraph.interfaces[extendingType];
73
- var typeAlias = SourceRepository.get().flattenedSourceGraph.typeAliases[extendingType];
74
- var _class = SourceRepository.get().flattenedSourceGraph.classes[extendingType];
75
- var baseChildren;
76
- if (_interface) {
77
- baseChildren = _interface.baseChildren;
78
- }
79
- else if (typeAlias) {
80
- baseChildren = typeAlias.baseChildren;
81
- }
82
- else if (_class) {
83
- baseChildren = _class.baseChildren;
84
- }
85
- else {
86
- throw new Error("Unable to find type: " + extendingType);
87
- }
88
- if (extendingType === SourceRepositoryFilter_1.SOURCE_REPOSITORY_FILTER_QUALIFIED_NAME) {
89
- return baseChildren;
90
- }
91
- return this.filterObjects(baseChildren);
92
- };
93
- /**
94
- * @param extendingType a Type, Interface, or Class that the Class or Variable extends
95
- * @returns a hashmap (key is qualified name) of direct child types (vs the instantiated objects provided by the objects method) that extend `extendingType`
96
- */
97
- SourceRepository.prototype.directChildren = function (extendingType) {
98
- var _interface = SourceRepository.get().flattenedSourceGraph.interfaces[extendingType];
99
- var typeAlias = SourceRepository.get().flattenedSourceGraph.typeAliases[extendingType];
100
- var _class = SourceRepository.get().flattenedSourceGraph.classes[extendingType];
101
- var directChildren;
102
- if (_interface) {
103
- directChildren = _interface.directChildren;
104
- }
105
- else if (typeAlias) {
106
- directChildren = typeAlias.directChildren;
107
- }
108
- else if (_class) {
109
- directChildren = _class.directChildren;
110
- }
111
- else {
112
- throw new Error("Unable to find type: " + extendingType);
113
- }
114
- if (extendingType === SourceRepositoryFilter_1.SOURCE_REPOSITORY_FILTER_QUALIFIED_NAME) {
115
- return directChildren;
116
- }
117
- return this.filterObjects(directChildren);
118
- };
119
- SourceRepository.prototype.filterObjects = function (typeMap) {
120
- var filteredTypeMap = {};
121
- var filters = SourceRepositoryFilter_1.getSourceRepositoryFilters();
122
- for (var _i = 0, _a = Object.keys(typeMap); _i < _a.length; _i++) {
123
- var qualifiedName = _a[_i];
124
- var packageScope = typeMap[qualifiedName];
125
- var filtered = true;
126
- for (var _b = 0, filters_1 = filters; _b < filters_1.length; _b++) {
127
- var filter = filters_1[_b];
128
- if (!filter.filterObject(qualifiedName)) {
129
- filtered = false;
130
- break;
131
- }
132
- }
133
- if (filtered) {
134
- filteredTypeMap[qualifiedName] = packageScope;
135
- }
136
- }
137
- return filteredTypeMap;
138
- };
139
- SourceRepository.merge = function (serializedSourceGraph, sourceLinks) {
140
- var unescapedSerializedSourceGraph = serializedSourceGraph.replace(/\\'/g, "'");
141
- var sourceGraph = util_1.graphSerializer.deserialize(unescapedSerializedSourceGraph);
142
- for (var _i = 0, _a = sourceGraph.nodes(); _i < _a.length; _i++) {
143
- var nodeName = _a[_i];
144
- var nodeValue = sourceGraph.node(nodeName);
145
- if (!nodeValue) {
146
- continue;
147
- }
148
- SourceRepository.get().sourceGraph.setNode(nodeName, SourceRepository.deserializeClass(nodeValue));
149
- }
150
- for (var _b = 0, _c = sourceGraph.edges(); _b < _c.length; _b++) {
151
- var edge = _c[_b];
152
- var edgeValue = sourceGraph.edge(edge);
153
- SourceRepository.get().sourceGraph.setEdge(edge, edgeValue);
154
- }
155
- Object.assign(SourceRepository.get().sourceLinks, sourceLinks);
156
- SourceRepository.get().flattenedSourceGraph = FlattenedSourceGraph_1.flattenSourceGraph(SourceRepository.get().sourceGraph, SourceRepository.get().sourceLinks);
157
- };
158
- SourceRepository.deserializeClass = function (classJson) {
159
- if (classJson.sourceType === sourceGraphTypes_1.SourceType.variable) {
160
- return types_1.VariableDeclaration.deserialize(classJson);
161
- }
162
- else if (classJson.sourceType === sourceGraphTypes_1.SourceType.typeAlias) {
163
- return types_1.TypeAliasDeclaration.deserialize(classJson);
164
- }
165
- else if (classJson.sourceType === sourceGraphTypes_1.SourceType.class) {
166
- return types_1.ClassDeclaration.deserialize(classJson);
167
- }
168
- else if (classJson.sourceType === sourceGraphTypes_1.SourceType.interface) {
169
- return types_1.InterfaceDeclaration.deserialize(classJson);
170
- }
171
- return classJson;
172
- };
173
- return SourceRepository;
174
- }());
175
- exports.SourceRepository = SourceRepository;
176
- //# sourceMappingURL=SourceRepository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SourceRepository.js","sourceRoot":"","sources":["../../src/SourceRepository.ts"],"names":[],"mappings":";;;AAAA,8CAA0C;AAC1C,wCAAgE;AAChE,uDAAgD;AAChD,iCAUiB;AACjB,+DAAkF;AAClF,mEAA+G;AAI/G;IAOE;QANgB,gBAAW,GAAG,IAAI,gBAAK,EAAE,CAAC;QACzB,gBAAW,GAAqC,EAAE,CAAC;QAC7D,yBAAoB,GAAyB,EAAE,SAAS,EAAE,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;QACpH,iGAAiG;QAChF,gBAAW,GAA8B,EAAE,CAAC;IAEtC,CAAC;IAEjB,oBAAG,GAAV;QACE,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC,uCAAuC,EAAE;YACzE,gBAAgB,CAAC,SAAS,EAAE,CAAC,uCAAuC,GAAG,IAAI,gBAAgB,EAAE,CAAC;SAC/F;QAED,OAAO,gBAAgB,CAAC,SAAS,EAAE,CAAC,uCAAuC,CAAC;IAC9E,CAAC;IAEc,0BAAS,GAAxB;QACE,IAAI,OAAO,MAAM,KAAK,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BAAgB,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;SAChD;aAAM,IAAI,SAAS,CAAC,UAAU,KAAK,6BAAU,CAAC,SAAS,EAAE;YACxD,OAAO,4BAAoB,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;SACpD;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAsDH,uBAAC;AAAD,CAAC,AAtOD,IAsOC;AAtOY,4CAAgB"}
@@ -1,11 +0,0 @@
1
- import { Loadable } from './Loadable';
2
- export declare const SOURCE_REPOSITORY_FILTER_QUALIFIED_NAME = "@proteinjs/reflection/SourceRepositoryFilter";
3
- export declare const getSourceRepositoryFilters: () => SourceRepositoryFilter[];
4
- export interface SourceRepositoryFilter extends Loadable {
5
- /**
6
- * Filter objects that would be returned by `SourceRepository.object` and `SourceRepository.objects`
7
- * @param qualifiedName the package-qualified name of the object to be filtered (ie. `@dependency/package/ClassName`)
8
- * @return true if the object should be returned by the `SourceRepository`
9
- */
10
- filterObject(qualifiedName: string): boolean;
11
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getSourceRepositoryFilters = exports.SOURCE_REPOSITORY_FILTER_QUALIFIED_NAME = void 0;
4
- var SourceRepository_1 = require("./SourceRepository");
5
- exports.SOURCE_REPOSITORY_FILTER_QUALIFIED_NAME = '@proteinjs/reflection/SourceRepositoryFilter';
6
- exports.getSourceRepositoryFilters = function () {
7
- return SourceRepository_1.SourceRepository.get().objects(exports.SOURCE_REPOSITORY_FILTER_QUALIFIED_NAME);
8
- };
9
- //# sourceMappingURL=SourceRepositoryFilter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SourceRepositoryFilter.js","sourceRoot":"","sources":["../../src/SourceRepositoryFilter.ts"],"names":[],"mappings":";;;AACA,uDAAsD;AAEzC,QAAA,uCAAuC,GAAG,8CAA8C,CAAC;AACzF,QAAA,0BAA0B,GAAG;IACxC,OAAA,mCAAgB,CAAC,GAAG,EAAE,CAAC,OAAO,CAAyB,+CAAuC,CAAC;AAA/F,CAA+F,CAAC"}
@@ -1,13 +0,0 @@
1
- export declare enum SourceType {
2
- variable = 0,
3
- typeAlias = 1,
4
- class = 2,
5
- interface = 3
6
- }
7
- export declare enum SourceRelationship {
8
- hasType = "has type",
9
- extendsType = "extends type",
10
- extendsClass = "extends class",
11
- implementsInterface = "implements interface",
12
- extendsInterface = "extends interface"
13
- }
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SourceRelationship = exports.SourceType = void 0;
4
- var SourceType;
5
- (function (SourceType) {
6
- SourceType[SourceType["variable"] = 0] = "variable";
7
- SourceType[SourceType["typeAlias"] = 1] = "typeAlias";
8
- SourceType[SourceType["class"] = 2] = "class";
9
- SourceType[SourceType["interface"] = 3] = "interface";
10
- })(SourceType = exports.SourceType || (exports.SourceType = {}));
11
- var SourceRelationship;
12
- (function (SourceRelationship) {
13
- SourceRelationship["hasType"] = "has type";
14
- SourceRelationship["extendsType"] = "extends type";
15
- SourceRelationship["extendsClass"] = "extends class";
16
- SourceRelationship["implementsInterface"] = "implements interface";
17
- SourceRelationship["extendsInterface"] = "extends interface";
18
- })(SourceRelationship = exports.SourceRelationship || (exports.SourceRelationship = {}));
19
- //# sourceMappingURL=sourceGraphTypes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sourceGraphTypes.js","sourceRoot":"","sources":["../../src/sourceGraphTypes.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,mDAAQ,CAAA;IACR,qDAAS,CAAA;IACT,6CAAK,CAAA;IACL,qDAAS,CAAA;AACX,CAAC,EALW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAKrB;AAED,IAAY,kBAMX;AAND,WAAY,kBAAkB;IAC5B,0CAAoB,CAAA;IACpB,kDAA4B,CAAA;IAC5B,oDAA8B,CAAA;IAC9B,kEAA4C,CAAA;IAC5C,4DAAsC,CAAA;AACxC,CAAC,EANW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAM7B"}
@@ -1,221 +0,0 @@
1
- export declare abstract class PackageScope {
2
- readonly packageName: string;
3
- readonly name: string;
4
- readonly filePath?: string | undefined;
5
- readonly qualifiedName: string;
6
- constructor(packageName: string, name: string, filePath?: string | undefined);
7
- }
8
- export declare class Variable extends PackageScope {
9
- readonly isExported: boolean;
10
- readonly isConst: boolean;
11
- readonly value: any;
12
- readonly typeParameters: {
13
- [qualifiedName: string]: (TypeAlias | Interface)[];
14
- };
15
- directParentTypes: {
16
- [qualifiedName: string]: TypeAlias | Interface;
17
- };
18
- allParentTypes: {
19
- [qualifiedName: string]: TypeAlias | Interface;
20
- };
21
- rootParentTypes: {
22
- [qualifiedName: string]: TypeAlias | Interface;
23
- };
24
- constructor(packageName: string, name: string, filePath: string, isExported: boolean, isConst: boolean, value: any, typeParameters?: {
25
- [qualifiedName: string]: (TypeAlias | Interface)[];
26
- }, directParentTypes?: {
27
- [qualifiedName: string]: TypeAlias | Interface;
28
- }, allParentTypes?: {
29
- [qualifiedName: string]: TypeAlias | Interface;
30
- }, rootParentTypes?: {
31
- [qualifiedName: string]: TypeAlias | Interface;
32
- });
33
- }
34
- export declare class TypeAlias extends PackageScope {
35
- readonly typeParameters: {
36
- [qualifiedName: string]: (TypeAlias | Interface)[];
37
- };
38
- readonly directParents: {
39
- [qualifiedName: string]: TypeAlias | Interface;
40
- };
41
- allParents: {
42
- [qualifiedName: string]: TypeAlias | Interface;
43
- };
44
- rootParents: {
45
- [qualifiedName: string]: TypeAlias | Interface;
46
- };
47
- directChildren: {
48
- [qualifiedName: string]: TypeAlias | Variable;
49
- };
50
- allChildren: {
51
- [qualifiedName: string]: TypeAlias | Variable;
52
- };
53
- baseChildren: {
54
- [qualifiedName: string]: TypeAlias | Variable;
55
- };
56
- constructor(packageName: string, name: string, filePath?: string, typeParameters?: {
57
- [qualifiedName: string]: (TypeAlias | Interface)[];
58
- }, directParents?: {
59
- [qualifiedName: string]: TypeAlias | Interface;
60
- }, allParents?: {
61
- [qualifiedName: string]: TypeAlias | Interface;
62
- }, rootParents?: {
63
- [qualifiedName: string]: TypeAlias | Interface;
64
- }, directChildren?: {
65
- [qualifiedName: string]: TypeAlias | Variable;
66
- }, allChildren?: {
67
- [qualifiedName: string]: TypeAlias | Variable;
68
- }, baseChildren?: {
69
- [qualifiedName: string]: TypeAlias | Variable;
70
- });
71
- }
72
- export declare class Class extends PackageScope {
73
- readonly isAbstract: boolean;
74
- readonly isStatic: boolean;
75
- readonly visibility: Visibility;
76
- readonly properties: Property[];
77
- readonly methods: Method[];
78
- readonly _constructor: any;
79
- readonly directParents: {
80
- [qualifiedName: string]: Class | Interface | TypeAlias;
81
- };
82
- readonly typeParameters: {
83
- [qualifiedName: string]: (TypeAlias | Interface | TypeAlias)[];
84
- };
85
- allParents: {
86
- [qualifiedName: string]: Class | Interface | TypeAlias;
87
- };
88
- rootParents: {
89
- [qualifiedName: string]: Class | Interface | TypeAlias;
90
- };
91
- directChildren: {
92
- [qualifiedName: string]: Class;
93
- };
94
- allChildren: {
95
- [qualifiedName: string]: Class;
96
- };
97
- baseChildren: {
98
- [qualifiedName: string]: Class;
99
- };
100
- constructor(packageName: string, name: string, filePath: string, isAbstract: boolean, isStatic: boolean, visibility: Visibility, properties: Property[], methods: Method[], _constructor: any, directParents?: {
101
- [qualifiedName: string]: Class | Interface | TypeAlias;
102
- }, typeParameters?: {
103
- [qualifiedName: string]: (TypeAlias | Interface | TypeAlias)[];
104
- }, allParents?: {
105
- [qualifiedName: string]: Class | Interface | TypeAlias;
106
- }, rootParents?: {
107
- [qualifiedName: string]: Class | Interface | TypeAlias;
108
- }, directChildren?: {
109
- [qualifiedName: string]: Class;
110
- }, allChildren?: {
111
- [qualifiedName: string]: Class;
112
- }, baseChildren?: {
113
- [qualifiedName: string]: Class;
114
- });
115
- }
116
- export declare class Interface extends PackageScope {
117
- readonly properties: Property[];
118
- readonly methods: Method[];
119
- readonly typeParameters: {
120
- [qualifiedName: string]: (TypeAlias | Interface)[];
121
- };
122
- readonly directParents: {
123
- [qualifiedName: string]: Interface | TypeAlias;
124
- };
125
- allParents: {
126
- [qualifiedName: string]: Interface | TypeAlias;
127
- };
128
- rootParents: {
129
- [qualifiedName: string]: Interface | TypeAlias;
130
- };
131
- readonly directChildren: {
132
- [qualifiedName: string]: Interface | TypeAlias | Class | Variable;
133
- };
134
- allChildren: {
135
- [qualifiedName: string]: Interface | TypeAlias | Class | Variable;
136
- };
137
- baseChildren: {
138
- [qualifiedName: string]: Interface | TypeAlias | Class | Variable;
139
- };
140
- constructor(packageName: string, name: string, properties: Property[], methods: Method[], filePath?: string, typeParameters?: {
141
- [qualifiedName: string]: (TypeAlias | Interface)[];
142
- }, directParents?: {
143
- [qualifiedName: string]: Interface | TypeAlias;
144
- }, allParents?: {
145
- [qualifiedName: string]: Interface | TypeAlias;
146
- }, rootParents?: {
147
- [qualifiedName: string]: Interface | TypeAlias;
148
- }, directChildren?: {
149
- [qualifiedName: string]: Interface | TypeAlias | Class | Variable;
150
- }, allChildren?: {
151
- [qualifiedName: string]: Interface | TypeAlias | Class | Variable;
152
- }, baseChildren?: {
153
- [qualifiedName: string]: Interface | TypeAlias | Class | Variable;
154
- });
155
- }
156
- export declare class Method {
157
- readonly name: string;
158
- readonly returnType: TypeAliasDeclaration | undefined;
159
- readonly isAsync: boolean;
160
- readonly isOptional: boolean;
161
- readonly isAbstract: boolean;
162
- readonly isStatic: boolean;
163
- readonly visibility: Visibility;
164
- readonly parameters: Parameter[];
165
- constructor(name: string, returnType: TypeAliasDeclaration | undefined, isAsync: boolean, isOptional: boolean, isAbstract: boolean, isStatic: boolean, visibility: Visibility, parameters: Parameter[]);
166
- }
167
- export declare type Visibility = 'public' | 'protected' | 'private' | undefined;
168
- export declare class Property {
169
- readonly name: string;
170
- readonly type: TypeAliasDeclaration | undefined;
171
- readonly isOptional: boolean;
172
- readonly isAbstract: boolean;
173
- readonly isStatic: boolean;
174
- readonly visibility: Visibility;
175
- constructor(name: string, type: TypeAliasDeclaration | undefined, isOptional: boolean, isAbstract: boolean, isStatic: boolean, visibility: Visibility);
176
- }
177
- export declare class Parameter {
178
- readonly name: string;
179
- readonly type: TypeAliasDeclaration | undefined;
180
- constructor(name: string, type: TypeAliasDeclaration | undefined);
181
- }
182
- /**
183
- * Declarations are intermediary types created by the parser. They do not contain the deeply-nested, relational
184
- * information possible at runtime.
185
- *
186
- * Note: The declaration types specified in typescript-parser are not used because they are not package-scoped.
187
- * The typescript-parser package is a file-level parser, and reflection is a package-level parser.
188
- */
189
- export declare class VariableDeclaration extends PackageScope {
190
- type: TypeAliasDeclaration;
191
- isExported: boolean;
192
- isConst: boolean;
193
- constructor(packageName: string, name: string, filePath: string, type: TypeAliasDeclaration, isExported: boolean, isConst: boolean);
194
- static deserialize(json: any): VariableDeclaration;
195
- }
196
- export declare class TypeAliasDeclaration extends PackageScope {
197
- typeParameters?: string[] | undefined;
198
- directParents?: TypeAliasDeclaration[] | undefined;
199
- constructor(packageName: string, name: string, typeParameters?: string[] | undefined, directParents?: TypeAliasDeclaration[] | undefined, filePath?: string);
200
- static deserialize(json: any): TypeAliasDeclaration;
201
- }
202
- export declare class ClassDeclaration extends PackageScope {
203
- readonly isAbstract: boolean;
204
- readonly isStatic: boolean;
205
- readonly visibility: Visibility;
206
- readonly properties: Property[];
207
- readonly methods: Method[];
208
- readonly typeParameters: string[];
209
- readonly directParentInterfaces: InterfaceDeclaration[];
210
- readonly directParentClasses: ClassDeclaration[];
211
- constructor(packageName: string, name: string, isAbstract: boolean, isStatic: boolean, visibility: Visibility, properties: Property[], methods: Method[], typeParameters: string[], directParentInterfaces: InterfaceDeclaration[], directParentClasses: ClassDeclaration[], filePath?: string);
212
- static deserialize(json: any): ClassDeclaration;
213
- }
214
- export declare class InterfaceDeclaration extends PackageScope {
215
- readonly properties: Property[];
216
- readonly methods: Method[];
217
- readonly typeParameters: string[];
218
- readonly directParents: InterfaceDeclaration[];
219
- constructor(packageName: string, name: string, properties: Property[], methods: Method[], typeParameters: string[], directParents: InterfaceDeclaration[], filePath?: string);
220
- static deserialize(json: any): InterfaceDeclaration;
221
- }