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