java.lang.Object
java.lang.Record
org.aya.core.def.DataDef.CtorTelescopes
- Enclosing class:
DataDef
public static record DataDef.CtorTelescopes(@NotNull kala.collection.immutable.ImmutableSeq<Term.Param> ownerTele, @NotNull kala.collection.immutable.ImmutableSeq<Term.Param> selfTele)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCtorTelescopes(@NotNull kala.collection.immutable.ImmutableSeq<Term.Param> ownerTele, @NotNull kala.collection.immutable.ImmutableSeq<Term.Param> selfTele) Creates an instance of aCtorTelescopesrecord 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.@NotNull kala.collection.immutable.ImmutableSeq<Term.Param>Returns the value of theownerTelerecord component.@NotNull kala.collection.immutable.ImmutableSeq<Term.Param>params()@NotNull DataDef.CtorTelescopesrename()@NotNull kala.collection.immutable.ImmutableSeq<Term.Param>selfTele()Returns the value of theselfTelerecord component.@NotNull ConCalltoConCall(DefVar<CtorDef, TeleDecl.DataCtor> conVar, int ulift) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CtorTelescopes
public CtorTelescopes(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<Term.Param> ownerTele, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<Term.Param> selfTele) Creates an instance of aCtorTelescopesrecord class.- Parameters:
ownerTele- the value for theownerTelerecord componentselfTele- the value for theselfTelerecord component
-
-
Method Details
-
toConCall
-
rename
-
params
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
ownerTele
Returns the value of theownerTelerecord component.- Returns:
- the value of the
ownerTelerecord component
-
selfTele
Returns the value of theselfTelerecord component.- Returns:
- the value of the
selfTelerecord component
-