Package | Description |
---|---|
com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
CanCastToVisitor
A "can cast to" relationship visitor.
|
Modifier and Type | Method and Description |
---|---|
(package private) <T> T |
AllType.visit(RelationshipVisitor<T> visitor,
JSType that) |
(package private) <T> T |
ArrowType.visit(RelationshipVisitor<T> visitor,
JSType that) |
(package private) <T> T |
EnumElementType.visit(RelationshipVisitor<T> visitor,
JSType that) |
(package private) <T> T |
EnumType.visit(RelationshipVisitor<T> visitor,
JSType that) |
(package private) <T> T |
FunctionType.visit(RelationshipVisitor<T> visitor,
JSType that) |
(package private) abstract <T> T |
JSType.visit(RelationshipVisitor<T> visitor,
JSType that)
Visit the types with the given visitor.
|
(package private) <T> T |
NoObjectType.visit(RelationshipVisitor<T> visitor,
JSType that) |
(package private) <T> T |
NoType.visit(RelationshipVisitor<T> visitor,
JSType that) |
(package private) <T> T |
ObjectType.visit(RelationshipVisitor<T> visitor,
JSType that) |
(package private) <T> T |
ProxyObjectType.visit(RelationshipVisitor<T> visitor,
JSType that) |
(package private) <T> T |
TemplateType.visit(RelationshipVisitor<T> visitor,
JSType that) |
(package private) <T> T |
TemplatizedType.visit(RelationshipVisitor<T> visitor,
JSType that) |
(package private) <T> T |
UnionType.visit(RelationshipVisitor<T> visitor,
JSType that) |
(package private) <T> T |
UnknownType.visit(RelationshipVisitor<T> visitor,
JSType that) |
(package private) <T> T |
ValueType.visit(RelationshipVisitor<T> visitor,
JSType that) |