Module aya.base

Interface AyaDocile

All Known Subinterfaces:
Callable, Callable.DefCall, ClassDef, Command, Decl, Def, Elimination, Expr, Expr.Sort, GenericDef, ParamLike<Expr>, Pat, Pattern, StableWHNF, Stmt, TacNode, Term
All Known Implementing Classes:
AppTerm, ClassDecl, CoeTerm, Command.Import, Command.Module, Command.Open, CommonDecl, ConCall, CtorDef, DataCall, DataDef, Def.Signature, ErrorTerm, Expr.App, Expr.Array, Expr.BinOpSeq, Expr.Coe, Expr.Do, Expr.Error, Expr.Hole, Expr.Idiom, Expr.ISet, Expr.Lambda, Expr.Let, Expr.Lift, Expr.LitInt, Expr.LitString, Expr.Match, Expr.NamedArg, Expr.New, Expr.Param, Expr.PartEl, Expr.Path, Expr.Pi, Expr.Proj, Expr.Prop, Expr.RawProj, Expr.RawSort, Expr.Ref, Expr.Set, Expr.Sigma, Expr.Tuple, Expr.Type, Expr.Unresolved, FieldDef, FieldTerm, FnCall, FnDef, FormulaTerm, Generalize, HCompTerm, IntegerTerm, IntervalTerm, LamTerm, ListTerm, MatchTerm, MetaLitTerm, MetaPatTerm, MetaTerm, NewTerm, PAppTerm, PartialTerm, PartialTyTerm, Pat.Absurd, Pat.Bind, Pat.Ctor, Pat.Meta, Pat.Preclause, Pat.ShapedInt, Pat.Tuple, PathTerm, Pattern.Absurd, Pattern.As, Pattern.Bind, Pattern.BinOpSeq, Pattern.CalmFace, Pattern.Ctor, Pattern.List, Pattern.Number, Pattern.Tuple, PiTerm, PLamTerm, PrimCall, PrimDef, ProjTerm, RefTerm, RefTerm.Field, SigmaTerm, SortTerm, StringTerm, StructCall, StructDef, SubLevelDef, Subst, TacNode.ExprTac, TacNode.ListExprTac, TeleDecl, TeleDecl.DataCtor, TeleDecl.DataDecl, TeleDecl.FnDecl, TeleDecl.PrimDecl, TeleDecl.StructDecl, TeleDecl.StructField, Term.Matching, Term.Param, TopLevelDef, TupTerm, TyckState.Eqn, UserDef, UserDef.Type
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AyaDocile
  • Method Summary

    Modifier and Type
    Method
    Description
    default @NotNull org.aya.pretty.doc.Doc
    Deprecated.
    @NotNull org.aya.pretty.doc.Doc
    toDoc(@NotNull org.aya.util.distill.DistillerOptions options)
     
  • Method Details

    • debuggerOnlyToDoc

      @Deprecated @NotNull default @NotNull org.aya.pretty.doc.Doc debuggerOnlyToDoc()
      Deprecated.
      Load DistillerOptions by using it explicitly so IDEA won't show cannot load blahblah in the debugger window.
      API Note:
      This should not be used in any other place.
    • toDoc

      @NotNull @NotNull org.aya.pretty.doc.Doc toDoc(@NotNull @NotNull org.aya.util.distill.DistillerOptions options)