mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +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 {
|
class StmtContainer extends @stmt_container, ASTNode {
|
||||||
/** Gets the innermost enclosing container in which this container is nested. */
|
/** Gets the innermost enclosing container in which this container is nested. */
|
||||||
|
cached
|
||||||
StmtContainer getEnclosingContainer() { none() }
|
StmtContainer getEnclosingContainer() { none() }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user