abstract class ChainableReverseAbstractInterpreter.RestrictByTypeOfResultVisitor extends java.lang.Object implements Visitor<JSType>
typeof-like conditions.| Constructor and Description |
|---|
RestrictByTypeOfResultVisitor() |
| Modifier and Type | Method and Description |
|---|---|
JSType |
caseAllType()
All type's case.
|
JSType |
caseEnumElementType(EnumElementType enumElementType)
Enum element type's case.
|
JSType |
caseNamedType(NamedType type)
Named type's case.
|
JSType |
caseNoType(NoType type)
Bottom type's case.
|
JSType |
caseProxyObjectType(ProxyObjectType type)
Proxy type's case.
|
JSType |
caseTemplateType(TemplateType templateType)
Template type's case.
|
JSType |
caseTemplatizedType(TemplatizedType type)
Templatized type's case.
|
protected abstract JSType |
caseTopType(JSType topType)
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcaseBooleanType, caseFunctionType, caseNoObjectType, caseNullType, caseNumberType, caseObjectType, caseStringType, caseVoidTypeprotected abstract JSType caseTopType(JSType topType)
topType - UNKNOWN_TYPE or ALL_TYPEcaseAllType(),
caseUnknownType()public JSType caseAllType()
VisitorcaseAllType in interface Visitor<JSType>public JSType caseUnknownType()
VisitorcaseUnknownType in interface Visitor<JSType>public JSType caseUnionType(UnionType type)
VisitorcaseUnionType in interface Visitor<JSType>public JSType caseNoType(NoType type)
VisitorcaseNoType in interface Visitor<JSType>public JSType caseEnumElementType(EnumElementType enumElementType)
VisitorcaseEnumElementType in interface Visitor<JSType>public JSType caseTemplatizedType(TemplatizedType type)
VisitorcaseTemplatizedType in interface Visitor<JSType>public JSType caseTemplateType(TemplateType templateType)
VisitorcaseTemplateType in interface Visitor<JSType>public JSType caseNamedType(NamedType type)
VisitorcaseNamedType in interface Visitor<JSType>public JSType caseProxyObjectType(ProxyObjectType type)
VisitorcaseProxyObjectType in interface Visitor<JSType>