java.lang.Object
java.lang.Record
org.aya.tyck.order.AyaSccTycker
- All Implemented Interfaces:
Problematic,org.aya.util.tyck.SCCTycker<org.aya.generic.stmt.TyckOrder,AyaSccTycker.SCCTyckingFailed>
public record AyaSccTycker(@NotNull StmtTycker tycker, @NotNull org.aya.util.reporter.CountingReporter reporter, @NotNull ResolveInfo resolveInfo, @NotNull kala.collection.mutable.MutableList<@NotNull org.aya.syntax.core.def.TyckDef> wellTyped)
extends Record
implements org.aya.util.tyck.SCCTycker<org.aya.generic.stmt.TyckOrder,AyaSccTycker.SCCTyckingFailed>, Problematic
Tyck statements in SCC.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAyaSccTycker(@NotNull StmtTycker tycker, @NotNull org.aya.util.reporter.CountingReporter reporter, @NotNull ResolveInfo resolveInfo, @NotNull kala.collection.mutable.MutableList<@NotNull org.aya.syntax.core.def.TyckDef> wellTyped) Creates an instance of aAyaSccTyckerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull AyaSccTyckercreate(ResolveInfo info, @NotNull org.aya.util.reporter.Reporter outReporter) 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.reporter.CountingReporterreporter()Returns the value of thereporterrecord component.@NotNull ResolveInfoReturns the value of theresolveInforecord component.final StringtoString()Returns a string representation of this record class.@NotNull StmtTyckertycker()Returns the value of thetyckerrecord component.@NotNull kala.collection.immutable.ImmutableSeq<org.aya.generic.stmt.TyckOrder> tyckSCC(@NotNull kala.collection.immutable.ImmutableSeq<org.aya.generic.stmt.TyckOrder> scc) @NotNull kala.collection.mutable.MutableList<@NotNull org.aya.syntax.core.def.TyckDef> Returns the value of thewellTypedrecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aya.tyck.tycker.Problematic
fail, fail, fail
-
Constructor Details
-
AyaSccTycker
public AyaSccTycker(@NotNull @NotNull StmtTycker tycker, @NotNull @NotNull org.aya.util.reporter.CountingReporter reporter, @NotNull @NotNull ResolveInfo resolveInfo, @NotNull @NotNull kala.collection.mutable.MutableList<@NotNull org.aya.syntax.core.def.TyckDef> wellTyped) Creates an instance of aAyaSccTyckerrecord class.- Parameters:
tycker- the value for thetyckerrecord componentreporter- the value for thereporterrecord componentresolveInfo- the value for theresolveInforecord componentwellTyped- the value for thewellTypedrecord component
-
-
Method Details
-
create
@NotNull public static @NotNull AyaSccTycker create(ResolveInfo info, @NotNull @NotNull org.aya.util.reporter.Reporter outReporter) -
tyckSCC
@NotNull public @NotNull kala.collection.immutable.ImmutableSeq<org.aya.generic.stmt.TyckOrder> tyckSCC(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<org.aya.generic.stmt.TyckOrder> scc) throws AyaSccTycker.SCCTyckingFailed - Specified by:
tyckSCCin interfaceorg.aya.util.tyck.SCCTycker<org.aya.generic.stmt.TyckOrder,AyaSccTycker.SCCTyckingFailed> - Throws:
AyaSccTycker.SCCTyckingFailed
-
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). -
tycker
Returns the value of thetyckerrecord component.- Returns:
- the value of the
tyckerrecord component
-
reporter
@NotNull public @NotNull org.aya.util.reporter.CountingReporter reporter()Returns the value of thereporterrecord component.- Specified by:
reporterin interfaceProblematic- Returns:
- the value of the
reporterrecord component
-
resolveInfo
Returns the value of theresolveInforecord component.- Returns:
- the value of the
resolveInforecord component
-
wellTyped
@NotNull public @NotNull kala.collection.mutable.MutableList<@NotNull org.aya.syntax.core.def.TyckDef> wellTyped()Returns the value of thewellTypedrecord component.- Returns:
- the value of the
wellTypedrecord component
-