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 =
129
129
f = any ( VariableCapture:: CapturedVariable v ) .getACapturingScope ( ) and
130
130
exists ( TFunction ( f ) )
131
131
} or
132
+ /** A synthetic node representing the values of variables captured by a comprehension. */
132
133
TSynthCompCapturedVariablesArgumentNode ( Comp comp ) {
133
134
comp .getFunction ( ) = any ( VariableCapture:: CapturedVariable v ) .getACapturingScope ( )
134
135
} or
136
+ /** A synthetic node representing the values of variables captured by a comprehension after the output has been computed. */
135
137
TSynthCompCapturedVariablesArgumentPostUpdateNode ( Comp comp ) {
136
138
comp .getFunction ( ) = any ( VariableCapture:: CapturedVariable v ) .getACapturingScope ( )
137
139
} or
You can’t perform that action at this time.
0 commit comments