mirror of
https://github.com/github/codeql.git
synced 2026-05-14 19:29:28 +02:00
Add an optional output_node_types field to Language (generator) and LanguageSpec (extractor). When set, the generator produces dbscheme/QL from the output types, and the extractor validates TRAP against them. This enables desugaring transforms that produce AST shapes different from the tree-sitter grammar. When unset (None), behavior is unchanged — the tree-sitter node_types are used for both input and output. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>