CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.13 (changelog, source)
Search

Predicate DataFlow::lvalueNode

Gets the data flow node corresponding the given l-value expression, if such a node exists.

This differs from DataFlow::valueNode(), which represents the value before the l-value is assigned to, whereas DataFlow::lvalueNode() represents the value after the assignment.

Import path

import javascript
Node lvalueNode(BindingPattern lvalue)