java.lang.Object
java.lang.Record
org.aya.tyck.pat.Conquer
public record Conquer(@NotNull FnDef def, @NotNull kala.collection.immutable.ImmutableSeq<Term.Matching> matchings, @NotNull org.aya.util.error.SourcePos sourcePos, boolean orderIndependent, @NotNull UnifiedTycker tycker)
extends Record
IApplyConfluence lmao-
Constructor Summary
ConstructorsConstructorDescriptionConquer(@NotNull FnDef def, @NotNull kala.collection.immutable.ImmutableSeq<Term.Matching> matchings, @NotNull org.aya.util.error.SourcePos sourcePos, boolean orderIndependent, @NotNull UnifiedTycker tycker) Creates an instance of aConquerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidagainst(@NotNull FnDef def, boolean orderIndependent, @NotNull UnifiedTycker tycker, @NotNull org.aya.util.error.SourcePos pos) @NotNull FnDefdef()Returns the value of thedefrecord component.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.@NotNull org.aya.util.error.SourcePosReturns the value of thesourcePosrecord component.final StringtoString()Returns a string representation of this record class.@NotNull UnifiedTyckertycker()Returns the value of thetyckerrecord component.void
-
Constructor Details
-
Conquer
public Conquer(@NotNull @NotNull FnDef def, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<Term.Matching> matchings, @NotNull @NotNull org.aya.util.error.SourcePos sourcePos, boolean orderIndependent, @NotNull @NotNull UnifiedTycker tycker) Creates an instance of aConquerrecord class.- Parameters:
def- the value for thedefrecord componentmatchings- the value for thematchingsrecord componentsourcePos- the value for thesourcePosrecord componentorderIndependent- the value for theorderIndependentrecord componenttycker- the value for thetyckerrecord component
-
-
Method Details
-
against
public static void against(@NotNull @NotNull FnDef def, boolean orderIndependent, @NotNull @NotNull UnifiedTycker tycker, @NotNull @NotNull org.aya.util.error.SourcePos pos) -
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 '=='. -
def
Returns the value of thedefrecord component.- Returns:
- the value of the
defrecord component
-
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
-
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
-