mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
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:
8
python/.vscode/ql.code-snippets
vendored
8
python/.vscode/ql.code-snippets
vendored
@@ -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 { }",
|
||||
"",
|
||||
|
||||
Reference in New Issue
Block a user