File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
ruby/ql/lib/codeql/ruby/controlflow Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -900,20 +900,17 @@ module ExprNodes {
900
900
final override RelationalOperation getExpr ( ) { result = super .getExpr ( ) }
901
901
}
902
902
903
- private class SplatExprChildMapping extends ExprChildMapping , SplatExpr {
903
+ private class SplatExprChildMapping extends OperationExprChildMapping , SplatExpr {
904
904
override predicate relevantChild ( AstNode n ) { n = this .getOperand ( ) }
905
905
}
906
906
907
907
/** A control-flow node that wraps a `SplatExpr` AST expression. */
908
- class SplatExprCfgNode extends ExprCfgNode {
908
+ class SplatExprCfgNode extends UnaryOperationCfgNode {
909
909
override string getAPrimaryQlClass ( ) { result = "SplatExprCfgNode" }
910
910
911
911
override SplatExprChildMapping e ;
912
912
913
913
final override SplatExpr getExpr ( ) { result = super .getExpr ( ) }
914
-
915
- /** Gets the operand of this splat expression. */
916
- final ExprCfgNode getOperand ( ) { e .hasCfgChild ( e .getOperand ( ) , this , result ) }
917
914
}
918
915
919
916
/** A control-flow node that wraps an `ElementReference` AST expression. */
You can’t perform that action at this time.
0 commit comments