Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,DisambiguateProperties.Property> |
DisambiguateProperties.properties |
Modifier and Type | Method and Description |
---|---|
protected DisambiguateProperties.Property |
DisambiguateProperties.getProperty(java.lang.String name)
Returns the property for the given name, creating it if necessary.
|
Modifier and Type | Method and Description |
---|---|
private java.util.Map<JSType,java.lang.String> |
DisambiguateProperties.buildPropNames(DisambiguateProperties.Property prop)
Chooses a name to use for renaming in each equivalence class and maps
the representative type of that class to that name.
|
private JSType |
DisambiguateProperties.FindRenameableProperties.processProperty(NodeTraversal t,
DisambiguateProperties.Property prop,
JSType type,
JSType relatedType)
Processes a property, adding it to the list of properties to rename.
|
private void |
DisambiguateProperties.recordInterfaces(FunctionType constructor,
JSType relatedType,
DisambiguateProperties.Property p)
Records that this property could be referenced from any interface that
this type, or any type in its superclass chain, implements.
|