File tree Expand file tree Collapse file tree 3 files changed +6
-21
lines changed
csharp/ql/lib/semmle/code/csharp/dataflow/internal
java/ql/lib/semmle/code/java/dataflow/internal
ruby/ql/lib/codeql/ruby/dataflow/internal Expand file tree Collapse file tree 3 files changed +6
-21
lines changed Original file line number Diff line number Diff line change @@ -171,20 +171,15 @@ module Public {
171
171
)
172
172
}
173
173
174
- private newtype TRequiredSummaryComponentStack = MkRequiredSummaryComponentStack ( )
175
-
176
174
/**
177
175
* A class that exists for QL technical reasons only (the IPA type used
178
176
* to represent component stacks needs to be bounded).
179
177
*/
180
- class RequiredSummaryComponentStack extends TRequiredSummaryComponentStack {
181
- /** Gets a textual representation of this element. */
182
- string toString ( ) { none ( ) }
183
-
178
+ class RequiredSummaryComponentStack extends Unit {
184
179
/**
185
180
* Holds if the stack obtained by pushing `head` onto `tail` is required.
186
181
*/
187
- predicate required ( SummaryComponent head , SummaryComponentStack tail ) { none ( ) }
182
+ abstract predicate required ( SummaryComponent head , SummaryComponentStack tail ) ;
188
183
}
189
184
190
185
/** A callable with a flow summary. */
Original file line number Diff line number Diff line change @@ -171,20 +171,15 @@ module Public {
171
171
)
172
172
}
173
173
174
- private newtype TRequiredSummaryComponentStack = MkRequiredSummaryComponentStack ( )
175
-
176
174
/**
177
175
* A class that exists for QL technical reasons only (the IPA type used
178
176
* to represent component stacks needs to be bounded).
179
177
*/
180
- class RequiredSummaryComponentStack extends TRequiredSummaryComponentStack {
181
- /** Gets a textual representation of this element. */
182
- string toString ( ) { none ( ) }
183
-
178
+ class RequiredSummaryComponentStack extends Unit {
184
179
/**
185
180
* Holds if the stack obtained by pushing `head` onto `tail` is required.
186
181
*/
187
- predicate required ( SummaryComponent head , SummaryComponentStack tail ) { none ( ) }
182
+ abstract predicate required ( SummaryComponent head , SummaryComponentStack tail ) ;
188
183
}
189
184
190
185
/** A callable with a flow summary. */
Original file line number Diff line number Diff line change @@ -171,20 +171,15 @@ module Public {
171
171
)
172
172
}
173
173
174
- private newtype TRequiredSummaryComponentStack = MkRequiredSummaryComponentStack ( )
175
-
176
174
/**
177
175
* A class that exists for QL technical reasons only (the IPA type used
178
176
* to represent component stacks needs to be bounded).
179
177
*/
180
- class RequiredSummaryComponentStack extends TRequiredSummaryComponentStack {
181
- /** Gets a textual representation of this element. */
182
- string toString ( ) { none ( ) }
183
-
178
+ class RequiredSummaryComponentStack extends Unit {
184
179
/**
185
180
* Holds if the stack obtained by pushing `head` onto `tail` is required.
186
181
*/
187
- predicate required ( SummaryComponent head , SummaryComponentStack tail ) { none ( ) }
182
+ abstract predicate required ( SummaryComponent head , SummaryComponentStack tail ) ;
188
183
}
189
184
190
185
/** A callable with a flow summary. */
You can’t perform that action at this time.
0 commit comments