We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ErbDirective::getAChildStmt
1 parent 4c5f32b commit 4037d1fCopy full SHA for 4037d1f
ruby/ql/lib/codeql/ruby/ast/Erb.qll
@@ -157,6 +157,7 @@ class ErbDirective extends TDirectiveNode, ErbAstNode {
157
* Gets a statement that starts in directive that is not a child of any other
158
* statement starting in this directive.
159
*/
160
+ cached
161
Stmt getAChildStmt() {
162
this.containsAstNodeStart(result) and
163
not this.containsAstNodeStart(result.getParent())
0 commit comments