Package | Description |
---|---|
com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
com.google.javascript.rhino.testing |
Modifier and Type | Method and Description |
---|---|
TemplatizedType |
JSTypeRegistry.createTemplatizedType(ObjectType baseType,
com.google.common.collect.ImmutableList<JSType> templatizedTypes)
Creates a templatized instance of the specified type.
|
TemplatizedType |
JSTypeRegistry.createTemplatizedType(ObjectType baseType,
JSType... templatizedTypes)
Creates a templatized instance of the specified type.
|
TemplatizedType |
JSTypeRegistry.createTemplatizedType(ObjectType baseType,
Map<TemplateType,JSType> templatizedTypes)
Creates a templatized instance of the specified type.
|
TemplatizedType |
TemplatizedType.toMaybeTemplatizedType() |
TemplatizedType |
ProxyObjectType.toMaybeTemplatizedType() |
TemplatizedType |
JSType.toMaybeTemplatizedType()
Downcasts this to a TemplatizedType, or returns null if this is not
a function.
|
Modifier and Type | Method and Description |
---|---|
JSType |
ModificationVisitor.caseTemplatizedType(TemplatizedType type) |
T |
Visitor.caseTemplatizedType(TemplatizedType type)
Templatized type's case.
|
Modifier and Type | Method and Description |
---|---|
protected TemplatizedType |
BaseJSTypeTestCase.createTemplatizedType(ObjectType baseType,
com.google.common.collect.ImmutableList<JSType> templatizedTypes) |
protected TemplatizedType |
BaseJSTypeTestCase.createTemplatizedType(ObjectType baseType,
JSType... templatizedType) |
Copyright © 2009–2023 Google. All rights reserved.