📄 FunctionTypeScope¶
📊 Analysis Summary¶
| Metric | Count |
|---|---|
| 🧱 Classes | 1 |
| 📦 Imports | 5 |
📚 Table of Contents¶
🛠️ File Location:¶
📂 packages/scope-manager/src/scope/FunctionTypeScope.ts
📦 Imports¶
| Name | Source |
|---|---|
TSESTree |
@typescript-eslint/types |
ScopeManager |
../ScopeManager |
Scope |
./Scope |
ScopeBase |
./ScopeBase |
ScopeType |
./ScopeType |
Classes¶
FunctionTypeScope¶
Extends: `ScopeBase< ScopeType.functionType, | TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructorType | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSFunctionType | TSESTree.TSMethodSignature, Scope
`
Class Code
export class FunctionTypeScope extends ScopeBase<
ScopeType.functionType,
| TSESTree.TSCallSignatureDeclaration
| TSESTree.TSConstructorType
| TSESTree.TSConstructSignatureDeclaration
| TSESTree.TSFunctionType
| TSESTree.TSMethodSignature,
Scope
> {
constructor(
scopeManager: ScopeManager,
upperScope: FunctionTypeScope['upper'],
block: FunctionTypeScope['block'],
) {
super(scopeManager, ScopeType.functionType, upperScope, block, false);
}
}
Generated by Syntax Scribe