We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f37d7c commit 862de15Copy full SHA for 862de15
swift/ql/lib/codeql/swift/dataflow/internal/DataFlowPublic.qll
@@ -141,6 +141,10 @@ class CaptureNode extends Node, TCaptureNode {
141
142
CaptureNode() { this = TCaptureNode(cn) }
143
144
+ /**
145
+ * Gets the underlying synthesized capture node that is created by the
146
+ * variable capture library.
147
+ */
148
CaptureFlow::SynthesizedCaptureNode getSynthesizedCaptureNode() { result = cn }
149
}
150
@@ -256,6 +260,7 @@ module Content {
256
260
257
261
CapturedVariableContent() { this = TCapturedVariableContent(v) }
258
262
263
+ /** Gets the underlying captured variable. */
259
264
CapturedVariable getVariable() { result = v }
265
266
override string toString() { result = v.toString() }
0 commit comments