mirror of
https://github.com/github/codeql.git
synced 2026-05-20 22:27:18 +02:00
JS: Add getALocalUse
This commit is contained in:
@@ -47,6 +47,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