mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Python: qldoc for inject
This commit is contained in:
@@ -12,6 +12,7 @@ private import semmle.python.dataflow.new.FlowSummary as FlowSummary
|
||||
|
||||
class SummarizedCallableBase = string;
|
||||
|
||||
/** View a `SummarizedCallable` as a `DataFlowCallable`. */
|
||||
DataFlowCallable inject(SummarizedCallable c) { result.asLibraryCallable() = c }
|
||||
|
||||
/** Gets the parameter position of the instance parameter. */
|
||||
|
||||
Reference in New Issue
Block a user