Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4e6f92 commit 06091e5Copy full SHA for 06091e5
1 file changed
javascript/ql/src/semmle/javascript/AST.qll
@@ -118,6 +118,7 @@ class ASTNode extends @ast_node, NodeInStmtContainer {
118
int getNumChildStmt() { result = count(getAChildStmt()) }
119
120
/** Gets the parent node of this node, if any. */
121
+ cached
122
ASTNode getParent() { this = result.getAChild() }
123
124
/** Gets the first control flow node belonging to this syntactic entity. */
0 commit comments