UNPKG

369 BTypeScriptView Raw
1import { IType } from "../types/type";
2import { Node } from "./node";
3export declare class IdentifierCache {
4 private cache;
5 constructor();
6 addNodeToCache(node: Node): this;
7 mergeCache(node: Node): void;
8 notifyDied(node: Node): void;
9 splitCache(node: Node): IdentifierCache;
10 resolve(type: IType<any, any>, identifier: string): Node | null;
11}