mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Ruby: Include StringComponents in the CFG
This commit is contained in:
committed by
Harry Maclean
parent
301d0bbdf8
commit
322f8356dd
@@ -1350,6 +1350,10 @@ module Trees {
|
||||
final override ControlFlowTree getChildElement(int i) { result = this.getComponent(i) }
|
||||
}
|
||||
|
||||
private class StringComponentComponentTree extends LeafTree, StringComponent {
|
||||
StringComponentComponentTree() { not this instanceof StringInterpolationComponent }
|
||||
}
|
||||
|
||||
private class ToplevelTree extends BodyStmtTree, Toplevel {
|
||||
final override AstNode getBodyChild(int i, boolean rescuable) {
|
||||
result = this.getBeginBlock(i) and rescuable = true
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user