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

Member predicate Stmt::getEnclosingTryCatchStmt

Gets the try statement with a catch block containing this statement without crossing function boundaries or other try statements with catch blocks.

TryStmt getEnclosingTryCatchStmt()