File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
swift/ql/lib/codeql/swift/dataflow/internal Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -300,6 +300,12 @@ import Cached
300
300
/** Holds if `n` should be hidden from path explanations. */
301
301
predicate nodeIsHidden ( Node n ) { n instanceof FlowSummaryNode }
302
302
303
+ /**
304
+ * The intermediate node for a dictionary subscript operation `dict[key]`. In a write, this is used
305
+ * as the destination of the `storeStep`s that add `TupleContent`s and the source of the storeStep
306
+ * that adds `CollectionContent`. In a read, this is the destination of the `readStep` that pops
307
+ * `CollectionContent` and the source of the `readStep` that pops `TupleContent[0]`
308
+ */
303
309
private class DictionarySubscriptNode extends NodeImpl , TDictionarySubscriptNode {
304
310
SubscriptExpr expr ;
305
311
You can’t perform that action at this time.
0 commit comments