mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
JS: cache getEnclosingContainer
This commit is contained in:
@@ -317,6 +317,7 @@ class ExprOrStmt extends @exprorstmt, ControlFlowNode, ASTNode { }
|
||||
*/
|
||||
class StmtContainer extends @stmt_container, ASTNode {
|
||||
/** Gets the innermost enclosing container in which this container is nested. */
|
||||
cached
|
||||
StmtContainer getEnclosingContainer() { none() }
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user