Expand description
On-demand, transient function extraction for local similar-code inference.
Structs§
- Extracted
Similar Code Function - One named top-level JS or TS function prepared for provider inference.
- Similar
Code Extraction - Transient result of one bounded source-to-functions extraction call.
- Similar
Code Extraction Limits - Hard source-payload limits for one on-demand extraction call.
- Similar
Code Extraction Skip - Counted omission or recovery evidence for one stable extraction reason.
- Similar
Code Function Location - Complete location of one function in UTF-8 source text.
- Similar
Code Source Digest - Full SHA-256 digest of one exact extracted function source fragment.
Enums§
- Similar
Code Extraction Skip Reason - Stable reason source work was omitted or recovered during extraction.
- Similar
Code Function Kind - Supported source form for an extracted similar-code function.
- Similar
Code Side Effect Hint - Conservative syntactic hint about possible function side effects.
Constants§
- SIMILAR_
CODE_ EXTRACTION_ SEMANTICS_ VERSION - Extraction semantics understood by the first similar-code source contract.
Functions§
- extract
- Extract bounded named functions without touching the normal parse cache.