mirror of
https://github.com/github/codeql.git
synced 2026-05-15 03:39:32 +02:00
extract() now takes an optional rules parameter. When rules are empty, it uses tree-sitter's native traversal. When rules are provided, it runs yeast desugaring and falls back to the un-desugared tree on error. extract_and_desugar() is removed — all callers use extract() directly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>