Package | Description |
---|---|
com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
Modifier and Type | Field and Description |
---|---|
protected TemplateTypeMap |
JSType.templateTypeMap |
Modifier and Type | Method and Description |
---|---|
TemplateTypeMap |
JSTypeRegistry.createTemplateTypeMap(com.google.common.collect.ImmutableList<TemplateType> templateKeys,
com.google.common.collect.ImmutableList<JSType> templateValues)
Creates a template type map from the specified list of template keys and
template value types.
|
TemplateTypeMap |
TemplatizedType.getTemplateTypeMap() |
TemplateTypeMap |
ProxyObjectType.getTemplateTypeMap() |
TemplateTypeMap |
JSType.getTemplateTypeMap()
Returns the template type map associated with this type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TemplateTypeMap.checkEquivalenceHelper(TemplateTypeMap that,
com.google.javascript.rhino.jstype.EquivalenceMethod eqMethod)
Determines if this map and the specified map have equivalent template
types.
|
boolean |
TemplateTypeMap.checkEquivalenceHelper(TemplateTypeMap that,
com.google.javascript.rhino.jstype.EquivalenceMethod eqMethod,
com.google.javascript.rhino.jstype.JSType.EqCache eqCache) |
void |
JSType.extendTemplateTypeMap(TemplateTypeMap otherMap)
Extends the template type map associated with this type, merging in the
keys and values of the specified map.
|
Constructor and Description |
---|
TemplateTypeMapReplacer(JSTypeRegistry registry,
TemplateTypeMap replacements) |
Copyright © 2009–2023 Google. All rights reserved.