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

Member predicate FunctionDeclStmt::getEnclosingStmt

Gets the statement enclosing this function, if any.

Stmt getEnclosingStmt()