CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.12 (changelog, source)
Search

Predicate edges

Holds if target is a child of source in the AST, and property key of the edge has the given value.

Import path

import semmle.javascript.PrintAst
predicate edges(PrintAstNode source, PrintAstNode target, string key, string value)