Python: Reword QLDoc for class modeling with type-tracking

As discussed in https://github.com/github/codeql/pull/4797#discussion_r542423387
This commit is contained in:
Rasmus Wriedt Larsen
2020-12-15 15:15:03 +01:00
parent be5dbf2ccf
commit 8df186167e
7 changed files with 88 additions and 88 deletions

View File

@@ -321,13 +321,13 @@
" DataFlow::Node classRef() { result = classRef(DataFlow::TypeTracker::end()) }",
"",
" /**",
" * A source of an instance of `$1.$2`.",
" * A source of instances of `$1.$2`, extend this class to model new instances.",
" *",
" * This can include instantiation of the class, return value from function",
" * calls, or a special parameter that will be set when functions are call by external",
" * This can include instantiations of the class, return values from function",
" * calls, or a special parameter that will be set when functions are called by an external",
" * library.",
" *",
" * Use `$2::instance()` predicate to get references to instances of `$1.$2`.",
" * Use the predicate `$2::instance()` to get references to instances of `$1.$2`.",
" */",
" abstract class InstanceSource extends DataFlow::Node { }",
"",