Modifier and Type | Field and Description |
---|---|
protected int |
mask |
private static MaskType |
NULL_OR_BOOLEAN |
private static int |
NULL_OR_BOOLEAN_MASK |
private static MaskType |
NULL_OR_NUMBER |
private static int |
NULL_OR_NUMBER_MASK |
private static MaskType |
NULL_OR_STRING |
private static int |
NULL_OR_STRING_MASK |
private static MaskType |
NUMBER_OR_STRING |
private static int |
NUMBER_OR_STRING_MASK |
private static MaskType |
UNDEFINED_OR_BOOLEAN |
private static int |
UNDEFINED_OR_BOOLEAN_MASK |
private static MaskType |
UNDEFINED_OR_NULL |
private static int |
UNDEFINED_OR_NULL_MASK |
private static MaskType |
UNDEFINED_OR_NUMBER |
private static int |
UNDEFINED_OR_NUMBER_MASK |
private static MaskType |
UNDEFINED_OR_STRING |
private static int |
UNDEFINED_OR_STRING_MASK |
BOOLEAN, BOOLEAN_MASK, BOTTOM, BOTTOM_MASK, END_MASK, ENUM_MASK, FALSE_MASK, FALSE_TYPE, FALSY, FALSY_MASK, MAP_TO_UNKNOWN, mockToString, NON_SCALAR_MASK, NULL, NULL_MASK, NULL_OR_UNDEF, NUM_OR_STR, NUMBER, NUMBER_MASK, STRING, STRING_MASK, TOP, TOP_DICT, TOP_MASK, TOP_OBJECT, TOP_SCALAR, TOP_SCALAR_MASK, TOP_STRUCT, TRUE_MASK, TRUE_TYPE, TRUTHY, TRUTHY_MASK, TYPEVAR_MASK, UNDEFINED, UNDEFINED_MASK, UNKNOWN, UNKNOWN_MASK
Constructor and Description |
---|
MaskType(int mask) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.collect.ImmutableSet<EnumType> |
getEnums() |
protected int |
getMask() |
protected com.google.common.collect.ImmutableSet<ObjectType> |
getObjs() |
protected java.lang.String |
getTypeVar() |
(package private) static JSType |
make(int mask) |
appendTo, autobox, equals, fromEnum, fromFunctionType, fromObjectType, fromTypeVar, getDeclaredProp, getEnumeratedType, getFunType, getFunTypeIfSingletonObj, getIndexedType, getIndexType, getNominalTypeIfSingletonObj, getObjTypeIfSingletonObj, getProp, hasConstantProp, hashCode, hasNonScalar, hasProp, hasScalar, hasTypeVariable, haveCommonSubtype, isAnyFalsyType, isAnyTruthyType, isBoolean, isBottom, isConstructor, isDict, isEnumElement, isEquivalentTo, isFalseOrFalsy, isFunctionType, isFunctionWithProperties, isInterface, isInterfaceDefinition, isLoose, isNamespace, isNonClassyObject, isNonLooseSubtypeOf, isNullable, isNullOrUndef, isNumber, isScalar, isSingletonObj, isSingletonObjWithNull, isString, isStruct, isSubtypeOf, isSubtypeOf, isTop, isTrueOrTruthy, isTypeVariable, isUndefined, isUnion, isUnknown, isUnknownType, isValidType, join, mayBeDict, mayBeStruct, mayHaveProp, meet, negate, nullAcceptingJoin, plus, removeType, restrictByNotNullOrUndefined, setCommonTypes, specialize, substituteGenerics, substituteGenericsWithUnknown, toBoolean, toMaybeFunctionType, toMaybeObjectType, toString, unifyUnknowns, unifyWith, unifyWithSubtype, withDeclaredProperty, withFunction, withLoose, withoutProperty, withProperty, withPropertyRequired
private static final int NUMBER_OR_STRING_MASK
private static final int UNDEFINED_OR_BOOLEAN_MASK
private static final int UNDEFINED_OR_NUMBER_MASK
private static final int UNDEFINED_OR_STRING_MASK
private static final int UNDEFINED_OR_NULL_MASK
private static final int NULL_OR_BOOLEAN_MASK
private static final int NULL_OR_NUMBER_MASK
private static final int NULL_OR_STRING_MASK
private static final MaskType NUMBER_OR_STRING
private static final MaskType UNDEFINED_OR_BOOLEAN
private static final MaskType UNDEFINED_OR_NUMBER
private static final MaskType UNDEFINED_OR_STRING
private static final MaskType UNDEFINED_OR_NULL
private static final MaskType NULL_OR_BOOLEAN
private static final MaskType NULL_OR_NUMBER
private static final MaskType NULL_OR_STRING
protected final int mask
static JSType make(int mask)
protected com.google.common.collect.ImmutableSet<ObjectType> getObjs()
protected java.lang.String getTypeVar()
getTypeVar
in class JSType