Module aya.base

Enum Class Pat.Absurd

java.lang.Object
java.lang.Enum<Pat.Absurd>
org.aya.core.pat.Pat.Absurd
All Implemented Interfaces:
Serializable, Comparable<Pat.Absurd>, Constable, Pat, AyaDocile
Enclosing interface:
Pat

public static enum Pat.Absurd extends Enum<Pat.Absurd> implements Pat
  • Enum Constant Details

    • INSTANCE

      public static final Pat.Absurd INSTANCE
  • Method Details

    • values

      public static Pat.Absurd[] 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 Pat.Absurd 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 Pat.Absurd descent(@NotNull @NotNull UnaryOperator<Pat> f, @NotNull @NotNull UnaryOperator<Term> g)
      Specified by:
      descent in interface Pat
    • storeBindings

      public void storeBindings(@NotNull @NotNull LocalCtx ctx, @NotNull @NotNull Subst rhsSubst)
      Specified by:
      storeBindings in interface Pat
    • zonk

      @NotNull public @NotNull Pat zonk(@NotNull @NotNull ConcreteAwareTycker tycker)
      Specified by:
      zonk in interface Pat
    • inline

      @NotNull public @NotNull Pat inline(@Nullable @Nullable LocalCtx ctx)
      Description copied from interface: Pat
      Make sure you inline all patterns in order
      Specified by:
      inline in interface Pat
      Parameters:
      ctx - when null, the solutions will not be inlined
      Returns:
      inlined patterns