Files
memecoin-botV2/.pnpm-store/v10/files/e3/76bec88e3fe9535e268fb86c792ad57ffb5dd399ce410d2520b7da83484fbc69957145ba297ddea85754690a31a57e407f12b2ca8a257236ace1fbd751114c

18 lines
762 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FunctionExpressionNameScope = void 0;
const definition_1 = require("../definition");
const ScopeBase_1 = require("./ScopeBase");
const ScopeType_1 = require("./ScopeType");
class FunctionExpressionNameScope extends ScopeBase_1.ScopeBase {
functionExpressionScope;
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;