Module aya.base
Package org.aya.normalize
Record Class Finalizer.Zonk<T extends Problematic & Stateful>
java.lang.Object
java.lang.Record
org.aya.normalize.Finalizer.Zonk<T>
- All Implemented Interfaces:
Finalizer,Problematic,Stateful
- Enclosing interface:
Finalizer
public static record Finalizer.Zonk<T extends Problematic & Stateful>(T extends Problematic & Stateful delegate, @NotNull kala.collection.mutable.MutableSinglyLinkedList<org.aya.syntax.core.term.Term> stack)
extends Record
implements Finalizer, Stateful, Problematic
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aya.normalize.Finalizer
Finalizer.Freeze, Finalizer.Zonk<T extends Problematic & Stateful> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelegate()Returns the value of thedelegaterecord component.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.Reporterreporter()@NotNull kala.collection.mutable.MutableSinglyLinkedList<org.aya.syntax.core.term.Term> stack()Returns the value of thestackrecord component.@NotNull TyckStatestate()final StringtoString()Returns a string representation of this record class.@NotNull org.aya.syntax.core.term.Termzonk(@NotNull org.aya.syntax.core.term.Term term) 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, failMethods inherited from interface org.aya.tyck.tycker.Stateful
freezeHoles, solve, whnf
-
Constructor Details
-
Zonk
-
Zonk
public Zonk(@NotNull T delegate, @NotNull @NotNull kala.collection.mutable.MutableSinglyLinkedList<org.aya.syntax.core.term.Term> stack) Creates an instance of aZonkrecord class.- Parameters:
delegate- the value for thedelegaterecord componentstack- the value for thestackrecord component
-
-
Method Details
-
state
-
reporter
@NotNull public @NotNull org.aya.util.reporter.Reporter reporter()- Specified by:
reporterin interfaceProblematic
-
zonk
@NotNull public @NotNull org.aya.syntax.core.term.Term zonk(@NotNull @NotNull org.aya.syntax.core.term.Term term) -
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). -
delegate
Returns the value of thedelegaterecord component.- Returns:
- the value of the
delegaterecord component
-
stack
@NotNull public @NotNull kala.collection.mutable.MutableSinglyLinkedList<org.aya.syntax.core.term.Term> stack()Returns the value of thestackrecord component.- Returns:
- the value of the
stackrecord component
-