Files
Asger F b031e5b1f8 Unified: regenerate QL and make tests not crash
The output is not so interesting as the mapping removes most nodes from the current test file.

I added a name_expr.swift test so at least one NameExpr makes it through.
2026-05-13 10:48:43 +02:00

6 lines
227 B
Plaintext

import codeql.unified.Ast::Unified
query predicate nameExpr(NameExpr node, string value) { value = node.getIdentifier().getValue() }
query predicate unsupported(UnsupportedNode node, string value) { value = node.getValue() }