@spyglassmc/core 0.1.0 → 0.2.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 (196) hide show
  1. package/README.md +7 -0
  2. package/lib/browser.d.ts +2 -0
  3. package/lib/browser.js +2 -0
  4. package/lib/common/TwoWayMap.d.ts +21 -0
  5. package/lib/common/TwoWayMap.js +69 -0
  6. package/lib/common/externals/BrowserExternals.d.ts +3 -0
  7. package/lib/common/externals/BrowserExternals.js +191 -0
  8. package/lib/common/externals/NodeJsExternals.d.ts +3 -0
  9. package/lib/common/externals/NodeJsExternals.js +151 -0
  10. package/lib/common/externals/downloader.d.ts +31 -0
  11. package/lib/common/externals/downloader.js +32 -0
  12. package/lib/common/externals/index.d.ts +96 -0
  13. package/lib/common/externals/index.js +2 -0
  14. package/lib/common/index.d.ts +2 -1
  15. package/lib/common/index.js +2 -13
  16. package/lib/common/util.d.ts +17 -34
  17. package/lib/common/util.js +32 -113
  18. package/lib/index.d.ts +7 -7
  19. package/lib/index.js +7 -19
  20. package/lib/node/AstNode.d.ts +3 -3
  21. package/lib/node/AstNode.js +10 -16
  22. package/lib/node/BooleanNode.d.ts +2 -2
  23. package/lib/node/BooleanNode.js +4 -7
  24. package/lib/node/CommentNode.d.ts +1 -1
  25. package/lib/node/CommentNode.js +2 -5
  26. package/lib/node/ErrorNode.d.ts +1 -1
  27. package/lib/node/ErrorNode.js +2 -5
  28. package/lib/node/FileNode.d.ts +3 -3
  29. package/lib/node/FileNode.js +2 -5
  30. package/lib/node/FloatNode.d.ts +2 -2
  31. package/lib/node/FloatNode.js +4 -7
  32. package/lib/node/IntegerNode.d.ts +2 -2
  33. package/lib/node/IntegerNode.js +4 -7
  34. package/lib/node/ListNode.d.ts +2 -2
  35. package/lib/node/ListNode.js +2 -5
  36. package/lib/node/LiteralNode.d.ts +4 -4
  37. package/lib/node/LiteralNode.js +5 -8
  38. package/lib/node/LongNode.d.ts +2 -2
  39. package/lib/node/LongNode.js +4 -7
  40. package/lib/node/RecordNode.d.ts +2 -2
  41. package/lib/node/RecordNode.js +2 -5
  42. package/lib/node/ResourceLocationNode.d.ts +6 -8
  43. package/lib/node/ResourceLocationNode.js +9 -12
  44. package/lib/node/Sequence.d.ts +4 -3
  45. package/lib/node/Sequence.js +4 -6
  46. package/lib/node/StringNode.d.ts +5 -5
  47. package/lib/node/StringNode.js +9 -12
  48. package/lib/node/SymbolNode.d.ts +4 -4
  49. package/lib/node/SymbolNode.js +5 -8
  50. package/lib/node/index.d.ts +15 -15
  51. package/lib/node/index.js +15 -27
  52. package/lib/nodejs.d.ts +2 -0
  53. package/lib/nodejs.js +2 -0
  54. package/lib/parser/Parser.d.ts +3 -3
  55. package/lib/parser/Parser.js +1 -4
  56. package/lib/parser/boolean.d.ts +2 -2
  57. package/lib/parser/boolean.js +3 -6
  58. package/lib/parser/comment.d.ts +2 -2
  59. package/lib/parser/comment.js +5 -9
  60. package/lib/parser/empty.d.ts +1 -1
  61. package/lib/parser/empty.js +1 -5
  62. package/lib/parser/error.d.ts +2 -2
  63. package/lib/parser/error.js +5 -9
  64. package/lib/parser/file.d.ts +3 -3
  65. package/lib/parser/file.js +9 -13
  66. package/lib/parser/float.d.ts +4 -4
  67. package/lib/parser/float.js +12 -16
  68. package/lib/parser/index.d.ts +16 -16
  69. package/lib/parser/index.js +16 -34
  70. package/lib/parser/integer.d.ts +4 -4
  71. package/lib/parser/integer.js +10 -14
  72. package/lib/parser/list.d.ts +2 -2
  73. package/lib/parser/list.js +15 -19
  74. package/lib/parser/literal.d.ts +2 -2
  75. package/lib/parser/literal.js +5 -9
  76. package/lib/parser/long.d.ts +4 -4
  77. package/lib/parser/long.js +10 -14
  78. package/lib/parser/record.d.ts +3 -3
  79. package/lib/parser/record.js +20 -24
  80. package/lib/parser/resourceLocation.d.ts +2 -2
  81. package/lib/parser/resourceLocation.js +14 -18
  82. package/lib/parser/string.d.ts +7 -7
  83. package/lib/parser/string.js +40 -44
  84. package/lib/parser/symbol.d.ts +3 -3
  85. package/lib/parser/symbol.js +3 -7
  86. package/lib/parser/util.d.ts +30 -12
  87. package/lib/parser/util.js +78 -63
  88. package/lib/processor/ColorInfoProvider.d.ts +1 -1
  89. package/lib/processor/ColorInfoProvider.js +6 -9
  90. package/lib/processor/InlayHintProvider.d.ts +2 -2
  91. package/lib/processor/InlayHintProvider.js +1 -2
  92. package/lib/processor/SignatureHelpProvider.d.ts +2 -2
  93. package/lib/processor/SignatureHelpProvider.js +1 -2
  94. package/lib/processor/checker/Checker.d.ts +2 -2
  95. package/lib/processor/checker/Checker.js +1 -5
  96. package/lib/processor/checker/builtin.d.ts +5 -4
  97. package/lib/processor/checker/builtin.js +26 -28
  98. package/lib/processor/checker/index.d.ts +2 -2
  99. package/lib/processor/checker/index.js +2 -27
  100. package/lib/processor/colorizer/Colorizer.d.ts +4 -4
  101. package/lib/processor/colorizer/Colorizer.js +8 -11
  102. package/lib/processor/colorizer/builtin.d.ts +3 -3
  103. package/lib/processor/colorizer/builtin.js +33 -46
  104. package/lib/processor/colorizer/index.d.ts +2 -2
  105. package/lib/processor/colorizer/index.js +2 -27
  106. package/lib/processor/completer/Completer.d.ts +4 -4
  107. package/lib/processor/completer/Completer.js +14 -33
  108. package/lib/processor/completer/builtin.d.ts +7 -7
  109. package/lib/processor/completer/builtin.js +58 -74
  110. package/lib/processor/completer/index.d.ts +2 -2
  111. package/lib/processor/completer/index.js +2 -27
  112. package/lib/processor/formatter/Formatter.d.ts +2 -2
  113. package/lib/processor/formatter/Formatter.js +2 -7
  114. package/lib/processor/formatter/builtin.d.ts +3 -3
  115. package/lib/processor/formatter/builtin.js +22 -36
  116. package/lib/processor/formatter/index.d.ts +2 -2
  117. package/lib/processor/formatter/index.js +2 -27
  118. package/lib/processor/index.d.ts +9 -9
  119. package/lib/processor/index.js +9 -21
  120. package/lib/processor/linter/Linter.d.ts +2 -2
  121. package/lib/processor/linter/Linter.js +1 -2
  122. package/lib/processor/linter/builtin/undeclaredSymbol.d.ts +2 -2
  123. package/lib/processor/linter/builtin/undeclaredSymbol.js +23 -27
  124. package/lib/processor/linter/builtin.d.ts +3 -3
  125. package/lib/processor/linter/builtin.js +19 -31
  126. package/lib/processor/linter/index.d.ts +2 -2
  127. package/lib/processor/linter/index.js +2 -27
  128. package/lib/processor/util.d.ts +2 -2
  129. package/lib/processor/util.js +4 -9
  130. package/lib/service/CacheService.d.ts +6 -6
  131. package/lib/service/CacheService.js +38 -48
  132. package/lib/service/Config.d.ts +17 -16
  133. package/lib/service/Config.js +56 -51
  134. package/lib/service/Context.d.ts +14 -14
  135. package/lib/service/Context.js +30 -32
  136. package/lib/service/Dependency.js +2 -5
  137. package/lib/service/Downloader.d.ts +10 -39
  138. package/lib/service/Downloader.js +37 -106
  139. package/lib/service/ErrorReporter.d.ts +2 -2
  140. package/lib/service/ErrorReporter.js +11 -15
  141. package/lib/service/FileService.d.ts +41 -14
  142. package/lib/service/FileService.js +107 -81
  143. package/lib/service/Hover.d.ts +2 -2
  144. package/lib/service/Hover.js +4 -7
  145. package/lib/service/Logger.js +2 -5
  146. package/lib/service/MetaRegistry.d.ts +12 -12
  147. package/lib/service/MetaRegistry.js +62 -73
  148. package/lib/service/Operations.js +3 -9
  149. package/lib/service/Profiler.d.ts +1 -1
  150. package/lib/service/Profiler.js +25 -41
  151. package/lib/service/Project.d.ts +50 -51
  152. package/lib/service/Project.js +240 -238
  153. package/lib/service/Service.d.ts +19 -29
  154. package/lib/service/Service.js +57 -53
  155. package/lib/service/SymbolLocations.d.ts +3 -3
  156. package/lib/service/SymbolLocations.js +4 -7
  157. package/lib/service/SymbolRegistrar.d.ts +1 -1
  158. package/lib/service/SymbolRegistrar.js +1 -2
  159. package/lib/service/fileUtil.d.ts +21 -41
  160. package/lib/service/fileUtil.js +59 -129
  161. package/lib/service/index.d.ts +17 -17
  162. package/lib/service/index.js +17 -31
  163. package/lib/source/IndexMap.d.ts +1 -1
  164. package/lib/source/IndexMap.js +7 -10
  165. package/lib/source/LanguageError.d.ts +2 -2
  166. package/lib/source/LanguageError.js +3 -6
  167. package/lib/source/Location.d.ts +3 -3
  168. package/lib/source/Location.js +6 -9
  169. package/lib/source/Offset.d.ts +1 -1
  170. package/lib/source/Offset.js +4 -7
  171. package/lib/source/Position.js +2 -5
  172. package/lib/source/PositionRange.d.ts +2 -2
  173. package/lib/source/PositionRange.js +14 -17
  174. package/lib/source/Range.d.ts +1 -1
  175. package/lib/source/Range.js +7 -10
  176. package/lib/source/Source.d.ts +12 -4
  177. package/lib/source/Source.js +84 -29
  178. package/lib/source/index.d.ts +8 -8
  179. package/lib/source/index.js +8 -20
  180. package/lib/symbol/Symbol.d.ts +15 -15
  181. package/lib/symbol/Symbol.js +53 -68
  182. package/lib/symbol/SymbolUtil.d.ts +23 -33
  183. package/lib/symbol/SymbolUtil.js +162 -163
  184. package/lib/symbol/UriBinder.d.ts +1 -1
  185. package/lib/symbol/UriBinder.js +1 -2
  186. package/lib/symbol/index.d.ts +3 -3
  187. package/lib/symbol/index.js +3 -15
  188. package/package.json +7 -4
  189. package/lib/common/Heap.d.ts +0 -1
  190. package/lib/common/Heap.js +0 -2
  191. package/lib/node/TableNode.d.ts +0 -17
  192. package/lib/node/TableNode.js +0 -11
  193. package/lib/parser/table.d.ts +0 -22
  194. package/lib/parser/table.js +0 -97
  195. package/lib/service/CommandExecutor.d.ts +0 -3
  196. package/lib/service/CommandExecutor.js +0 -7
