Module aya.base

Enum Class MetaInfo.AnyType

java.lang.Object
java.lang.Enum<MetaInfo.AnyType>
org.aya.core.meta.MetaInfo.AnyType
All Implemented Interfaces:
Serializable, Comparable<MetaInfo.AnyType>, Constable, MetaInfo, AyaDocile
Enclosing interface:
MetaInfo

public static enum MetaInfo.AnyType extends Enum<MetaInfo.AnyType> implements MetaInfo
The meta variable is a type. It should be able to appear on the RHS of a judgment.
  • Enum Constant Details

  • Method Details

    • values

      public static MetaInfo.AnyType[] 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 MetaInfo.AnyType 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
    • result

      @Nullable public @Nullable Term result()
      Specified by:
      result in interface MetaInfo
    • isType

      public boolean isType(@NotNull @NotNull Synthesizer synthesizer)
      Specified by:
      isType in interface MetaInfo
    • toDoc

      @NotNull public @NotNull org.aya.pretty.doc.Doc toDoc(@NotNull @NotNull org.aya.util.prettier.PrettierOptions options)
      Specified by:
      toDoc in interface AyaDocile