Package daikon

Class VarComparabilityImplicit

  • All Implemented Interfaces:
    Serializable

    public final class VarComparabilityImplicit
    extends VarComparability
    implements Serializable
    A VarComparabilityImplicit is an arbitrary integer, and comparisons succeed exactly if the two integers are equal, except that negative integers compare equal to everything. Alternately, for an array variable, a VarComparabilityImplicit may separately indicate comparabilities for the elements and indices.
     VarComparabilityImplicit ::= int
                                | VarComparabilityImplicit "[" int "]"
     

    This is called "implicit" because the comparability objects do not refer to one another or refer directly to variables; whether two variables are comparable depends on their comparability objects. Implicit comparability has the flavor of types in programming languages.

    Soon, this will probably be modified to permit the group identifiers to be arbitrary strings (not containing square brackets) instead of arbitrary integers.

    See Also:
    Serialized Form