CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.15-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)