Urara-Blog/node_modules/.pnpm-store/v3/files/e3/7608d9581edab92d36dc631d7c146e3b3e9b31e4144e416cb409360c460ffc48db37d185eff7640ef79f3f406332ae9413dd2e48ff316c2f9c84da8ee6f40a
2022-08-14 01:14:53 +08:00

17 lines
No EOL
788 B
Text

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FunctionExpressionNameScope = void 0;
const ScopeBase_1 = require("./ScopeBase");
const ScopeType_1 = require("./ScopeType");
const definition_1 = require("../definition");
class FunctionExpressionNameScope extends ScopeBase_1.ScopeBase {
constructor(scopeManager, upperScope, block) {
super(scopeManager, ScopeType_1.ScopeType.functionExpressionName, upperScope, block, false);
if (block.id) {
this.defineIdentifier(block.id, new definition_1.FunctionNameDefinition(block.id, block));
}
this.functionExpressionScope = true;
}
}
exports.FunctionExpressionNameScope = FunctionExpressionNameScope;
//# sourceMappingURL=FunctionExpressionNameScope.js.map