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

Type TVarRefinementContext

A refinement context associated with refinement ref, specifying that variable var is assumed to have abstract value val.

Each context keeps track of its associated AnalyzedRefinement node so that we can restrict the RefinementCandidate expressions that it applies to: it should only apply to those expressions that are syntactically nested inside the AnalyzedRefinement.

Import path

import semmle.javascript.dataflow.Refinements

Known direct subtypes