We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90a9688 commit 0600078Copy full SHA for 0600078
1 file changed
ruby/ql/lib/codeql/ruby/controlflow/CfgNodes.qll
@@ -440,8 +440,14 @@ module ExprNodes {
440
441
final override Pair getExpr() { result = ExprCfgNode.super.getExpr() }
442
443
+ /**
444
+ * Gets the key expression of this pair.
445
+ */
446
final ExprCfgNode getKey() { e.hasCfgChild(e.getKey(), this, result) }
447
448
449
+ * Gets the value expression of this pair.
450
451
final ExprCfgNode getValue() { e.hasCfgChild(e.getValue(), this, result) }
452
}
453
0 commit comments