java.lang.Object
java.lang.Record
org.aya.tyck.order.AyaOrgaTycker
- Record Components:
usageGraph- usage graph of decls (usually the transpose ofResolveInfo.depGraph()). for each (vertex, w) in the graph, the vertex should be tycked first.
- All Implemented Interfaces:
org.aya.util.tyck.OrgaTycker<TyckOrder,AyaSccTycker.SCCTyckingFailed>
public record AyaOrgaTycker(@NotNull AyaSccTycker sccTycker, @NotNull org.aya.util.terck.MutableGraph<TyckOrder> usageGraph, @NotNull kala.collection.mutable.MutableSet<TyckOrder> skippedSet)
extends Record
implements org.aya.util.tyck.OrgaTycker<TyckOrder,AyaSccTycker.SCCTyckingFailed>
Incremental and non-stopping compiler for SCCs.
-
Constructor Summary
ConstructorsConstructorDescriptionAyaOrgaTycker(@NotNull AyaSccTycker sccTycker, @NotNull ResolveInfo resolveInfo) AyaOrgaTycker(@NotNull AyaSccTycker sccTycker, @NotNull org.aya.util.terck.MutableGraph<TyckOrder> usageGraph, @NotNull kala.collection.mutable.MutableSet<TyckOrder> skippedSet) Creates an instance of aAyaOrgaTyckerrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncollectUsageOf(@NotNull TyckOrder failed) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull AyaSccTyckerReturns the value of thesccTyckerrecord component.@NotNull kala.collection.mutable.MutableSet<TyckOrder>Returns the value of theskippedSetrecord component.final StringtoString()Returns a string representation of this record class.@NotNull org.aya.util.terck.MutableGraph<TyckOrder>Returns the value of theusageGraphrecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aya.util.tyck.OrgaTycker
tyckSCC
-
Constructor Details
-
AyaOrgaTycker
public AyaOrgaTycker(@NotNull @NotNull AyaSccTycker sccTycker, @NotNull @NotNull ResolveInfo resolveInfo) -
AyaOrgaTycker
public AyaOrgaTycker(@NotNull @NotNull AyaSccTycker sccTycker, @NotNull @NotNull org.aya.util.terck.MutableGraph<TyckOrder> usageGraph, @NotNull @NotNull kala.collection.mutable.MutableSet<TyckOrder> skippedSet) Creates an instance of aAyaOrgaTyckerrecord class.- Parameters:
sccTycker- the value for thesccTyckerrecord componentusageGraph- the value for theusageGraphrecord componentskippedSet- the value for theskippedSetrecord component
-
-
Method Details
-
collectUsageOf
- Specified by:
collectUsageOfin interfaceorg.aya.util.tyck.OrgaTycker<TyckOrder,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). -
sccTycker
Returns the value of thesccTyckerrecord component.- Specified by:
sccTyckerin interfaceorg.aya.util.tyck.OrgaTycker<TyckOrder,AyaSccTycker.SCCTyckingFailed> - Returns:
- the value of the
sccTyckerrecord component
-
usageGraph
Returns the value of theusageGraphrecord component.- Returns:
- the value of the
usageGraphrecord component
-
skippedSet
Returns the value of theskippedSetrecord component.- Specified by:
skippedSetin interfaceorg.aya.util.tyck.OrgaTycker<TyckOrder,AyaSccTycker.SCCTyckingFailed> - Returns:
- the value of the
skippedSetrecord component
-