persona-community-5/.pnpm-store/v3/files/32/94b1105e7cab94be6c47791c90388140a00f8a96c53d94910ddb4abed397ce025c402cb8b7c0d2ac57e364ddd0103f737005e6449c2cb2a65958b1b69b5dfd
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

13 lines
621 B
Plaintext

import type { Scope } from "./parser/tokenizer/state";
import type TokenProcessor from "./TokenProcessor";
/**
* Traverse the given tokens and modify them if necessary to indicate that some names shadow global
* variables.
*/
export default function identifyShadowedGlobals(tokens: TokenProcessor, scopes: Array<Scope>, globalNames: Set<string>): void;
/**
* We can do a fast up-front check to see if there are any declarations to global names. If not,
* then there's no point in computing scope assignments.
*/
export declare function hasShadowedGlobals(tokens: TokenProcessor, globalNames: Set<string>): boolean;