The set range abstract domain as range of possible value sets with a minimum set of values and a range of possible additional values (similar to an interval like structure with a lower bound and a difference to the upper bound). The Bottom element is defined as Bottom symbol and the Top element is defined as the range [∅, Top] where the minimum set is the empty set and the range is Top.

Type Parameters

  • T

    Type of the values in the sets in the abstract domain

  • Value extends SetRangeLift<T> = SetRangeLift<T>

    Type of the constraint in the abstract domain (Top, Bottom, or an actual value)

Hierarchy (View Summary)

Implements

Hierarchy-Diagram

UML class diagram of SetRangeDomain

Constructors

Properties

_value: Value

Accessors

Methods

  • Maps the current abstract value into a set of possible concrete values as concretization function of the abstract domain. The result should be Top if the number of concrete values would reach the limit or the resulting set would have infinite many elements.

    Parameters

    • limit: number

    Returns typeof Top | ReadonlySet<ReadonlySet<T>>