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 {
900900 final override RelationalOperation getExpr ( ) { result = super .getExpr ( ) }
901901 }
902902
903- private class SplatExprChildMapping extends ExprChildMapping , SplatExpr {
903+ private class SplatExprChildMapping extends OperationExprChildMapping , SplatExpr {
904904 override predicate relevantChild ( AstNode n ) { n = this .getOperand ( ) }
905905 }
906906
907907 /** A control-flow node that wraps a `SplatExpr` AST expression. */
908- class SplatExprCfgNode extends ExprCfgNode {
908+ class SplatExprCfgNode extends UnaryOperationCfgNode {
909909 override string getAPrimaryQlClass ( ) { result = "SplatExprCfgNode" }
910910
911911 override SplatExprChildMapping e ;
912912
913913 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 ) }
917914 }
918915
919916 /** A control-flow node that wraps an `ElementReference` AST expression. */
You can’t perform that action at this time.
0 commit comments