| 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 |
JSType.getTemplateTypeMap()
Returns the template type map associated with this type.
|
TemplateTypeMap |
ProxyObjectType.getTemplateTypeMap() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TemplateTypeMap.checkEquivalenceHelper(TemplateTypeMap that,
com.google.javascript.rhino.jstype.EquivalenceMethod eqMethod,
com.google.javascript.rhino.jstype.JSType.EqCache eqCache,
JSType.SubtypingMode subtypingMode) |
boolean |
TemplateTypeMap.checkEquivalenceHelper(TemplateTypeMap that,
com.google.javascript.rhino.jstype.EquivalenceMethod eqMethod,
JSType.SubtypingMode subtypingMode)
Determines if this map and the specified map have equivalent template
types.
|
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) |
TemplateTypeMapReplacer(JSTypeRegistry registry,
TemplateTypeMap replacements,
boolean replaceMissingTypesWithUnknown) |
Copyright © 2009-2018 Google. All Rights Reserved.