Adds @xuqm/h5-sdk/private entry point with JSON-based initialization, feature gating, and error codes for private deployment scenarios. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 行
858 B
JavaScript
22 行
858 B
JavaScript
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
|
// See LICENSE in the project root for license information.
|
|
/**
|
|
* An internal data structure that represents a source file that is analyzed by AstSymbolTable.
|
|
*/
|
|
export class AstModule {
|
|
constructor(options) {
|
|
this.sourceFile = options.sourceFile;
|
|
this.moduleSymbol = options.moduleSymbol;
|
|
this.externalModulePath = options.externalModulePath;
|
|
this.starExportedModules = new Set();
|
|
this.cachedExportedEntities = new Map();
|
|
this.astModuleExportInfo = undefined;
|
|
}
|
|
/**
|
|
* If false, then this source file is part of the working package being processed by the `Collector`.
|
|
*/
|
|
get isExternal() {
|
|
return this.externalModulePath !== undefined;
|
|
}
|
|
}
|
|
//# sourceMappingURL=AstModule.js.map
|