java.lang.Object
java.lang.Record
org.aya.core.serde.SerDef.Ctor
- All Implemented Interfaces:
Serializable,SerDef
- Enclosing interface:
SerDef
public static record SerDef.Ctor(@NotNull SerDef.QName data, @NotNull SerDef.QName self, @NotNull kala.collection.immutable.ImmutableSeq<SerPat> pats, @NotNull kala.collection.immutable.ImmutableSeq<SerTerm.SerParam> ownerTele, @NotNull kala.collection.immutable.ImmutableSeq<SerTerm.SerParam> selfTele, org.aya.guest0x0.cubical.Partial.Split<SerTerm> clauses, @NotNull SerTerm result, boolean coerce)
extends Record
implements SerDef
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aya.core.serde.SerDef
SerDef.Ctor, SerDef.Data, SerDef.DeserializeException, SerDef.Field, SerDef.Fn, SerDef.Prim, SerDef.QName, SerDef.SerAyaShape, SerDef.SerBind, SerDef.SerOp, SerDef.SerOpDecl, SerDef.SerRenamedOp, SerDef.SerShapeResult, SerDef.Struct -
Constructor Summary
ConstructorsConstructorDescriptionCtor(@NotNull SerDef.QName data, @NotNull SerDef.QName self, @NotNull kala.collection.immutable.ImmutableSeq<SerPat> pats, @NotNull kala.collection.immutable.ImmutableSeq<SerTerm.SerParam> ownerTele, @NotNull kala.collection.immutable.ImmutableSeq<SerTerm.SerParam> selfTele, org.aya.guest0x0.cubical.Partial.Split<SerTerm> clauses, @NotNull SerTerm result, boolean coerce) Creates an instance of aCtorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.aya.guest0x0.cubical.Partial.Split<SerTerm>clauses()Returns the value of theclausesrecord component.booleancoerce()Returns the value of thecoercerecord component.@NotNull SerDef.QNamedata()Returns the value of thedatarecord component.@NotNull CtorDefde(@NotNull SerTerm.DeState state) final 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<SerTerm.SerParam>Returns the value of theownerTelerecord component.@NotNull kala.collection.immutable.ImmutableSeq<SerPat>pats()Returns the value of thepatsrecord component.@NotNull SerTermresult()Returns the value of theresultrecord component.@NotNull SerDef.QNameself()Returns the value of theselfrecord component.@NotNull kala.collection.immutable.ImmutableSeq<SerTerm.SerParam>selfTele()Returns the value of theselfTelerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Ctor
public Ctor(@NotNull @NotNull SerDef.QName data, @NotNull @NotNull SerDef.QName self, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<SerPat> pats, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<SerTerm.SerParam> ownerTele, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<SerTerm.SerParam> selfTele, @NotNull org.aya.guest0x0.cubical.Partial.Split<SerTerm> clauses, @NotNull @NotNull SerTerm result, boolean coerce) Creates an instance of aCtorrecord class.- Parameters:
data- the value for thedatarecord componentself- the value for theselfrecord componentpats- the value for thepatsrecord componentownerTele- the value for theownerTelerecord componentselfTele- the value for theselfTelerecord componentclauses- the value for theclausesrecord componentresult- the value for theresultrecord componentcoerce- the value for thecoercerecord component
-
-
Method Details
-
de
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
data
Returns the value of thedatarecord component.- Returns:
- the value of the
datarecord component
-
self
Returns the value of theselfrecord component.- Returns:
- the value of the
selfrecord component
-
pats
Returns the value of thepatsrecord component.- Returns:
- the value of the
patsrecord component
-
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
-
clauses
Returns the value of theclausesrecord component.- Returns:
- the value of the
clausesrecord component
-
result
Returns the value of theresultrecord component.- Returns:
- the value of the
resultrecord component
-
coerce
public boolean coerce()Returns the value of thecoercerecord component.- Returns:
- the value of the
coercerecord component
-