@@ -21,25 +21,11 @@ module SummaryComponent {
21
21
22
22
predicate content = SummaryComponentInternal:: content / 1 ;
23
23
24
- /** Gets a summary component for parameter `i`. */
25
- SummaryComponent parameter ( int i ) {
26
- none ( ) // TODO
27
- }
24
+ predicate parameter = SummaryComponentInternal:: parameter / 1 ;
28
25
29
- /** Gets a summary component for argument `i`. */
30
- SummaryComponent argument ( int i ) {
31
- none ( ) // TODO
32
- }
26
+ predicate argument = SummaryComponentInternal:: argument / 1 ;
33
27
34
28
predicate return = SummaryComponentInternal:: return / 1 ;
35
-
36
- /** Gets a summary component that represents a qualifier. */
37
- SummaryComponent qualifier ( ) {
38
- none ( ) // TODO
39
- }
40
-
41
- /** Gets a summary component that represents the return value of a call. */
42
- SummaryComponent return ( ) { result = return ( any ( DataFlowDispatch:: NormalReturnKind rk ) ) }
43
29
}
44
30
45
31
class SummaryComponentStack = Impl:: Public:: SummaryComponentStack ;
@@ -52,16 +38,9 @@ module SummaryComponentStack {
52
38
53
39
predicate push = SummaryComponentStackInternal:: push / 2 ;
54
40
55
- /** Gets a singleton stack for argument `i`. */
56
- SummaryComponentStack argument ( int i ) { result = singleton ( SummaryComponent:: argument ( i ) ) }
41
+ predicate argument = SummaryComponentStackInternal:: argument / 1 ;
57
42
58
43
predicate return = SummaryComponentStackInternal:: return / 1 ;
59
-
60
- /** Gets a singleton stack representing a qualifier. */
61
- SummaryComponentStack qualifier ( ) { result = singleton ( SummaryComponent:: qualifier ( ) ) }
62
-
63
- /** Gets a singleton stack representing the return value of a call. */
64
- SummaryComponentStack return ( ) { result = singleton ( SummaryComponent:: return ( ) ) }
65
44
}
66
45
67
46
class SummarizedCallable = Impl:: Public:: SummarizedCallable ;
0 commit comments