|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.javascript.rhino.jstype.ModificationVisitor
public class ModificationVisitor
A visitor implementation that enables type substitutions.
| Constructor Summary | |
|---|---|
ModificationVisitor(JSTypeRegistry registry)
|
|
| Method Summary | |
|---|---|
JSType |
caseAllType()
All type's case. |
JSType |
caseBooleanType()
Boolean value type's case. |
JSType |
caseEnumElementType(EnumElementType type)
Enum element type's case. |
JSType |
caseFunctionType(FunctionType type)
Function type's case. |
JSType |
caseNoObjectType()
Bottom Object type's case. |
JSType |
caseNoType()
Bottom type's case. |
JSType |
caseNullType()
Null type's case. |
JSType |
caseNumberType()
Number value type's case. |
JSType |
caseObjectType(ObjectType objType)
Object type's case. |
JSType |
caseParameterizedType(ParameterizedType type)
Parameterized type's case. |
JSType |
caseStringType()
String value type's case. |
JSType |
caseTemplateType(TemplateType type)
Template type's case. |
JSType |
caseUnionType(UnionType type)
Union type's case. |
JSType |
caseUnknownType()
Unknown type's case. |
JSType |
caseVoidType()
Void type's case. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModificationVisitor(JSTypeRegistry registry)
| Method Detail |
|---|
public JSType caseNoType()
Visitor
caseNoType in interface Visitor<JSType>public JSType caseEnumElementType(EnumElementType type)
Visitor
caseEnumElementType in interface Visitor<JSType>public JSType caseAllType()
Visitor
caseAllType in interface Visitor<JSType>public JSType caseBooleanType()
Visitor
caseBooleanType in interface Visitor<JSType>public JSType caseNoObjectType()
Visitor
caseNoObjectType in interface Visitor<JSType>public JSType caseFunctionType(FunctionType type)
Visitor
caseFunctionType in interface Visitor<JSType>public JSType caseObjectType(ObjectType objType)
Visitor
caseObjectType in interface Visitor<JSType>public JSType caseParameterizedType(ParameterizedType type)
Visitor
caseParameterizedType in interface Visitor<JSType>public JSType caseUnknownType()
Visitor
caseUnknownType in interface Visitor<JSType>public JSType caseNullType()
Visitor
caseNullType in interface Visitor<JSType>public JSType caseNumberType()
Visitor
caseNumberType in interface Visitor<JSType>public JSType caseStringType()
Visitor
caseStringType in interface Visitor<JSType>public JSType caseVoidType()
Visitor
caseVoidType in interface Visitor<JSType>public JSType caseUnionType(UnionType type)
Visitor
caseUnionType in interface Visitor<JSType>public JSType caseTemplateType(TemplateType type)
Visitor
caseTemplateType in interface Visitor<JSType>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||