@@ -39,46 +39,46 @@ private module ConditionalCompletionSplitting {
3939 override string toString ( ) { result = completion .toString ( ) }
4040 }
4141
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 }
4444
45- override predicate isEnabled ( Ast n ) { this .appliesTo ( n ) }
45+ // override predicate isEnabled(Ast n) { this.appliesTo(n) }
4646
47- override string toString ( ) { result = "ConditionalCompletion" }
48- }
47+ // override string toString() { result = "ConditionalCompletion" }
48+ // }
4949
5050 int getNextListOrder ( ) { result = 1 }
5151
52- private class ConditionalCompletionSplitImpl extends SplitImpl instanceof ConditionalCompletionSplit
53- {
54- ConditionalCompletion completion ;
52+ // private class ConditionalCompletionSplitImpl extends SplitImpl instanceof ConditionalCompletionSplit
53+ // {
54+ // ConditionalCompletion completion;
5555
56- ConditionalCompletionSplitImpl ( ) { this = TConditionalCompletionSplit ( completion ) }
56+ // ConditionalCompletionSplitImpl() { this = TConditionalCompletionSplit(completion) }
5757
58- override ConditionalCompletionSplitKind getKind ( ) { any ( ) }
58+ // override ConditionalCompletionSplitKind getKind() { any() }
5959
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+ // }
6565
66- override predicate hasEntryScope ( Cfg:: CfgScope scope , Ast succ ) { none ( ) }
66+ // override predicate hasEntryScope(Cfg::CfgScope scope, Ast succ) { none() }
6767
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+ // }
7373
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+ // }
7979
80- override predicate hasSuccessor ( Ast pred , Ast succ , Completion c ) { none ( ) }
81- }
80+ // override predicate hasSuccessor(Ast pred, Ast succ, Completion c) { none() }
81+ // }
8282}
8383
8484class ConditionalCompletionSplit = ConditionalCompletionSplitting:: ConditionalCompletionSplit ;
0 commit comments