Module aya.base
Package org.aya.core

Class Meta

java.lang.Object
org.aya.core.Meta
All Implemented Interfaces:
AnyVar

public final class Meta extends Object implements AnyVar
API Note:
The object identity of this class is used at runtime
Implementation Note:
Do not override equals or hashCode
  • Field Details

    • contextTele

      @NotNull public final @NotNull kala.collection.immutable.ImmutableSeq<Term.Param> contextTele
    • telescope

      @NotNull public final @NotNull kala.collection.immutable.ImmutableSeq<Term.Param> telescope
    • name

      @NotNull public final @NotNull String name
    • result

      @Nullable public final @Nullable Term result
    • sourcePos

      @NotNull public final @NotNull org.aya.util.error.SourcePos sourcePos
    • conditions

      @NotNull public final @NotNull kala.collection.mutable.MutableList<kala.tuple.Tuple2<Subst,Term>> conditions
  • Method Details

    • fullTelescope

      public kala.collection.SeqView<Term.Param> fullTelescope()
    • solve

      public boolean solve(@NotNull @NotNull TyckState state, @NotNull @NotNull Term t)
    • from

      @NotNull public static @NotNull Meta from(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<Term.Param> contextTele, @NotNull @NotNull String name, @Nullable @Nullable Term result, @NotNull @NotNull org.aya.util.error.SourcePos sourcePos)
    • asPi

      @NotNull public @NotNull PiTerm asPi(@NotNull @NotNull String domName, @NotNull @NotNull String codName, boolean explicit, int ulift, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<org.aya.util.Arg<Term>> contextArgs)
    • name

      @NotNull public @NotNull String name()
      Specified by:
      name in interface AnyVar