Package io.github.cvc5.modes
Enum InputLanguage
- java.lang.Object
-
- java.lang.Enum<InputLanguage>
-
- io.github.cvc5.modes.InputLanguage
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InputLanguage>
public enum InputLanguage extends java.lang.Enum<InputLanguage>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SMT_LIB_2_6
The SMT-LIB version 2.6 languageSYGUS_2_1
The SyGuS version 2.1 language.UNKNOWN
No language given.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InputLanguage
fromInt(int value)
int
getValue()
static InputLanguage
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InputLanguage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SMT_LIB_2_6
public static final InputLanguage SMT_LIB_2_6
The SMT-LIB version 2.6 language
-
SYGUS_2_1
public static final InputLanguage SYGUS_2_1
The SyGuS version 2.1 language.
-
UNKNOWN
public static final InputLanguage UNKNOWN
No language given.
-
-
Method Detail
-
values
public static InputLanguage[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InputLanguage c : InputLanguage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InputLanguage valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromInt
public static InputLanguage fromInt(int value) throws CVC5ApiException
- Throws:
CVC5ApiException
-
getValue
public int getValue()
-
-