Class ModificationVisitor
java.lang.Object
com.google.javascript.rhino.jstype.ModificationVisitor
A visitor implementation that enables type substitutions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAll type's case.Boolean value type's case.Enum element type's case.caseFunctionType
(FunctionType type) Function type's case.Bottom Object type's case.Bottom type's case.Null type's case.Number value type's case.caseObjectType
(ObjectType objType) Object type's case.String value type's case.caseTemplateType
(TemplateType type) Template type's case.Templatized type's case.caseUnionType
(UnionType type) Union type's case.Unknown type's case.Void type's case.
-
Constructor Details
-
ModificationVisitor
-
-
Method Details
-
caseNoType
Description copied from interface:Visitor
Bottom type's case.- Specified by:
caseNoType
in interfaceVisitor<JSType>
-
caseEnumElementType
Description copied from interface:Visitor
Enum element type's case.- Specified by:
caseEnumElementType
in interfaceVisitor<JSType>
-
caseAllType
Description copied from interface:Visitor
All type's case.- Specified by:
caseAllType
in interfaceVisitor<JSType>
-
caseBooleanType
Description copied from interface:Visitor
Boolean value type's case.- Specified by:
caseBooleanType
in interfaceVisitor<JSType>
-
caseNoObjectType
Description copied from interface:Visitor
Bottom Object type's case.- Specified by:
caseNoObjectType
in interfaceVisitor<JSType>
-
caseFunctionType
Description copied from interface:Visitor
Function type's case.- Specified by:
caseFunctionType
in interfaceVisitor<JSType>
-
caseObjectType
Description copied from interface:Visitor
Object type's case.- Specified by:
caseObjectType
in interfaceVisitor<JSType>
-
caseTemplatizedType
Description copied from interface:Visitor
Templatized type's case.- Specified by:
caseTemplatizedType
in interfaceVisitor<JSType>
-
caseUnknownType
Description copied from interface:Visitor
Unknown type's case.- Specified by:
caseUnknownType
in interfaceVisitor<JSType>
-
caseNullType
Description copied from interface:Visitor
Null type's case.- Specified by:
caseNullType
in interfaceVisitor<JSType>
-
caseNumberType
Description copied from interface:Visitor
Number value type's case.- Specified by:
caseNumberType
in interfaceVisitor<JSType>
-
caseStringType
Description copied from interface:Visitor
String value type's case.- Specified by:
caseStringType
in interfaceVisitor<JSType>
-
caseVoidType
Description copied from interface:Visitor
Void type's case.- Specified by:
caseVoidType
in interfaceVisitor<JSType>
-
caseUnionType
Description copied from interface:Visitor
Union type's case.- Specified by:
caseUnionType
in interfaceVisitor<JSType>
-
caseTemplateType
Description copied from interface:Visitor
Template type's case.- Specified by:
caseTemplateType
in interfaceVisitor<JSType>
-