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