Class RexLocalRef


  • public class RexLocalRef
    extends RexSlot
    Local variable.

    Identity is based upon type and index. We want multiple references to the same slot in the same context to be equal. A side effect is that references to slots in different contexts which happen to have the same index and type will be considered equal; this is not desired, but not too damaging, because of the immutability.

    Variables are immutable.