Class ModificationVisitor
- java.lang.Object
-
- com.google.javascript.rhino.jstype.ModificationVisitor
-
-
Constructor Summary
Constructors Constructor Description ModificationVisitor(JSTypeRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JSTypecaseAllType()All type's case.JSTypecaseBooleanType()Boolean value type's case.JSTypecaseEnumElementType(EnumElementType type)Enum element type's case.JSTypecaseFunctionType(FunctionType type)Function type's case.JSTypecaseNoObjectType()Bottom Object type's case.JSTypecaseNoType()Bottom type's case.JSTypecaseNullType()Null type's case.JSTypecaseNumberType()Number value type's case.JSTypecaseObjectType(ObjectType objType)Object type's case.JSTypecaseStringType()String value type's case.JSTypecaseTemplateType(TemplateType type)Template type's case.JSTypecaseTemplatizedType(TemplatizedType type)Templatized type's case.JSTypecaseUnionType(UnionType type)Union type's case.JSTypecaseUnknownType()Unknown type's case.JSTypecaseVoidType()Void type's case.
-
-
-
Constructor Detail
-
ModificationVisitor
public ModificationVisitor(JSTypeRegistry registry)
-
-
Method Detail
-
caseNoType
public JSType caseNoType()
Description copied from interface:VisitorBottom type's case.- Specified by:
caseNoTypein interfaceVisitor<JSType>
-
caseEnumElementType
public JSType caseEnumElementType(EnumElementType type)
Description copied from interface:VisitorEnum element type's case.- Specified by:
caseEnumElementTypein interfaceVisitor<JSType>
-
caseAllType
public JSType caseAllType()
Description copied from interface:VisitorAll type's case.- Specified by:
caseAllTypein interfaceVisitor<JSType>
-
caseBooleanType
public JSType caseBooleanType()
Description copied from interface:VisitorBoolean value type's case.- Specified by:
caseBooleanTypein interfaceVisitor<JSType>
-
caseNoObjectType
public JSType caseNoObjectType()
Description copied from interface:VisitorBottom Object type's case.- Specified by:
caseNoObjectTypein interfaceVisitor<JSType>
-
caseFunctionType
public JSType caseFunctionType(FunctionType type)
Description copied from interface:VisitorFunction type's case.- Specified by:
caseFunctionTypein interfaceVisitor<JSType>
-
caseObjectType
public JSType caseObjectType(ObjectType objType)
Description copied from interface:VisitorObject type's case.- Specified by:
caseObjectTypein interfaceVisitor<JSType>
-
caseTemplatizedType
public JSType caseTemplatizedType(TemplatizedType type)
Description copied from interface:VisitorTemplatized type's case.- Specified by:
caseTemplatizedTypein interfaceVisitor<JSType>
-
caseUnknownType
public JSType caseUnknownType()
Description copied from interface:VisitorUnknown type's case.- Specified by:
caseUnknownTypein interfaceVisitor<JSType>
-
caseNullType
public JSType caseNullType()
Description copied from interface:VisitorNull type's case.- Specified by:
caseNullTypein interfaceVisitor<JSType>
-
caseNumberType
public JSType caseNumberType()
Description copied from interface:VisitorNumber value type's case.- Specified by:
caseNumberTypein interfaceVisitor<JSType>
-
caseStringType
public JSType caseStringType()
Description copied from interface:VisitorString value type's case.- Specified by:
caseStringTypein interfaceVisitor<JSType>
-
caseVoidType
public JSType caseVoidType()
Description copied from interface:VisitorVoid type's case.- Specified by:
caseVoidTypein interfaceVisitor<JSType>
-
caseUnionType
public JSType caseUnionType(UnionType type)
Description copied from interface:VisitorUnion type's case.- Specified by:
caseUnionTypein interfaceVisitor<JSType>
-
caseTemplateType
public JSType caseTemplateType(TemplateType type)
Description copied from interface:VisitorTemplate type's case.- Specified by:
caseTemplateTypein interfaceVisitor<JSType>
-
-