@@ -39,46 +39,46 @@ private module ConditionalCompletionSplitting {
39
39
override string toString ( ) { result = completion .toString ( ) }
40
40
}
41
41
42
- private class ConditionalCompletionSplitKind extends SplitKind , TConditionalCompletionSplitKind {
43
- override int getListOrder ( ) { result = 0 }
42
+ // private class ConditionalCompletionSplitKind extends SplitKind, TConditionalCompletionSplitKind {
43
+ // override int getListOrder() { result = 0 }
44
44
45
- override predicate isEnabled ( Ast n ) { this .appliesTo ( n ) }
45
+ // override predicate isEnabled(Ast n) { this.appliesTo(n) }
46
46
47
- override string toString ( ) { result = "ConditionalCompletion" }
48
- }
47
+ // override string toString() { result = "ConditionalCompletion" }
48
+ // }
49
49
50
50
int getNextListOrder ( ) { result = 1 }
51
51
52
- private class ConditionalCompletionSplitImpl extends SplitImpl instanceof ConditionalCompletionSplit
53
- {
54
- ConditionalCompletion completion ;
52
+ // private class ConditionalCompletionSplitImpl extends SplitImpl instanceof ConditionalCompletionSplit
53
+ // {
54
+ // ConditionalCompletion completion;
55
55
56
- ConditionalCompletionSplitImpl ( ) { this = TConditionalCompletionSplit ( completion ) }
56
+ // ConditionalCompletionSplitImpl() { this = TConditionalCompletionSplit(completion) }
57
57
58
- override ConditionalCompletionSplitKind getKind ( ) { any ( ) }
58
+ // override ConditionalCompletionSplitKind getKind() { any() }
59
59
60
- override predicate hasEntry ( Ast pred , Ast succ , Completion c ) {
61
- succ ( pred , succ , c ) and
62
- last ( succ , _, completion ) and
63
- none ( ) // TODO
64
- }
60
+ // override predicate hasEntry(Ast pred, Ast succ, Completion c) {
61
+ // succ(pred, succ, c) and
62
+ // last(succ, _, completion) and
63
+ // none() // TODO
64
+ // }
65
65
66
- override predicate hasEntryScope ( Cfg:: CfgScope scope , Ast succ ) { none ( ) }
66
+ // override predicate hasEntryScope(Cfg::CfgScope scope, Ast succ) { none() }
67
67
68
- override predicate hasExit ( Ast pred , Ast succ , Completion c ) {
69
- this .appliesTo ( pred ) and
70
- succ ( pred , succ , c ) and
71
- if c instanceof ConditionalCompletion then completion = c else any ( )
72
- }
68
+ // override predicate hasExit(Ast pred, Ast succ, Completion c) {
69
+ // this.appliesTo(pred) and
70
+ // succ(pred, succ, c) and
71
+ // if c instanceof ConditionalCompletion then completion = c else any()
72
+ // }
73
73
74
- override predicate hasExitScope ( Cfg:: CfgScope scope , Ast last , Completion c ) {
75
- this .appliesTo ( last ) and
76
- succExit ( scope , last , c ) and
77
- if c instanceof ConditionalCompletion then completion = c else any ( )
78
- }
74
+ // override predicate hasExitScope(Cfg::CfgScope scope, Ast last, Completion c) {
75
+ // this.appliesTo(last) and
76
+ // succExit(scope, last, c) and
77
+ // if c instanceof ConditionalCompletion then completion = c else any()
78
+ // }
79
79
80
- override predicate hasSuccessor ( Ast pred , Ast succ , Completion c ) { none ( ) }
81
- }
80
+ // override predicate hasSuccessor(Ast pred, Ast succ, Completion c) { none() }
81
+ // }
82
82
}
83
83
84
84
class ConditionalCompletionSplit = ConditionalCompletionSplitting:: ConditionalCompletionSplit ;
0 commit comments