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

Predicate getNodeFromPath

Gets the API node identified by the first n tokens of path in the given (type, path) tuple.

Import path

import semmle.javascript.frameworks.data.internal.ApiGraphModels
Node getNodeFromPath(string type, AccessPath path, int n)