Record Class EscapeMetaDataDetails.Holder
java.lang.Object
java.lang.Record
org.ek9lang.compiler.ir.data.EscapeMetaDataDetails.Holder
- Record Components:
kind- what kind of holdername- the IR name of the holder (a slot,this.foro.ffor a field, a result temp)detail- the callee or constructed type, where it reads better; may be empty
- All Implemented Interfaces:
Comparable<EscapeMetaDataDetails.Holder>
- Enclosing class:
EscapeMetaDataDetails
public static record EscapeMetaDataDetails.Holder(EscapeMetaDataDetails.Holder.Kind kind, String name, String detail)
extends Record
implements Comparable<EscapeMetaDataDetails.Holder>
A direct holder of a value in this operation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe kinds of holder, rendered as their lower-case name. -
Constructor Summary
ConstructorsConstructorDescriptionHolder(EscapeMetaDataDetails.Holder.Kind kind, String name, String detail) Creates an instance of aHolderrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintdetail()Returns the value of thedetailrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.kind()Returns the value of thekindrecord component.name()Returns the value of thenamerecord component.text()kind:nameorkind:name(detail).toString()Returns a string representation of this record class.
-
Constructor Details
-
Holder
-
-
Method Details
-
text
kind:nameorkind:name(detail). -
compareTo
- Specified by:
compareToin interfaceComparable<EscapeMetaDataDetails.Holder>
-
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). -
kind
-
name
-
detail
-