Constraint
class Constraint(theDefinitions: List<L2Register>, var restriction: TypeRestriction)
Content copied to clipboard
A utility type containing a mutable list of L2Registers that currently hold the same value, and a TypeRestriction.
Constructors
Link copied to clipboard
A copy constructor, producing an instance that will not change when the original instance changes.
Link copied to clipboard
fun Constraint(theDefinitions: List<L2Register>, restriction: TypeRestriction)
Content copied to clipboard
Functions
Properties
Link copied to clipboard
An immutable List of L2Registers that hold the same value. They may be of differing RegisterKind, which is useful for tracking equivalent boxed and unboxed values. The list may be replaced, but not internally modified. Also, the caller must not modify the list after passing it to this constructor.
Link copied to clipboard
The TypeRestriction that describes the types, constant values, excluded types, excluded values, and RegisterKinds that constrain the registers of some L2Synonym.