Module aya.base

Enum Class IntervalTerm

java.lang.Object
java.lang.Enum<IntervalTerm>
org.aya.core.term.IntervalTerm
All Implemented Interfaces:
Serializable, Comparable<IntervalTerm>, Constable, Formation, StableWHNF, Term, AyaDocile, org.aya.guest0x0.cubical.Restr.TermLike<Term>

public enum IntervalTerm extends Enum<IntervalTerm> implements StableWHNF, Formation
  • Enum Constant Details

  • Method Details

    • values

      public static IntervalTerm[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static IntervalTerm valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • descent

      @NotNull public @NotNull IntervalTerm descent(@NotNull @NotNull UnaryOperator<Term> f, @NotNull @NotNull UnaryOperator<Pat> g)
      Description copied from interface: Term
      Descending an operation to the term AST. NOTE: Currently we require the operation `f` to preserve:
      invalid @link
      StructCall
      , DataCall, SortTerm, Shaped.Applicable.
      Specified by:
      descent in interface Term
    • param

      @NotNull public static @NotNull Term.Param param(@NotNull @NotNull String varName)
    • param

      @NotNull public static @NotNull Term.Param param(@NotNull @NotNull LocalVar var)
    • paramImplicit

      @NotNull public static @NotNull Term.Param paramImplicit(@NotNull @NotNull String varName)