Files
agency/.pnpm-store/v3/files/32/94b1105e7cab94be6c47791c90388140a00f8a96c53d94910ddb4abed397ce025c402cb8b7c0d2ac57e364ddd0103f737005e6449c2cb2a65958b1b69b5dfd
hanzo-agent 5af6960b87 run project
Run: sess_f37640604ae254cb4d11dc6217f7b721
2026-09-30 00:04:56 +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;