java.lang.Object
java.lang.Record
org.aya.tyck.pat.YouTrack
public record YouTrack(@NotNull kala.collection.immutable.ImmutableSeq<org.aya.syntax.core.term.Param> telescope, @NotNull ExprTycker tycker, @NotNull org.aya.util.error.SourcePos pos)
extends Record
YouTrack checks confluence.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionYouTrack(@NotNull kala.collection.immutable.ImmutableSeq<org.aya.syntax.core.term.Param> telescope, @NotNull ExprTycker tycker, @NotNull org.aya.util.error.SourcePos pos) Creates an instance of aYouTrackrecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidcheck(ClauseTycker.TyckResult clauses, @NotNull org.aya.syntax.core.term.Term type, @NotNull kala.collection.immutable.ImmutableSeq<org.aya.util.tyck.pat.PatClass<kala.collection.immutable.ImmutableSeq<org.aya.syntax.core.term.Term>>> mct) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull org.aya.util.error.SourcePospos()Returns the value of theposrecord component.@NotNull kala.collection.immutable.ImmutableSeq<org.aya.syntax.core.term.Param> Returns the value of thetelescoperecord component.final StringtoString()Returns a string representation of this record class.@NotNull ExprTyckertycker()Returns the value of thetyckerrecord component.
-
Constructor Details
-
YouTrack
public YouTrack(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<org.aya.syntax.core.term.Param> telescope, @NotNull @NotNull ExprTycker tycker, @NotNull @NotNull org.aya.util.error.SourcePos pos) Creates an instance of aYouTrackrecord class.- Parameters:
telescope- the value for thetelescoperecord componenttycker- the value for thetyckerrecord componentpos- the value for theposrecord component
-
-
Method Details
-
check
public void check(@NotNull ClauseTycker.TyckResult clauses, @NotNull @NotNull org.aya.syntax.core.term.Term type, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<org.aya.util.tyck.pat.PatClass<kala.collection.immutable.ImmutableSeq<org.aya.syntax.core.term.Term>>> mct) -
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). -
telescope
@NotNull public @NotNull kala.collection.immutable.ImmutableSeq<org.aya.syntax.core.term.Param> telescope()Returns the value of thetelescoperecord component.- Returns:
- the value of the
telescoperecord component
-
tycker
Returns the value of thetyckerrecord component.- Returns:
- the value of the
tyckerrecord component
-
pos
@NotNull public @NotNull org.aya.util.error.SourcePos pos()Returns the value of theposrecord component.- Returns:
- the value of the
posrecord component
-