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

Method addDeclaration

packages/pluginutils/types/index.d.ts:7–7  ·  view source on GitHub ↗
(node: BaseNode, isBlockDeclaration: boolean, isVar: boolean)

Source from the content-addressed store, hash-verified

5 isBlockScope: boolean;
6 declarations: { [key: string]: boolean };
7 addDeclaration(node: BaseNode, isBlockDeclaration: boolean, isVar: boolean): void;
8 contains(name: string): boolean;
9}
10

Callers 2

addDeclarationMethod · 0.65
enterFunction · 0.65

Implementers 1

Scopepackages/pluginutils/src/attachScopes.

Calls

no outgoing calls

Tested by

no test coverage detected