Class ColorRegistry
java.lang.Object
com.google.javascript.jscomp.colors.ColorRegistry
Stores "out of band" information about the set of Colors in use by a compilation.
This includes any information that isn't specifically can't be set on a single Color object,
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ColorRegistry.Builderbuilder()final Colorfinal com.google.common.collect.ImmutableSet<Color> The colors directly above `x` in the subtyping graph for the purposes of property (dis)ambiguation.An index (mismatch sourceref string) => (involved color ids).
-
Field Details
-
REQUIRED_IDS
-
-
Method Details
-
get
-
getDisambiguationSupertypes
The colors directly above `x` in the subtyping graph for the purposes of property (dis)ambiguation. -
getMismatchLocationsForDebugging
public final com.google.common.collect.ImmutableSetMultimap<ColorId,String> getMismatchLocationsForDebugging()An index (mismatch sourceref string) => (involved color ids).This index is only intended for debugging. It may be empty or incomplete during production compilations.
-
builder
-