File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
python/ql/lib/semmle/python/dataflow/new/internal Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -129,9 +129,11 @@ newtype TNode =
129129 f = any ( VariableCapture:: CapturedVariable v ) .getACapturingScope ( ) and
130130 exists ( TFunction ( f ) )
131131 } or
132+ /** A synthetic node representing the values of variables captured by a comprehension. */
132133 TSynthCompCapturedVariablesArgumentNode ( Comp comp ) {
133134 comp .getFunction ( ) = any ( VariableCapture:: CapturedVariable v ) .getACapturingScope ( )
134135 } or
136+ /** A synthetic node representing the values of variables captured by a comprehension after the output has been computed. */
135137 TSynthCompCapturedVariablesArgumentPostUpdateNode ( Comp comp ) {
136138 comp .getFunction ( ) = any ( VariableCapture:: CapturedVariable v ) .getACapturingScope ( )
137139 } or
You can’t perform that action at this time.
0 commit comments