The positive interval abstract domain as positive intervals with possibly zero lower bounds and infinite upper bounds representing possible numeric values. The Bottom element is defined as Bottom symbol and the Top element is defined as the interval [0, +∞].

Type Parameters

Hierarchy (View Summary)

Hierarchy-Diagram

UML class diagram of PosIntervalDomain

Constructors

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 = DEFAULT_INFERENCE_LIMIT

    Returns typeof Top | ReadonlySet<number>