MCPcopy Create free account
hub / github.com/rollup/plugins / AttachedScope

Interface AttachedScope

packages/pluginutils/types/index.d.ts:3–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { BaseNode } from 'estree';
2
3export interface AttachedScope {
4 parent?: AttachedScope;
5 isBlockScope: boolean;
6 declarations: { [key: string]: boolean };
7 addDeclaration(node: BaseNode, isBlockDeclaration: boolean, isVar: boolean): void;
8 contains(name: string): boolean;
9}
10
11export interface DataToEsmOptions {
12 compact?: boolean;

Callers 10

addDeclarationMethod · 0.65
enterFunction · 0.65
handleReferenceFunction · 0.65
isRequireFunction · 0.65
isModuleRequireFunction · 0.65
hasNameConflictFunction · 0.65
enterFunction · 0.65
hasConflictsFunction · 0.65
attachScopes.tsFile · 0.65
containsMethod · 0.65

Implementers 1

Scopepackages/pluginutils/src/attachScopes.

Calls

no outgoing calls

Tested by

no test coverage detected