public enum JSTypeNative extends Enum<JSTypeNative>
JSTypeRegistry.getNativeType(JSTypeNative)
.Modifier and Type | Method and Description |
---|---|
static JSTypeNative |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JSTypeNative[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSTypeNative ARRAY_TYPE
public static final JSTypeNative ARRAY_FUNCTION_TYPE
public static final JSTypeNative BOOLEAN_TYPE
public static final JSTypeNative BOOLEAN_OBJECT_TYPE
public static final JSTypeNative BOOLEAN_OBJECT_FUNCTION_TYPE
public static final JSTypeNative CHECKED_UNKNOWN_TYPE
if (x) { // x is unknown
alert(x); // x is checked unknown
}
/* @param {SomeForwardDeclaredType} x /
function f(x) {
// x is checked unknown. We know it's some type, but the type
// has not been included in this binary.
}
This is useful for missing property warnings, where we don't
want to emit warnings on things that have been checked.public static final JSTypeNative DATE_TYPE
public static final JSTypeNative DATE_FUNCTION_TYPE
public static final JSTypeNative ERROR_FUNCTION_TYPE
public static final JSTypeNative ERROR_TYPE
public static final JSTypeNative EVAL_ERROR_FUNCTION_TYPE
public static final JSTypeNative EVAL_ERROR_TYPE
public static final JSTypeNative FUNCTION_FUNCTION_TYPE
public static final JSTypeNative FUNCTION_INSTANCE_TYPE
public static final JSTypeNative FUNCTION_PROTOTYPE
public static final JSTypeNative NULL_TYPE
public static final JSTypeNative NUMBER_TYPE
public static final JSTypeNative NUMBER_OBJECT_TYPE
public static final JSTypeNative NUMBER_OBJECT_FUNCTION_TYPE
public static final JSTypeNative OBJECT_TYPE
public static final JSTypeNative OBJECT_FUNCTION_TYPE
public static final JSTypeNative OBJECT_PROTOTYPE
public static final JSTypeNative RANGE_ERROR_FUNCTION_TYPE
public static final JSTypeNative RANGE_ERROR_TYPE
public static final JSTypeNative REFERENCE_ERROR_FUNCTION_TYPE
public static final JSTypeNative REFERENCE_ERROR_TYPE
public static final JSTypeNative REGEXP_TYPE
public static final JSTypeNative REGEXP_FUNCTION_TYPE
public static final JSTypeNative STRING_OBJECT_TYPE
public static final JSTypeNative STRING_OBJECT_FUNCTION_TYPE
public static final JSTypeNative STRING_TYPE
public static final JSTypeNative SYNTAX_ERROR_FUNCTION_TYPE
public static final JSTypeNative SYNTAX_ERROR_TYPE
public static final JSTypeNative TYPE_ERROR_FUNCTION_TYPE
public static final JSTypeNative TYPE_ERROR_TYPE
public static final JSTypeNative UNKNOWN_TYPE
public static final JSTypeNative URI_ERROR_FUNCTION_TYPE
public static final JSTypeNative URI_ERROR_TYPE
public static final JSTypeNative VOID_TYPE
public static final JSTypeNative TOP_LEVEL_PROTOTYPE
public static final JSTypeNative STRING_VALUE_OR_OBJECT_TYPE
public static final JSTypeNative NUMBER_VALUE_OR_OBJECT_TYPE
public static final JSTypeNative ALL_TYPE
public static final JSTypeNative NO_TYPE
public static final JSTypeNative NO_OBJECT_TYPE
public static final JSTypeNative NO_RESOLVED_TYPE
public static final JSTypeNative GLOBAL_THIS
public static final JSTypeNative U2U_CONSTRUCTOR_TYPE
public static final JSTypeNative U2U_FUNCTION_TYPE
public static final JSTypeNative LEAST_FUNCTION_TYPE
public static final JSTypeNative GREATEST_FUNCTION_TYPE
public static final JSTypeNative NULL_VOID
public static final JSTypeNative OBJECT_NUMBER_STRING
public static final JSTypeNative OBJECT_NUMBER_STRING_BOOLEAN
public static final JSTypeNative NUMBER_STRING_BOOLEAN
public static final JSTypeNative NUMBER_STRING
public static JSTypeNative[] values()
for (JSTypeNative c : JSTypeNative.values()) System.out.println(c);
public static JSTypeNative valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2009–2023 Google. All rights reserved.