/**
 * @license
 * Copyright 2025 ReverseCraft
 * SPDX-License-Identifier: Apache-2.0
 */
/**
 * Parse result cache per CDP session.
 */
const parseResultCaches = new WeakMap();
function getParseResultCache(session) {
    let cache = parseResultCaches.get(session);
    if (!cache) {
        cache = new Map();
        parseResultCaches.set(session, cache);
    }
    return cache;
}
/**
 * Clear parse result cache for a CDP session.
 */
export function clearParseResultCache(session) {
    const cache = getParseResultCache(session);
    cache.clear();
}
//# sourceMappingURL=analysis.js.map