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.
StringComponent
1 parent 301d0bb commit 322f835Copy full SHA for 322f835
ruby/ql/lib/codeql/ruby/controlflow/internal/ControlFlowGraphImpl.qll
@@ -1350,6 +1350,10 @@ module Trees {
1350
final override ControlFlowTree getChildElement(int i) { result = this.getComponent(i) }
1351
}
1352
1353
+ private class StringComponentComponentTree extends LeafTree, StringComponent {
1354
+ StringComponentComponentTree() { not this instanceof StringInterpolationComponent }
1355
+ }
1356
+
1357
private class ToplevelTree extends BodyStmtTree, Toplevel {
1358
final override AstNode getBodyChild(int i, boolean rescuable) {
1359
result = this.getBeginBlock(i) and rescuable = true
0 commit comments