python: add tests

- add `getACallSimple` to `SummarizedCallable`
  (by adding it to `LibraryCallable`)
This commit is contained in:
Rasmus Lerchedahl Petersen
2023-05-17 23:16:59 +02:00
parent 16bc584bd1
commit 47b2d48da2
5 changed files with 288 additions and 0 deletions

View File

@@ -250,6 +250,9 @@ abstract class LibraryCallable extends string {
/** Gets a call to this library callable. */
abstract CallCfgNode getACall();
/** Same as `getACall` but without referring to the call graph or API graph. */
CallCfgNode getACallSimple() { none() }
/** Gets a data-flow node, where this library callable is used as a call-back. */
abstract ArgumentNode getACallback();
}