java.lang.Object
java.lang.Record
org.aya.tyck.pat.Conquer
public record Conquer(@NotNull kala.collection.immutable.ImmutableSeq<Term.Matching> matchings, @NotNull org.aya.util.error.SourcePos sourcePos, Def.Signature<?> signature, boolean orderIndependent, @NotNull ExprTycker tycker)
extends Record
IApplyConfluence lmao-
Constructor Summary
ConstructorsConstructorDescriptionConquer(@NotNull kala.collection.immutable.ImmutableSeq<Term.Matching> matchings, @NotNull org.aya.util.error.SourcePos sourcePos, Def.Signature<?> signature, boolean orderIndependent, @NotNull ExprTycker tycker) Creates an instance of aConquerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidagainst(@NotNull kala.collection.immutable.ImmutableSeq<Term.Matching> matchings, boolean orderIndependent, @NotNull ExprTycker tycker, @NotNull org.aya.util.error.SourcePos pos, Def.Signature<?> signature) 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<Term.Matching>Returns the value of thematchingsrecord component.booleanReturns the value of theorderIndependentrecord component.Returns the value of thesignaturerecord component.@NotNull org.aya.util.error.SourcePosReturns the value of thesourcePosrecord component.final StringtoString()Returns a string representation of this record class.@NotNull ExprTyckertycker()Returns the value of thetyckerrecord component.void
-
Constructor Details
-
Conquer
public Conquer(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<Term.Matching> matchings, @NotNull @NotNull org.aya.util.error.SourcePos sourcePos, @NotNull Def.Signature<?> signature, boolean orderIndependent, @NotNull @NotNull ExprTycker tycker) Creates an instance of aConquerrecord class.- Parameters:
matchings- the value for thematchingsrecord componentsourcePos- the value for thesourcePosrecord componentsignature- the value for thesignaturerecord componentorderIndependent- the value for theorderIndependentrecord componenttycker- the value for thetyckerrecord component
-
-
Method Details
-
against
public static void against(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<Term.Matching> matchings, boolean orderIndependent, @NotNull @NotNull ExprTycker tycker, @NotNull @NotNull org.aya.util.error.SourcePos pos, @NotNull Def.Signature<?> signature) -
visit
-
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 '=='. -
matchings
Returns the value of thematchingsrecord component.- Returns:
- the value of the
matchingsrecord component
-
sourcePos
@NotNull public @NotNull org.aya.util.error.SourcePos sourcePos()Returns the value of thesourcePosrecord component.- Returns:
- the value of the
sourcePosrecord component
-
signature
Returns the value of thesignaturerecord component.- Returns:
- the value of the
signaturerecord component
-
orderIndependent
public boolean orderIndependent()Returns the value of theorderIndependentrecord component.- Returns:
- the value of the
orderIndependentrecord component
-
tycker
Returns the value of thetyckerrecord component.- Returns:
- the value of the
tyckerrecord component
-