mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-02 03:29:30 +08:00
17 lines
No EOL
788 B
Text
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 |