Module aya.base

Class ClauseTycker

java.lang.Object
org.aya.tyck.pat.ClauseTycker

public final class ClauseTycker extends Object
  • Field Details

    • META_PAT_INLINER

      public static final EndoTerm META_PAT_INLINER
  • Constructor Details

    • ClauseTycker

      public ClauseTycker()
  • Method Details

    • elabClausesDirectly

      @NotNull public static @NotNull ClauseTycker.PatResult elabClausesDirectly(@NotNull @NotNull ExprTycker exprTycker, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<@NotNull Pattern.Clause> clauses, @NotNull Def.Signature<?> signature)
    • elabClausesClassified

      @NotNull public static @NotNull ClauseTycker.PatResult elabClausesClassified(@NotNull @NotNull ExprTycker exprTycker, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<@NotNull Pattern.Clause> clauses, @NotNull Def.Signature<?> signature, @NotNull @NotNull org.aya.util.error.SourcePos overallPos)
    • checkLhs

      @NotNull public static @NotNull ClauseTycker.LhsResult checkLhs(@NotNull @NotNull ExprTycker exprTycker, @NotNull Pattern.Clause match, @NotNull Def.Signature<?> signature, boolean inProp, boolean isElim)
      Parameters:
      isElim - whether this checking is used for elimination (rather than data declaration)
    • inlineTerm

      @NotNull public static @NotNull Term inlineTerm(@NotNull @NotNull Term term)
    • inlineTypedSubst

      @NotNull public static @NotNull TypedSubst inlineTypedSubst(@NotNull @NotNull TypedSubst tySubst)