mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02: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() }
|
final override Pair getExpr() { result = ExprCfgNode.super.getExpr() }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the key expression of this pair.
|
||||||
|
*/
|
||||||
final ExprCfgNode getKey() { e.hasCfgChild(e.getKey(), this, result) }
|
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) }
|
final ExprCfgNode getValue() { e.hasCfgChild(e.getValue(), this, result) }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user