Class ModificationVisitor
java.lang.Object
com.google.javascript.rhino.jstype.ModificationVisitor
A visitor implementation that enables type substitutions.
-
Constructor Summary
Constructors -
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:VisitorBottom type's case.- Specified by:
caseNoTypein interfaceVisitor<JSType>
-
caseEnumElementType
Description copied from interface:VisitorEnum element type's case.- Specified by:
caseEnumElementTypein interfaceVisitor<JSType>
-
caseAllType
Description copied from interface:VisitorAll type's case.- Specified by:
caseAllTypein interfaceVisitor<JSType>
-
caseBooleanType
Description copied from interface:VisitorBoolean value type's case.- Specified by:
caseBooleanTypein interfaceVisitor<JSType>
-
caseNoObjectType
Description copied from interface:VisitorBottom Object type's case.- Specified by:
caseNoObjectTypein interfaceVisitor<JSType>
-
caseFunctionType
Description copied from interface:VisitorFunction type's case.- Specified by:
caseFunctionTypein interfaceVisitor<JSType>
-
caseObjectType
Description copied from interface:VisitorObject type's case.- Specified by:
caseObjectTypein interfaceVisitor<JSType>
-
caseTemplatizedType
Description copied from interface:VisitorTemplatized type's case.- Specified by:
caseTemplatizedTypein interfaceVisitor<JSType>
-
caseUnknownType
Description copied from interface:VisitorUnknown type's case.- Specified by:
caseUnknownTypein interfaceVisitor<JSType>
-
caseNullType
Description copied from interface:VisitorNull type's case.- Specified by:
caseNullTypein interfaceVisitor<JSType>
-
caseNumberType
Description copied from interface:VisitorNumber value type's case.- Specified by:
caseNumberTypein interfaceVisitor<JSType>
-
caseStringType
Description copied from interface:VisitorString value type's case.- Specified by:
caseStringTypein interfaceVisitor<JSType>
-
caseVoidType
Description copied from interface:VisitorVoid type's case.- Specified by:
caseVoidTypein interfaceVisitor<JSType>
-
caseUnionType
Description copied from interface:VisitorUnion type's case.- Specified by:
caseUnionTypein interfaceVisitor<JSType>
-
caseTemplateType
Description copied from interface:VisitorTemplate type's case.- Specified by:
caseTemplateTypein interfaceVisitor<JSType>
-