File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
ruby/ql/lib/codeql/ruby/dataflow/internal Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -820,15 +820,13 @@ string ppReprType(DataFlowType t) { result = t.toString() }
820
820
pragma [ inline]
821
821
predicate compatibleTypes ( DataFlowType t1 , DataFlowType t2 ) { any ( ) }
822
822
823
- module PostUpdateNode {
824
- abstract class Range extends Node {
825
- /** Gets the node before the state update. */
826
- abstract Node getPreUpdateNode ( ) ;
827
- }
823
+ abstract class PostUpdateNodeImpl extends Node {
824
+ /** Gets the node before the state update. */
825
+ abstract Node getPreUpdateNode ( ) ;
828
826
}
829
827
830
828
private module PostUpdateNodes {
831
- class ExprPostUpdateNode extends PostUpdateNode :: Range , NodeImpl , TExprPostUpdateNode {
829
+ class ExprPostUpdateNode extends PostUpdateNodeImpl , NodeImpl , TExprPostUpdateNode {
832
830
private CfgNodes:: ExprCfgNode e ;
833
831
834
832
ExprPostUpdateNode ( ) { this = TExprPostUpdateNode ( e ) }
@@ -842,7 +840,7 @@ private module PostUpdateNodes {
842
840
override string toStringImpl ( ) { result = "[post] " + e .toString ( ) }
843
841
}
844
842
845
- private class SummaryPostUpdateNode extends SummaryNode , PostUpdateNode :: Range {
843
+ private class SummaryPostUpdateNode extends SummaryNode , PostUpdateNodeImpl {
846
844
private Node pre ;
847
845
848
846
SummaryPostUpdateNode ( ) { FlowSummaryImpl:: Private:: summaryPostUpdateNode ( this , pre ) }
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ class LocalSourceNode extends Node {
132
132
* Nodes corresponding to AST elements, for example `ExprNode`, usually refer
133
133
* to the value before the update.
134
134
*/
135
- class PostUpdateNode extends Node instanceof PostUpdateNode :: Range {
135
+ class PostUpdateNode extends Node instanceof PostUpdateNodeImpl {
136
136
/** Gets the node before the state update. */
137
137
Node getPreUpdateNode ( ) { result = super .getPreUpdateNode ( ) }
138
138
}
You can’t perform that action at this time.
0 commit comments