mirror of
https://github.com/github/codeql.git
synced 2026-05-14 19:29:28 +02:00
Replace fixture-file-based tests with self-contained tests using dump_ast for assertions. Move Ruby desugaring rules from rules.rs into the test file. Delete all fixture files and rules.rs. Test coverage: - Parsing: simple assignment, multiple assignment, for loop - Queries: match, no-match, repeated captures - Tree building: swap fields via BuildCtx - Rules: multiple assignment desugaring, for-loop desugaring, shorthand rule! syntax - Cursor: navigation (parent/child/sibling) 11 tests, all self-contained with inline inputs and expected outputs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
CodeQL Shared Libraries
This folder contains shared, language-agnostic CodeQL libraries.
Libraries are organized into separate query packs, in order to allow for
individual versioning. For example, the shared static single assignment (SSA)
library exists in the codeql/ssa pack, which can be referenced by adding
dependencies:
codeql/ssa: 0.0.1
to qlpack.yml.
All shared libraries will belong to a codeql/<name> pack, and live in the
namespace codeql.<name>.