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

Predicate AccessPath::getAnAliasedSourceNode

Gets a SourceNode that refers to the same value or access path as the given node.

Import path

import javascript
SourceNode getAnAliasedSourceNode(Node node)