private class SemanticReverseAbstractInterpreter.RestrictByTrueInstanceOfResultVisitor extends ChainableReverseAbstractInterpreter.RestrictByTrueTypeOfResultVisitor
| Modifier and Type | Field and Description |
|---|---|
private ObjectType |
target |
| Constructor and Description |
|---|
RestrictByTrueInstanceOfResultVisitor(ObjectType target) |
| Modifier and Type | Method and Description |
|---|---|
private JSType |
applyCommonRestriction(JSType type) |
JSType |
caseFunctionType(FunctionType type)
Function type's case.
|
JSType |
caseObjectType(ObjectType type)
Object type's case.
|
protected JSType |
caseTopType(JSType type)
Abstracts away the similarities between visiting the unknown type and the
all type.
|
JSType |
caseUnionType(UnionType type)
Union type's case.
|
JSType |
caseUnknownType()
Unknown type's case.
|
caseBooleanType, caseNoObjectType, caseNullType, caseNumberType, caseStringType, caseVoidTypecaseAllType, caseEnumElementType, caseNamedType, caseNoType, caseProxyObjectType, caseTemplateType, caseTemplatizedTypeprivate final ObjectType target
RestrictByTrueInstanceOfResultVisitor(ObjectType target)
protected JSType caseTopType(JSType type)
ChainableReverseAbstractInterpreter.RestrictByTypeOfResultVisitorcaseTopType in class ChainableReverseAbstractInterpreter.RestrictByTypeOfResultVisitortype - UNKNOWN_TYPE or ALL_TYPEChainableReverseAbstractInterpreter.RestrictByTypeOfResultVisitor.caseAllType(),
ChainableReverseAbstractInterpreter.RestrictByTypeOfResultVisitor.caseUnknownType()public JSType caseUnknownType()
VisitorcaseUnknownType in interface Visitor<JSType>caseUnknownType in class ChainableReverseAbstractInterpreter.RestrictByTypeOfResultVisitorpublic JSType caseObjectType(ObjectType type)
VisitorcaseObjectType in interface Visitor<JSType>caseObjectType in class ChainableReverseAbstractInterpreter.RestrictByTrueTypeOfResultVisitorpublic JSType caseUnionType(UnionType type)
VisitorcaseUnionType in interface Visitor<JSType>caseUnionType in class ChainableReverseAbstractInterpreter.RestrictByTypeOfResultVisitorpublic JSType caseFunctionType(FunctionType type)
VisitorcaseFunctionType in interface Visitor<JSType>caseFunctionType in class ChainableReverseAbstractInterpreter.RestrictByTrueTypeOfResultVisitor