@@ -1,72 +1,69 @@
1
- "use strict";
2
1
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
2
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
3
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
6
  };
8
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
9
- if (kind === "m") throw new TypeError("Private method is not writable");
10
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
11
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
12
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
13
- };
14
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
15
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
16
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
17
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
18
- };
19
- var __importDefault = (this && this.__importDefault) || function (mod) {
20
- return (mod && mod.__esModule) ? mod : { "default": mod };
21
- };
22
- var _SymbolUtil_global, _SymbolUtil_trimmableSymbols, _SymbolUtil_cache, _SymbolUtil_currentContributor, _SymbolQuery_doc, _SymbolQuery_node, _SymbolQuery_createdWithUri, _SymbolQuery_currentContributor, _SymbolQuery_hasTriggeredIf, _SymbolQuery_map, _SymbolQuery_parentSymbol, _SymbolQuery_symbol;
23
- Object.defineProperty(exports, "__esModule", { value: true });
24
- exports.SymbolFormatter = exports.SymbolQuery = exports.SymbolUtil = void 0;
25
- const assert_1 = require("assert");
26
- const events_1 = __importDefault(require("events"));
27
- const vscode_languageserver_textdocument_1 = require("vscode-languageserver-textdocument");
28
- const source_1 = require("../source");
29
- const Symbol_1 = require("./Symbol");
30
- class SymbolUtil extends events_1.default {
31
- constructor(global,
7
+ import { TextDocument } from 'vscode-languageserver-textdocument';
8
+ import { Range } from '../source/index.js';
9
+ import { SymbolLocation, SymbolPath, SymbolUsageTypes } from './Symbol.js';
10
+ export class SymbolUtil {
11
+ #global;
12
+ #eventEmitter;
13
+ #eventEmitterConstructor;
14
+ #trimmableSymbols = new Set();
15
+ #cache = Object.create(null);
16
+ #currentContributor;
17
+ /**
18
+ * @internal
19
+ */
20
+ _delayedOps = [];
21
+ /**
22
+ * @internal
23
+ */
24
+ _inDelayMode;
25
+ get global() {
26
+ return this.#global;
27
+ }
28
+ constructor(global, eventEmitterConstructor,
32
29
  /** @internal */
33
30
  _currentContributor,
34
31
  /** @internal */
35
32
  _inDelayMode = false) {
36
- super();
37
- _SymbolUtil_global.set(this, void 0);
38
- _SymbolUtil_trimmableSymbols.set(this, new Set());
39
- _SymbolUtil_cache.set(this, Object.create(null));
40
- _SymbolUtil_currentContributor.set(this, void 0);
41
- /**
42
- * @internal
43
- */
44
- this._delayedOps = [];
45
- __classPrivateFieldSet(this, _SymbolUtil_global, global, "f");
46
- __classPrivateFieldSet(this, _SymbolUtil_currentContributor, _currentContributor, "f");
33
+ this.#eventEmitter = new eventEmitterConstructor();
34
+ this.#eventEmitterConstructor = eventEmitterConstructor;
35
+ this.#global = global;
36
+ this.#currentContributor = _currentContributor;
47
37
  this._inDelayMode = _inDelayMode;
48
38
  this
49
39
  .on('symbolCreated', ({ symbol }) => {
50
- __classPrivateFieldGet(this, _SymbolUtil_trimmableSymbols, "f").add(Symbol_1.SymbolPath.toString(symbol));
40
+ this.#trimmableSymbols.add(SymbolPath.toString(symbol));
51
41
  })
52
42
  .on('symbolRemoved', ({ symbol }) => {
53
- __classPrivateFieldGet(this, _SymbolUtil_trimmableSymbols, "f").delete(Symbol_1.SymbolPath.toString(symbol));
43
+ this.#trimmableSymbols.delete(SymbolPath.toString(symbol));
54
44
  })
55
45
  .on('symbolLocationCreated', ({ symbol, location }) => {
56
- var _a, _b, _c;
57
- const cache = (_a = __classPrivateFieldGet(this, _SymbolUtil_cache, "f"))[_b = location.contributor ?? 'undefined'] ?? (_a[_b] = Object.create(null));
58
- const fileSymbols = cache[_c = location.uri] ?? (cache[_c] = new Set());
59
- const path = Symbol_1.SymbolPath.toString(symbol);
46
+ const cache = this.#cache[location.contributor ?? 'undefined'] ??= Object.create(null);
47
+ const fileSymbols = cache[location.uri] ??= new Set();
48
+ const path = SymbolPath.toString(symbol);
60
49
  fileSymbols.add(path);
61
- __classPrivateFieldGet(this, _SymbolUtil_trimmableSymbols, "f").delete(path);
50
+ this.#trimmableSymbols.delete(path);
62
51
  })
63
52
  .on('symbolLocationRemoved', ({ symbol }) => {
64
- const path = Symbol_1.SymbolPath.toString(symbol);
65
- __classPrivateFieldGet(this, _SymbolUtil_trimmableSymbols, "f").add(path);
53
+ const path = SymbolPath.toString(symbol);
54
+ this.#trimmableSymbols.add(path);
66
55
  });
67
56
  }
68
- get global() {
69
- return __classPrivateFieldGet(this, _SymbolUtil_global, "f");
57
+ on(event, callbackFn) {
58
+ this.#eventEmitter.on(event, callbackFn);
59
+ return this;
60
+ }
61
+ once(event, callbackFn) {
62
+ this.#eventEmitter.once(event, callbackFn);
63
+ return this;
64
+ }
65
+ emit(event, ...args) {
66
+ return this.#eventEmitter.emit(event, ...args);
70
67
  }
71
68
  /**
72
69
  * Build the internal cache of the SymbolUtil according to the current global symbol table.
@@ -87,7 +84,7 @@ class SymbolUtil extends events_1.default {
87
84
  * `applyDelayedEdits` is called, the original SymbolUtil will also be modified.
88
85
  */
89
86
  clone() {
90
- return new SymbolUtil(__classPrivateFieldGet(this, _SymbolUtil_global, "f"), __classPrivateFieldGet(this, _SymbolUtil_currentContributor, "f"), true);
87
+ return new SymbolUtil(this.#global, this.#eventEmitterConstructor, this.#currentContributor, true);
91
88
  }
92
89
  /**
93
90
  * Apply edits done during the delay mode.
@@ -98,24 +95,24 @@ class SymbolUtil extends events_1.default {
98
95
  this._inDelayMode = false;
99
96
  }
100
97
  contributeAs(contributor, fn) {
101
- const originalValue = __classPrivateFieldGet(this, _SymbolUtil_currentContributor, "f");
102
- __classPrivateFieldSet(this, _SymbolUtil_currentContributor, contributor, "f");
98
+ const originalValue = this.#currentContributor;
99
+ this.#currentContributor = contributor;
103
100
  try {
104
101
  fn();
105
102
  }
106
103
  finally {
107
- __classPrivateFieldSet(this, _SymbolUtil_currentContributor, originalValue, "f");
104
+ this.#currentContributor = originalValue;
108
105
  }
109
106
  return this;
110
107
  }
111
108
  async contributeAsAsync(contributor, fn) {
112
- const originalValue = __classPrivateFieldGet(this, _SymbolUtil_currentContributor, "f");
113
- __classPrivateFieldSet(this, _SymbolUtil_currentContributor, contributor, "f");
109
+ const originalValue = this.#currentContributor;
110
+ this.#currentContributor = contributor;
114
111
  try {
115
112
  await fn();
116
113
  }
117
114
  finally {
118
- __classPrivateFieldSet(this, _SymbolUtil_currentContributor, originalValue, "f");
115
+ this.#currentContributor = originalValue;
119
116
  }
120
117
  return this;
121
118
  }
@@ -129,10 +126,10 @@ class SymbolUtil extends events_1.default {
129
126
  clear({ uri, contributor, predicate = () => true }) {
130
127
  const getCaches = () => {
131
128
  if (contributor) {
132
- return __classPrivateFieldGet(this, _SymbolUtil_cache, "f")[contributor] ? [__classPrivateFieldGet(this, _SymbolUtil_cache, "f")[contributor]] : [];
129
+ return this.#cache[contributor] ? [this.#cache[contributor]] : [];
133
130
  }
134
131
  else {
135
- return Object.values(__classPrivateFieldGet(this, _SymbolUtil_cache, "f"));
132
+ return Object.values(this.#cache);
136
133
  }
137
134
  };
138
135
  const getPaths = () => {
@@ -140,12 +137,12 @@ class SymbolUtil extends events_1.default {
140
137
  const sets = uri
141
138
  ? caches.map(cache => cache[uri] ?? new Set())
142
139
  : caches.map(cache => Object.values(cache)).flat();
143
- return sets.map(s => [...s]).flat().map(Symbol_1.SymbolPath.fromString);
140
+ return sets.map(s => [...s]).flat().map(SymbolPath.fromString);
144
141
  };
145
142
  const getTables = () => {
146
143
  return uri
147
- ? [__classPrivateFieldGet(this, _SymbolUtil_global, "f")]
148
- : [__classPrivateFieldGet(this, _SymbolUtil_global, "f")];
144
+ ? [this.#global]
145
+ : [this.#global];
149
146
  };
150
147
  const paths = getPaths();
151
148
  const tables = getTables();
@@ -172,7 +169,7 @@ class SymbolUtil extends events_1.default {
172
169
  return new SymbolQuery({
173
170
  category,
174
171
  doc,
175
- contributor: __classPrivateFieldGet(this, _SymbolUtil_currentContributor, "f"),
172
+ contributor: this.#currentContributor,
176
173
  map: visible ? parentMap : undefined,
177
174
  parentSymbol: parentSymbol,
178
175
  path,
@@ -207,14 +204,14 @@ class SymbolUtil extends events_1.default {
207
204
  trimSymbol(symbol.parentSymbol);
208
205
  }
209
206
  };
210
- for (const pathString of __classPrivateFieldGet(this, _SymbolUtil_trimmableSymbols, "f")) {
211
- const path = Symbol_1.SymbolPath.fromString(pathString);
207
+ for (const pathString of this.#trimmableSymbols) {
208
+ const path = SymbolPath.fromString(pathString);
212
209
  const { symbol } = SymbolUtil.lookupTable(table, path.category, path.path);
213
210
  trimSymbol(symbol);
214
211
  }
215
212
  }
216
213
  removeLocationsFromSymbol(symbol, predicate) {
217
- for (const type of Symbol_1.SymbolUsageTypes) {
214
+ for (const type of SymbolUsageTypes) {
218
215
  if (!symbol[type]) {
219
216
  continue;
220
217
  }
@@ -304,7 +301,7 @@ class SymbolUtil extends events_1.default {
304
301
  symbol.desc = addition.desc;
305
302
  }
306
303
  if (addition.relations && Object.keys(addition.relations).length) {
307
- symbol.relations ?? (symbol.relations = {});
304
+ symbol.relations ??= {};
308
305
  for (const relationship of Object.keys(addition.relations)) {
309
306
  symbol.relations[relationship] = addition.relations[relationship];
310
307
  }
@@ -315,12 +312,12 @@ class SymbolUtil extends events_1.default {
315
312
  if ('visibility' in addition) {
316
313
  // Visibility changes are only accepted if the change wouldn't result in the
317
314
  // symbol being stored in a different symbol table.
318
- const inGlobalTable = (v) => v === undefined || v === 2 /* Public */ || v === 3 /* Restricted */;
315
+ const inGlobalTable = (v) => v === undefined || v === 2 /* SymbolVisibility.Public */ || v === 3 /* SymbolVisibility.Restricted */;
319
316
  if (symbol.visibility === addition.visibility || (inGlobalTable(symbol.visibility) && inGlobalTable(addition.visibility))) {
320
317
  symbol.visibility = addition.visibility;
321
318
  }
322
319
  else {
323
- throw new Error(`Cannot change visibility from ${symbol.visibility} to ${addition.visibility}: ${JSON.stringify(Symbol_1.SymbolPath.fromSymbol(symbol))}`);
320
+ throw new Error(`Cannot change visibility from ${symbol.visibility} to ${addition.visibility}: ${JSON.stringify(SymbolPath.fromSymbol(symbol))}`);
324
321
  }
325
322
  }
326
323
  if (addition.visibilityRestriction?.length) {
@@ -331,9 +328,9 @@ class SymbolUtil extends events_1.default {
331
328
  amendSymbolUsage(symbol, addition, doc, contributor) {
332
329
  if (addition) {
333
330
  const type = addition.type ?? 'reference';
334
- const arr = symbol[type] ?? (symbol[type] = []);
335
- const range = source_1.Range.get((SymbolAdditionUsageWithNode.is(addition) ? addition.node : addition.range) ?? 0);
336
- const location = Symbol_1.SymbolLocation.create(doc, range, addition.fullRange, contributor, {
331
+ const arr = symbol[type] ??= [];
332
+ const range = Range.get((SymbolAdditionUsageWithNode.is(addition) ? addition.node : addition.range) ?? 0);
333
+ const location = SymbolLocation.create(doc, range, addition.fullRange, contributor, {
337
334
  accessType: addition.accessType,
338
335
  skipRenaming: addition.skipRenaming,
339
336
  });
@@ -369,11 +366,11 @@ class SymbolUtil extends events_1.default {
369
366
  }
370
367
  static isVisible(symbol, _uri) {
371
368
  switch (symbol.visibility) {
372
- case 3 /* Restricted */:
369
+ case 3 /* SymbolVisibility.Restricted */:
373
370
  return false; // FIXME: check with workspace root URIs.
374
- case 0 /* Block */:
375
- case 1 /* File */:
376
- case 2 /* Public */:
371
+ case 0 /* SymbolVisibility.Block */:
372
+ case 1 /* SymbolVisibility.File */:
373
+ case 2 /* SymbolVisibility.Public */:
377
374
  default:
378
375
  return true;
379
376
  }
@@ -412,7 +409,7 @@ class SymbolUtil extends events_1.default {
412
409
  * @throws If the symbol does not have any declarations or definitions.
413
410
  */
414
411
  static getDeclaredLocation(symbol) {
415
- return symbol.declaration?.[0] ?? symbol.definition?.[0] ?? (() => { throw new Error(`Cannot get declared location of ${JSON.stringify(Symbol_1.SymbolPath.fromSymbol(symbol))}`); })();
412
+ return symbol.declaration?.[0] ?? symbol.definition?.[0] ?? (() => { throw new Error(`Cannot get declared location of ${JSON.stringify(SymbolPath.fromSymbol(symbol))}`); })();
416
413
  }
417
414
  static forEachSymbolInMap(map, fn) {
418
415
  for (const symbol of Object.values(map)) {
@@ -428,20 +425,19 @@ class SymbolUtil extends events_1.default {
428
425
  }
429
426
  }
430
427
  static forEachLocationOfSymbol(symbol, fn) {
431
- for (const type of Symbol_1.SymbolUsageTypes) {
428
+ for (const type of SymbolUsageTypes) {
432
429
  symbol[type]?.forEach(location => fn({ type, location }));
433
430
  }
434
431
  }
435
432
  static isVisibilityInGlobal(v) {
436
- return v === undefined || v === 2 /* Public */ || v === 3 /* Restricted */;
433
+ return v === undefined || v === 2 /* SymbolVisibility.Public */ || v === 3 /* SymbolVisibility.Restricted */;
437
434
  }
438
435
  static areVisibilitiesCompatible(v1, v2) {
439
436
  return ((this.isVisibilityInGlobal(v1) && this.isVisibilityInGlobal(v2)) ||
440
- (v1 === 0 /* Block */ && v2 === 0 /* Block */) ||
441
- (v1 === 1 /* File */ && v2 === 1 /* File */));
437
+ (v1 === 0 /* SymbolVisibility.Block */ && v2 === 0 /* SymbolVisibility.Block */) ||
438
+ (v1 === 1 /* SymbolVisibility.File */ && v2 === 1 /* SymbolVisibility.File */));
442
439
  }
443
440
  }
444
- _SymbolUtil_global = new WeakMap(), _SymbolUtil_trimmableSymbols = new WeakMap(), _SymbolUtil_cache = new WeakMap(), _SymbolUtil_currentContributor = new WeakMap();
445
441
  __decorate([
446
442
  DelayModeSupport()
447
443
  ], SymbolUtil.prototype, "clear", null);
@@ -451,7 +447,6 @@ __decorate([
451
447
  __decorate([
452
448
  DelayModeSupport()
453
449
  ], SymbolUtil.prototype, "removeLocationsFromSymbol", null);
454
- exports.SymbolUtil = SymbolUtil;
455
450
  var SymbolAdditionUsageWithRange;
456
451
  (function (SymbolAdditionUsageWithRange) {
457
452
  /* istanbul ignore next */
@@ -469,65 +464,67 @@ var SymbolAdditionUsageWithNode;
469
464
  SymbolAdditionUsageWithNode.is = is;
470
465
  })(SymbolAdditionUsageWithNode || (SymbolAdditionUsageWithNode = {}));
471
466
  /* istanbul ignore next */
472
- class SymbolQuery {
467
+ export class SymbolQuery {
468
+ category;
469
+ path;
470
+ #doc;
471
+ #node;
472
+ /**
473
+ * If only a string URI (instead of a {@link TextDocument}) is provided when constructing this class.
474
+ *
475
+ * If this is `true`, {@link SymbolAdditionUsageWithRange.range} is ignored and treated as `[0, 0)` when entering symbols through this class.
476
+ */
477
+ #createdWithUri;
478
+ #currentContributor;
479
+ #hasTriggeredIf = false;
480
+ /**
481
+ * The map where the queried symbol is stored. `undefined` if the map hasn't been created yet.
482
+ */
483
+ #map;
484
+ #parentSymbol;
485
+ /**
486
+ * The queried symbol. `undefined` if the symbol hasn't been created yet.
487
+ */
488
+ #symbol;
489
+ /**
490
+ * The {@link SymbolUtil} where this query was created.
491
+ */
492
+ util;
493
+ get symbol() {
494
+ return this.#symbol;
495
+ }
496
+ get visibleMembers() {
497
+ return SymbolUtil.filterVisibleSymbols(this.#doc.uri, this.path.length === 0 ? this.#map : this.#symbol?.members);
498
+ }
473
499
  constructor({ category, contributor, doc, map, parentSymbol, path, symbol, util }) {
474
- _SymbolQuery_doc.set(this, void 0);
475
- _SymbolQuery_node.set(this, void 0);
476
- /**
477
- * If only a string URI (instead of a {@link TextDocument}) is provided when constructing this class.
478
- *
479
- * If this is `true`, {@link SymbolAdditionUsageWithRange.range} is ignored and treated as `[0, 0)` when entering symbols through this class.
480
- */
481
- _SymbolQuery_createdWithUri.set(this, void 0);
482
- _SymbolQuery_currentContributor.set(this, void 0);
483
- _SymbolQuery_hasTriggeredIf.set(this, false
484
- /**
485
- * The map where the queried symbol is stored. `undefined` if the map hasn't been created yet.
486
- */
487
- );
488
- /**
489
- * The map where the queried symbol is stored. `undefined` if the map hasn't been created yet.
490
- */
491
- _SymbolQuery_map.set(this, void 0);
492
- _SymbolQuery_parentSymbol.set(this, void 0);
493
- /**
494
- * The queried symbol. `undefined` if the symbol hasn't been created yet.
495
- */
496
- _SymbolQuery_symbol.set(this, void 0);
497
500
  this.category = category;
498
501
  this.path = path;
499
502
  if (typeof doc === 'string') {
500
- doc = vscode_languageserver_textdocument_1.TextDocument.create(doc, '', 0, '');
501
- __classPrivateFieldSet(this, _SymbolQuery_createdWithUri, true, "f");
503
+ doc = TextDocument.create(doc, '', 0, '');
504
+ this.#createdWithUri = true;
502
505
  }
503
506
  else if (isDocAndNode(doc)) {
504
- __classPrivateFieldSet(this, _SymbolQuery_node, doc.node, "f");
507
+ this.#node = doc.node;
505
508
  doc = doc.doc;
506
509
  }
507
- __classPrivateFieldSet(this, _SymbolQuery_doc, doc, "f");
508
- __classPrivateFieldSet(this, _SymbolQuery_currentContributor, contributor, "f");
509
- __classPrivateFieldSet(this, _SymbolQuery_map, map, "f");
510
- __classPrivateFieldSet(this, _SymbolQuery_parentSymbol, parentSymbol, "f");
511
- __classPrivateFieldSet(this, _SymbolQuery_symbol, symbol, "f");
510
+ this.#doc = doc;
511
+ this.#currentContributor = contributor;
512
+ this.#map = map;
513
+ this.#parentSymbol = parentSymbol;
514
+ this.#symbol = symbol;
512
515
  this.util = util;
513
516
  }
514
- get symbol() {
515
- return __classPrivateFieldGet(this, _SymbolQuery_symbol, "f");
516
- }
517
- get visibleMembers() {
518
- return SymbolUtil.filterVisibleSymbols(__classPrivateFieldGet(this, _SymbolQuery_doc, "f").uri, this.path.length === 0 ? __classPrivateFieldGet(this, _SymbolQuery_map, "f") : __classPrivateFieldGet(this, _SymbolQuery_symbol, "f")?.members);
519
- }
520
517
  heyGimmeDaSymbol() {
521
- return __classPrivateFieldGet(this, _SymbolQuery_symbol, "f");
518
+ return this.#symbol;
522
519
  }
523
520
  with(fn) {
524
521
  fn(this);
525
522
  return this;
526
523
  }
527
524
  if(predicate, fn) {
528
- if (predicate.call(this, __classPrivateFieldGet(this, _SymbolQuery_symbol, "f"), this)) {
529
- fn.call(this, __classPrivateFieldGet(this, _SymbolQuery_symbol, "f"), this);
530
- __classPrivateFieldSet(this, _SymbolQuery_hasTriggeredIf, true, "f");
525
+ if (predicate.call(this, this.#symbol, this)) {
526
+ fn.call(this, this.#symbol, this);
527
+ this.#hasTriggeredIf = true;
531
528
  }
532
529
  return this;
533
530
  }
@@ -577,8 +574,8 @@ class SymbolQuery {
577
574
  * Calls `fn` if none of the former `if` conditions are met.
578
575
  */
579
576
  else(fn) {
580
- if (!__classPrivateFieldGet(this, _SymbolQuery_hasTriggeredIf, "f")) {
581
- fn.call(this, __classPrivateFieldGet(this, _SymbolQuery_symbol, "f"), this);
577
+ if (!this.#hasTriggeredIf) {
578
+ fn.call(this, this.#symbol, this);
582
579
  }
583
580
  return this;
584
581
  }
@@ -598,16 +595,15 @@ class SymbolQuery {
598
595
  }
599
596
  _enter(addition) {
600
597
  const getMap = (addition) => {
601
- var _a, _b;
602
- if (__classPrivateFieldGet(this, _SymbolQuery_map, "f") && SymbolUtil.areVisibilitiesCompatible(addition.data?.visibility, __classPrivateFieldGet(this, _SymbolQuery_symbol, "f")?.visibility)) {
603
- return __classPrivateFieldGet(this, _SymbolQuery_map, "f");
598
+ if (this.#map && SymbolUtil.areVisibilitiesCompatible(addition.data?.visibility, this.#symbol?.visibility)) {
599
+ return this.#map;
604
600
  }
605
601
  if (this.path.length > 1) {
606
- if (__classPrivateFieldGet(this, _SymbolQuery_parentSymbol, "f")) {
607
- if (!SymbolUtil.areVisibilitiesCompatible(addition.data?.visibility, __classPrivateFieldGet(this, _SymbolQuery_parentSymbol, "f").visibility)) {
608
- throw new Error(`Cannot enter member “${this.getPath()}” of ${SymbolFormatter.stringifyVisibility(addition.data?.visibility)} visibility to parent of ${SymbolFormatter.stringifyVisibility(__classPrivateFieldGet(this, _SymbolQuery_parentSymbol, "f").visibility)} visibility`);
602
+ if (this.#parentSymbol) {
603
+ if (!SymbolUtil.areVisibilitiesCompatible(addition.data?.visibility, this.#parentSymbol.visibility)) {
604
+ throw new Error(`Cannot enter member “${this.getPath()}” of ${SymbolFormatter.stringifyVisibility(addition.data?.visibility)} visibility to parent of ${SymbolFormatter.stringifyVisibility(this.#parentSymbol.visibility)} visibility`);
609
605
  }
610
- return (_a = __classPrivateFieldGet(this, _SymbolQuery_parentSymbol, "f")).members ?? (_a.members = {});
606
+ return this.#parentSymbol.members ??= {};
611
607
  }
612
608
  }
613
609
  else {
@@ -615,11 +611,11 @@ class SymbolQuery {
615
611
  if (SymbolUtil.isVisibilityInGlobal(addition.data?.visibility)) {
616
612
  table = this.util.global;
617
613
  }
618
- else if (addition.data?.visibility === 1 /* File */) {
619
- if (!__classPrivateFieldGet(this, _SymbolQuery_node, "f")) {
614
+ else if (addition.data?.visibility === 1 /* SymbolVisibility.File */) {
615
+ if (!this.#node) {
620
616
  throw new Error(`Cannot enter “${this.getPath()}” with ${SymbolFormatter.stringifyVisibility(addition.data?.visibility)} visibility as no node is supplied`);
621
617
  }
622
- let node = __classPrivateFieldGet(this, _SymbolQuery_node, "f");
618
+ let node = this.#node;
623
619
  while (node) {
624
620
  if (node.type === 'file') {
625
621
  table = node.locals;
@@ -632,10 +628,10 @@ class SymbolQuery {
632
628
  }
633
629
  }
634
630
  else {
635
- if (!__classPrivateFieldGet(this, _SymbolQuery_node, "f")) {
631
+ if (!this.#node) {
636
632
  throw new Error(`Cannot enter “${this.getPath()}” with ${SymbolFormatter.stringifyVisibility(addition.data?.visibility)} visibility as no node is supplied`);
637
633
  }
638
- let node = __classPrivateFieldGet(this, _SymbolQuery_node, "f");
634
+ let node = this.#node;
639
635
  while (node) {
640
636
  if (node.locals) {
641
637
  table = node.locals;
@@ -648,18 +644,18 @@ class SymbolQuery {
648
644
  }
649
645
  }
650
646
  // TODO: Move part of symbol from global to table.
651
- return table[_b = this.category] ?? (table[_b] = {});
647
+ return table[this.category] ??= {};
652
648
  }
653
649
  throw new Error(`Cannot create the symbol map for “${this.getPath()}”`);
654
650
  };
655
651
  // Treat `usage.range` as `[0, 0)` if this class was constructed with a string URI (instead of a `TextDocument`).
656
- if (__classPrivateFieldGet(this, _SymbolQuery_createdWithUri, "f") && SymbolAdditionUsageWithRange.is(addition.usage)) {
657
- addition.usage.range = source_1.Range.create(0, 0);
652
+ if (this.#createdWithUri && SymbolAdditionUsageWithRange.is(addition.usage)) {
653
+ addition.usage.range = Range.create(0, 0);
658
654
  }
659
- __classPrivateFieldSet(this, _SymbolQuery_map, getMap(addition), "f");
660
- __classPrivateFieldSet(this, _SymbolQuery_symbol, this.util.enterMap(__classPrivateFieldGet(this, _SymbolQuery_parentSymbol, "f"), __classPrivateFieldGet(this, _SymbolQuery_map, "f"), this.category, this.path, this.path[this.path.length - 1], addition, __classPrivateFieldGet(this, _SymbolQuery_doc, "f"), __classPrivateFieldGet(this, _SymbolQuery_currentContributor, "f")), "f");
655
+ this.#map = getMap(addition);
656
+ this.#symbol = this.util.enterMap(this.#parentSymbol, this.#map, this.category, this.path, this.path[this.path.length - 1], addition, this.#doc, this.#currentContributor);
661
657
  if (addition.usage?.node) {
662
- addition.usage.node.symbol = __classPrivateFieldGet(this, _SymbolQuery_symbol, "f");
658
+ addition.usage.node.symbol = this.#symbol;
663
659
  }
664
660
  }
665
661
  /**
@@ -693,13 +689,13 @@ class SymbolQuery {
693
689
  * after the error is thrown.
694
690
  */
695
691
  resolveAlias() {
696
- if (__classPrivateFieldGet(this, _SymbolQuery_symbol, "f")) {
697
- const result = this.util.resolveAlias(__classPrivateFieldGet(this, _SymbolQuery_symbol, "f"));
692
+ if (this.#symbol) {
693
+ const result = this.util.resolveAlias(this.#symbol);
698
694
  if (!result) {
699
695
  throw new Error('The current symbol points to an non-existent symbol.');
700
696
  }
701
- __classPrivateFieldSet(this, _SymbolQuery_symbol, result, "f");
702
- __classPrivateFieldSet(this, _SymbolQuery_map, result.parentMap, "f");
697
+ this.#symbol = result;
698
+ this.#map = result.parentMap;
703
699
  }
704
700
  return this;
705
701
  }
@@ -708,7 +704,7 @@ class SymbolQuery {
708
704
  let doc, identifier, fn;
709
705
  if (arguments.length === 2) {
710
706
  // Ensure the member query result will not unknowingly have a dummy TextDocument passed down from this class.
711
- doc = __classPrivateFieldGet(this, _SymbolQuery_createdWithUri, "f") ? __classPrivateFieldGet(this, _SymbolQuery_doc, "f").uri : __classPrivateFieldGet(this, _SymbolQuery_doc, "f");
707
+ doc = this.#createdWithUri ? this.#doc.uri : this.#doc;
712
708
  identifier = arguments[0];
713
709
  fn = arguments[1];
714
710
  }
@@ -717,20 +713,20 @@ class SymbolQuery {
717
713
  identifier = arguments[1];
718
714
  fn = arguments[2];
719
715
  }
720
- if (__classPrivateFieldGet(this, _SymbolQuery_symbol, "f") === undefined) {
716
+ if (this.#symbol === undefined) {
721
717
  throw new Error(`Tried to query member symbol “${identifier}” from an undefined symbol (path “${this.path.join('.')}”)`);
722
718
  }
723
- const memberDoc = typeof doc === 'string' && doc === __classPrivateFieldGet(this, _SymbolQuery_doc, "f").uri && !__classPrivateFieldGet(this, _SymbolQuery_createdWithUri, "f")
724
- ? __classPrivateFieldGet(this, _SymbolQuery_doc, "f")
719
+ const memberDoc = typeof doc === 'string' && doc === this.#doc.uri && !this.#createdWithUri
720
+ ? this.#doc
725
721
  : doc;
726
- const memberMap = __classPrivateFieldGet(this, _SymbolQuery_symbol, "f").members;
722
+ const memberMap = this.#symbol.members;
727
723
  const memberSymbol = memberMap?.[identifier];
728
724
  const memberQueryResult = new SymbolQuery({
729
725
  category: this.category,
730
726
  doc: memberDoc,
731
- contributor: __classPrivateFieldGet(this, _SymbolQuery_currentContributor, "f"),
727
+ contributor: this.#currentContributor,
732
728
  map: memberMap,
733
- parentSymbol: __classPrivateFieldGet(this, _SymbolQuery_symbol, "f"),
729
+ parentSymbol: this.#symbol,
734
730
  path: [...this.path, identifier],
735
731
  symbol: memberSymbol,
736
732
  util: this.util,
@@ -755,18 +751,21 @@ class SymbolQuery {
755
751
  return `${this.category}.${this.path.join('/')}`;
756
752
  }
757
753
  }
758
- _SymbolQuery_doc = new WeakMap(), _SymbolQuery_node = new WeakMap(), _SymbolQuery_createdWithUri = new WeakMap(), _SymbolQuery_currentContributor = new WeakMap(), _SymbolQuery_hasTriggeredIf = new WeakMap(), _SymbolQuery_map = new WeakMap(), _SymbolQuery_parentSymbol = new WeakMap(), _SymbolQuery_symbol = new WeakMap();
759
754
  __decorate([
760
755
  DelayModeSupport((self) => self.util)
761
756
  ], SymbolQuery.prototype, "_enter", null);
762
- exports.SymbolQuery = SymbolQuery;
763
757
  /* istanbul ignore next */
764
758
  /**
765
759
  * A series of methods for converting symbol structures to human-readable outputs. Mostly for debug purposes.
766
760
  */
767
- var SymbolFormatter;
761
+ export var SymbolFormatter;
768
762
  (function (SymbolFormatter) {
769
763
  const IndentChar = '+ ';
764
+ function assertEqual(a, b) {
765
+ if (a !== b) {
766
+ throw new Error(`Assertion error: ${a} !== ${b}`);
767
+ }
768
+ }
770
769
  function stringifySymbolStack(stack) {
771
770
  return stack.map(table => stringifySymbolTable(table)).join('\n------------\n');
772
771
  }
@@ -787,7 +786,7 @@ var SymbolFormatter;
787
786
  const ans = [];
788
787
  for (const identifier of Object.keys(map)) {
789
788
  const symbol = map[identifier];
790
- assert_1.strict.equal(identifier, symbol.identifier);
789
+ assertEqual(identifier, symbol.identifier);
791
790
  ans.push(stringifySymbol(symbol, indent));
792
791
  }
793
792
  return ans.join(`\n${indent}------------\n`);
@@ -798,7 +797,7 @@ var SymbolFormatter;
798
797
  return 'undefined';
799
798
  }
800
799
  const ans = [];
801
- assert_1.strict.equal(symbol.path[symbol.path.length - 1], symbol.identifier);
800
+ assertEqual(symbol.path[symbol.path.length - 1], symbol.identifier);
802
801
  ans.push(`SYMBOL ${symbol.path.join('.')}` +
803
802
  ` {${symbol.category}${symbol.subcategory ? ` (${symbol.subcategory})` : ''}}` +
804
803
  ` [${stringifyVisibility(symbol.visibility, symbol.visibilityRestriction)}]`);
@@ -808,7 +807,7 @@ var SymbolFormatter;
808
807
  if (symbol.desc) {
809
808
  ans.push(`${IndentChar}description: ${symbol.desc}`);
810
809
  }
811
- for (const type of Symbol_1.SymbolUsageTypes) {
810
+ for (const type of SymbolUsageTypes) {
812
811
  if (symbol[type]) {
813
812
  ans.push(`${IndentChar}${type}:\n${symbol[type].map(v => `${indent}${IndentChar.repeat(2)}${JSON.stringify(v)}`).join(`\n${indent}${IndentChar.repeat(2)}------------\n`)}`);
814
813
  }
@@ -826,13 +825,13 @@ var SymbolFormatter;
826
825
  let stringVisibility;
827
826
  // Const enums cannot be indexed even if `--preserveConstEnums` is on: https://github.com/microsoft/TypeScript/issues/31353
828
827
  switch (visibility) {
829
- case 0 /* Block */:
828
+ case 0 /* SymbolVisibility.Block */:
830
829
  stringVisibility = 'Block';
831
830
  break;
832
- case 1 /* File */:
831
+ case 1 /* SymbolVisibility.File */:
833
832
  stringVisibility = 'File';
834
833
  break;
835
- case 3 /* Restricted */:
834
+ case 3 /* SymbolVisibility.Restricted */:
836
835
  stringVisibility = 'Restricted';
837
836
  break;
838
837
  default:
@@ -851,7 +850,7 @@ symbol:
851
850
  ${stringifySymbol(result.symbol, IndentChar)}`;
852
851
  }
853
852
  SymbolFormatter.stringifyLookupResult = stringifyLookupResult;
854
- })(SymbolFormatter = exports.SymbolFormatter || (exports.SymbolFormatter = {}));
853
+ })(SymbolFormatter || (SymbolFormatter = {}));
855
854
  /**
856
855
  * Make a method support delay mode: if the {@link SymbolUtil} is in delay mode, the actual invocation of the method will be
857
856
  * stored to the {@link SymbolUtil._delayedOps} array.
@@ -1,3 +1,3 @@
1
- import type { UriBinderContext } from '../service';
1
+ import type { UriBinderContext } from '../service/index.js';
2
2
  export declare type UriBinder = (uris: readonly string[], ctx: UriBinderContext) => void;
3
3
  //# sourceMappingURL=UriBinder.d.ts.map
@@ -1,3 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
3
2
  //# sourceMappingURL=UriBinder.js.map
@@ -1,4 +1,4 @@
1
- export * from './Symbol';
2
- export * from './SymbolUtil';
3
- export * from './UriBinder';
1
+ export * from './Symbol.js';
2
+ export * from './SymbolUtil.js';
3
+ export * from './UriBinder.js';
4
4
  //# sourceMappingURL=index.d.ts.map