UNPKG

346 BTypeScriptView Raw
1import { Scope } from "./parser/tokenizer/state";
2import TokenProcessor from "./TokenProcessor";
3/**
4 * Traverse the given tokens and modify them if necessary to indicate that some names shadow global
5 * variables.
6 */
7export default function identifyShadowedGlobals(tokens: TokenProcessor, scopes: Array<Scope>, globalNames: Set<string>): void;