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