Record Class AbstractSyntheticGenerator.CycleGuardEntry
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase7.synthesis.AbstractSyntheticGenerator.CycleGuardEntry
- Record Components:
ownerVar- the String temp holding the type's owner constant (the guard's key, with the object)otherVar- the other operand of a comparison, or null for a unary operatorinstructions- the entry instructions
- Enclosing class:
AbstractSyntheticGenerator
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCycleGuardEntry(String ownerVar, String otherVar, List<IRInstr> instructions) Creates an instance of aCycleGuardEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinstructionsrecord component.otherVar()Returns the value of theotherVarrecord component.ownerVar()Returns the value of theownerVarrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CycleGuardEntry
Creates an instance of aCycleGuardEntryrecord class.- Parameters:
ownerVar- the value for theownerVarrecord componentotherVar- the value for theotherVarrecord componentinstructions- the value for theinstructionsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
ownerVar
-
otherVar
-
instructions
Returns the value of theinstructionsrecord component.- Returns:
- the value of the
instructionsrecord component
-