java.lang.Object
java.lang.Record
org.aya.core.term.Term.Param
- Enclosing interface:
Term
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Term.Paramfinal booleanIndicates whether some other object is "equal to" this one.booleanexplicit()Returns the value of theexplicitrecord component.static @NotNull kala.collection.immutable.ImmutableSeq<@NotNull Term.Param>fromBuffer(@NotNull kala.collection.mutable.MutableList<kala.tuple.Tuple3<LocalVar, Boolean, Term>> buf) final inthashCode()Returns a hash code value for this object.@NotNull Term.Paramstatic @NotNull Term.Param@NotNull LocalVarref()Returns the value of therefrecord component.@NotNull Term.Paramrename()@NotNull LocalVarstatic @NotNull kala.collection.immutable.ImmutableSeq<Term.Param>subst(@NotNull kala.collection.immutable.ImmutableSeq<@NotNull Term.Param> params, int ulift) static @NotNull kala.collection.immutable.ImmutableSeq<Term.Param>subst(@NotNull kala.collection.immutable.ImmutableSeq<@NotNull Term.Param> params, @NotNull Subst subst, int ulift) @NotNull Term.Param@NotNull Term.Param@NotNull Term.Param@NotNull org.aya.util.Arg<@NotNull Term>toArg()@NotNull PattoPat()final StringtoString()Returns a string representation of this record class.@NotNull RefTermtoTerm()@NotNull Termtype()Returns the value of thetyperecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aya.generic.AyaDocile
debuggerOnlyToDoc
-
Constructor Details
-
Param
-
Param
Creates an instance of aParamrecord class.- Parameters:
ref- the value for therefrecord componenttype- the value for thetyperecord componentexplicit- the value for theexplicitrecord component
-
-
Method Details
-
fromBuffer
@NotNull public static @NotNull kala.collection.immutable.ImmutableSeq<@NotNull Term.Param> fromBuffer(@NotNull @NotNull kala.collection.mutable.MutableList<kala.tuple.Tuple3<LocalVar, Boolean, Term>> buf) -
descent
@NotNull public @NotNull Term.Param descent(@NotNull @NotNull Function<@NotNull Term, @NotNull Term> f) -
implicitify
-
rename
-
renameVar
-
toArg
-
toTerm
-
toPat
-
subst
@NotNull public @NotNull Term.Param subst(@NotNull @NotNull AnyVar var, @NotNull @NotNull Term term) -
subst
-
subst
@NotNull public static @NotNull kala.collection.immutable.ImmutableSeq<Term.Param> subst(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<@NotNull Term.Param> params, @NotNull @NotNull Subst subst, int ulift) -
subst
@NotNull public static @NotNull kala.collection.immutable.ImmutableSeq<Term.Param> subst(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<@NotNull Term.Param> params, int ulift) -
subst
-
interval
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
ref
Returns the value of therefrecord component. -
type
Returns the value of thetyperecord component. -
explicit
public boolean explicit()Returns the value of theexplicitrecord component.
-