Module aya.base

Record Class SerDef.Ctor

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:
  • 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 a Ctor record class.
      Parameters:
      data - the value for the data record component
      self - the value for the self record component
      pats - the value for the pats record component
      ownerTele - the value for the ownerTele record component
      selfTele - the value for the selfTele record component
      clauses - the value for the clauses record component
      result - the value for the result record component
      coerce - the value for the coerce record component
  • Method Details

    • de

      @NotNull public @NotNull CtorDef de(@NotNull SerTerm.DeState state)
      Specified by:
      de in interface SerDef
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • data

      @NotNull public @NotNull SerDef.QName data()
      Returns the value of the data record component.
      Returns:
      the value of the data record component
    • self

      @NotNull public @NotNull SerDef.QName self()
      Returns the value of the self record component.
      Returns:
      the value of the self record component
    • pats

      @NotNull public @NotNull kala.collection.immutable.ImmutableSeq<SerPat> pats()
      Returns the value of the pats record component.
      Returns:
      the value of the pats record component
    • ownerTele

      @NotNull public @NotNull kala.collection.immutable.ImmutableSeq<SerTerm.SerParam> ownerTele()
      Returns the value of the ownerTele record component.
      Returns:
      the value of the ownerTele record component
    • selfTele

      @NotNull public @NotNull kala.collection.immutable.ImmutableSeq<SerTerm.SerParam> selfTele()
      Returns the value of the selfTele record component.
      Returns:
      the value of the selfTele record component
    • clauses

      @NotNull public org.aya.guest0x0.cubical.Partial.Split<SerTerm> clauses()
      Returns the value of the clauses record component.
      Returns:
      the value of the clauses record component
    • result

      @NotNull public @NotNull SerTerm result()
      Returns the value of the result record component.
      Returns:
      the value of the result record component
    • coerce

      public boolean coerce()
      Returns the value of the coerce record component.
      Returns:
      the value of the coerce record component