java.lang.Object
java.lang.Record
org.aya.tyck.order.SigRefFinder
- All Implemented Interfaces:
Consumer<Expr>,ExprConsumer,PatternConsumer
public record SigRefFinder(@NotNull kala.collection.mutable.MutableList<TyckUnit> references)
extends Record
implements ExprConsumer
Concrete version of RefFinder but only header is searched.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSigRefFinder(@NotNull kala.collection.mutable.MutableList<TyckUnit> references) Creates an instance of aSigRefFinderrecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.void@NotNull kala.collection.mutable.MutableList<TyckUnit>Returns the value of thereferencesrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aya.concrete.visitor.ExprConsumer
accept, postMethods inherited from interface org.aya.concrete.visitor.PatternConsumer
accept, post, pre
-
Constructor Details
-
SigRefFinder
Creates an instance of aSigRefFinderrecord class.- Parameters:
references- the value for thereferencesrecord component
-
-
Method Details
-
accept
-
pre
- Specified by:
prein interfaceExprConsumer
-
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). -
references
Returns the value of thereferencesrecord component.- Returns:
- the value of the
referencesrecord component
-