mirror of
https://github.com/github/codeql.git
synced 2026-03-17 13:06:48 +01:00
Ruby: Document PairCfgNode::getKey/getValue
This commit is contained in:
@@ -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) }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user