Ruby: Document PairCfgNode::getKey/getValue

This commit is contained in:
Harry Maclean
2021-11-19 14:54:06 +00:00
parent 90a9688310
commit 06000781e9

View File

@@ -440,8 +440,14 @@ module ExprNodes {
final override Pair getExpr() { result = ExprCfgNode.super.getExpr() }
/**
* Gets the key expression of this pair.
*/
final ExprCfgNode getKey() { e.hasCfgChild(e.getKey(), this, result) }
/**
* Gets the value expression of this pair.
*/
final ExprCfgNode getValue() { e.hasCfgChild(e.getValue(), this, result) }
}