mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
JS: Add getALocalUse
This commit is contained in:
@@ -52,6 +52,11 @@ class SourceNode extends DataFlow::Node {
|
||||
*/
|
||||
predicate flowsToExpr(Expr sink) { flowsTo(DataFlow::valueNode(sink)) }
|
||||
|
||||
/**
|
||||
* Gets a node into which data may flow from this node in zero or more local steps.
|
||||
*/
|
||||
DataFlow::Node getALocalUse() { flowsTo(result) }
|
||||
|
||||
/**
|
||||
* Gets a reference (read or write) of property `propName` on this node.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user