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