Class AbstractValues::AbstractValue

An abstract value inferred by the flow analysis, representing a set of concrete values.

Direct supertypes

Known direct subtypes

Predicates

getAPrototype

Gets an abstract value that represents a prototype object of this value.

getBooleanValue

Gets the Boolean value some concrete value represented by this abstract value coerces to.

getType

Gets the type of some concrete value represented by this abstract value.

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 f. For more information, see LGTM locations.

isCoercibleToNumber

Holds if this abstract value is coercible to a number, that is, it represents at least one concrete value for which the ToNumber conversion does not yield NaN.

isIndefinite

Holds if this abstract value is an indefinite value arising from the incompleteness cause.

toPrimitive

Gets an abstract primitive value this abstract value coerces to.

toString

Gets a textual representation of this element.