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

Class AnalyzedSsaDefinition

An SSA definitions that has been analyzed.

Import path

import javascript

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

getAnRhsValue

Gets an abstract value that the right hand side of this definition may evaluate to at runtime.

Inherited predicates

definesAt

INTERNAL: Use getBasicBlock() and getSourceVariable() instead.

from SsaDefinition
getAContributingVarDef

Gets a variable definition node whose value may end up contributing to the SSA variable defined by this definition.

from SsaDefinition
getBasicBlock

Gets the basic block to which this definition belongs.

from SsaDefinition
getContainer

Gets the function or toplevel to which this definition belongs.

from SsaDefinition
getLocation

Gets the location of this element.

from SsaDefinition
getSourceVariable

Gets the source variable defined by this definition.

from SsaDefinition
getVariable

Gets the SSA variable defined by this definition.

from SsaDefinition
hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

from SsaDefinition
prettyPrintDef

INTERNAL: Use toString() instead.

from SsaDefinition
prettyPrintRef

INTERNAL: Do not use.

from SsaDefinition
toString

Gets a textual representation of this element.

from SsaDefinition