java.lang.Object
java.lang.Record
org.aya.core.term.MetaTerm
- All Implemented Interfaces:
Callable,Term,AyaDocile,org.aya.guest0x0.cubical.Restr.TermLike<Term>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aya.core.term.Callable
Callable.DefCall, Callable.Factory<D extends Def,S extends Decl> Nested classes/interfaces inherited from interface org.aya.core.term.Term
Term.Matching, Term.Param -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull kala.collection.immutable.ImmutableSeq<@NotNull org.aya.util.Arg<@NotNull Term>>args()Returns the value of theargsrecord component.@NotNull PiTermasPi(boolean explicit) @NotNull kala.collection.immutable.ImmutableSeq<@NotNull org.aya.util.Arg<@NotNull Term>>Returns the value of thecontextArgsrecord component.final booleanIndicates whether some other object is "equal to" this one.@NotNull kala.collection.SeqView<@NotNull org.aya.util.Arg<Term>>fullArgs()final inthashCode()Returns a hash code value for this object.@NotNull Metaref()Returns the value of therefrecord 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.generic.AyaDocile
debuggerOnlyToDocMethods inherited from interface org.aya.guest0x0.cubical.Restr.TermLike
asFormulaMethods inherited from interface org.aya.core.term.Term
computeSort, computeType, descent, findUsages, freezeHoles, lift, normalize, rename, scopeCheck, subst, subst, subst, subst, toDoc
-
Constructor Details
-
MetaTerm
public MetaTerm(@NotNull @NotNull Meta ref, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<@NotNull org.aya.util.Arg<@NotNull Term>> contextArgs, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<@NotNull org.aya.util.Arg<@NotNull Term>> args) Creates an instance of aMetaTermrecord class.- Parameters:
ref- the value for therefrecord componentcontextArgs- the value for thecontextArgsrecord componentargs- the value for theargsrecord component
-
-
Method Details
-
asPi
-
fullArgs
-
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). -
ref
Returns the value of therefrecord component. -
contextArgs
@NotNull public @NotNull kala.collection.immutable.ImmutableSeq<@NotNull org.aya.util.Arg<@NotNull Term>> contextArgs()Returns the value of thecontextArgsrecord component.- Returns:
- the value of the
contextArgsrecord component
-
args
@NotNull public @NotNull kala.collection.immutable.ImmutableSeq<@NotNull org.aya.util.Arg<@NotNull Term>> args()Returns the value of theargsrecord component.
-