1 | "use strict";
|
2 |
|
3 |
|
4 | Object.defineProperty(exports, "__esModule", { value: true });
|
5 | exports.AstModule = exports.AstModuleExportInfo = void 0;
|
6 |
|
7 |
|
8 |
|
9 | class AstModuleExportInfo {
|
10 | constructor() {
|
11 | this.exportedLocalEntities = new Map();
|
12 | this.starExportedExternalModules = new Set();
|
13 | }
|
14 | }
|
15 | exports.AstModuleExportInfo = AstModuleExportInfo;
|
16 |
|
17 |
|
18 |
|
19 | class AstModule {
|
20 | constructor(options) {
|
21 | this.sourceFile = options.sourceFile;
|
22 | this.moduleSymbol = options.moduleSymbol;
|
23 | this.externalModulePath = options.externalModulePath;
|
24 | this.starExportedModules = new Set();
|
25 | this.cachedExportedEntities = new Map();
|
26 | this.astModuleExportInfo = undefined;
|
27 | }
|
28 | |
29 |
|
30 |
|
31 | get isExternal() {
|
32 | return this.externalModulePath !== undefined;
|
33 | }
|
34 | }
|
35 | exports.AstModule = AstModule;
|
36 |
|
\ | No newline at end of file |