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

Member predicate AST::ValueNode::getNameBinding

Gets information about the results of name-resolution for this expression.

This can be used to map an expression to the class it refers to, or associate it with a named value coming from an dependency.

ExprNameBindingNode getNameBinding()