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

Member predicate AnalyzedNode::getAValue

Gets an abstract value that this node may evaluate to at runtime.

This predicate tracks flow through expressions, variables (both local and global), IIFEs, ES6-style imports that can be resolved uniquely, and the properties of CommonJS module and exports objects. Some limited tracking through the properties of object literals and function/class instances is also performed.

AbstractValue getAValue()