Enum TypeTransformationParser.Keywords
- java.lang.Object
-
- java.lang.Enum<TypeTransformationParser.Keywords>
-
- com.google.javascript.jscomp.parsing.TypeTransformationParser.Keywords
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TypeTransformationParser.Keywords>
- Enclosing class:
- TypeTransformationParser
public static enum TypeTransformationParser.Keywords extends java.lang.Enum<TypeTransformationParser.Keywords>
Keywords of the type transformation language
-
-
Field Summary
Fields Modifier and Type Field Description TypeTransformationParser.OperationKind
kind
int
maxParamCount
int
minParamCount
java.lang.String
name
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TypeTransformationParser.Keywords
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TypeTransformationParser.Keywords[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final TypeTransformationParser.Keywords ALL
-
COND
public static final TypeTransformationParser.Keywords COND
-
EQ
public static final TypeTransformationParser.Keywords EQ
-
ISCTOR
public static final TypeTransformationParser.Keywords ISCTOR
-
ISDEFINED
public static final TypeTransformationParser.Keywords ISDEFINED
-
ISRECORD
public static final TypeTransformationParser.Keywords ISRECORD
-
ISTEMPLATIZED
public static final TypeTransformationParser.Keywords ISTEMPLATIZED
-
ISUNKNOWN
public static final TypeTransformationParser.Keywords ISUNKNOWN
-
INSTANCEOF
public static final TypeTransformationParser.Keywords INSTANCEOF
-
MAPUNION
public static final TypeTransformationParser.Keywords MAPUNION
-
MAPRECORD
public static final TypeTransformationParser.Keywords MAPRECORD
-
NONE
public static final TypeTransformationParser.Keywords NONE
-
PRINTTYPE
public static final TypeTransformationParser.Keywords PRINTTYPE
-
PROPTYPE
public static final TypeTransformationParser.Keywords PROPTYPE
-
RAWTYPEOF
public static final TypeTransformationParser.Keywords RAWTYPEOF
-
SUB
public static final TypeTransformationParser.Keywords SUB
-
STREQ
public static final TypeTransformationParser.Keywords STREQ
-
RECORD
public static final TypeTransformationParser.Keywords RECORD
-
TEMPLATETYPEOF
public static final TypeTransformationParser.Keywords TEMPLATETYPEOF
-
TYPE
public static final TypeTransformationParser.Keywords TYPE
-
TYPEEXPR
public static final TypeTransformationParser.Keywords TYPEEXPR
-
TYPEOFVAR
public static final TypeTransformationParser.Keywords TYPEOFVAR
-
UNION
public static final TypeTransformationParser.Keywords UNION
-
UNKNOWN
public static final TypeTransformationParser.Keywords UNKNOWN
-
-
Field Detail
-
name
public final java.lang.String name
-
minParamCount
public final int minParamCount
-
maxParamCount
public final int maxParamCount
-
kind
public final TypeTransformationParser.OperationKind kind
-
-
Method Detail
-
values
public static TypeTransformationParser.Keywords[] 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 (TypeTransformationParser.Keywords c : TypeTransformationParser.Keywords.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TypeTransformationParser.Keywords 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
-
-