Class ColorPool
java.lang.Object
com.google.javascript.jscomp.serialization.ColorPool
A set of
Colors reconstructed from possibly many TypePool protos.
Protos representing the same Color are reconciled while the pool is built. Reconciliation ensures that, within a pool, each ColorId corresponds to at most one Color.
It's possible for two Color objects with the same ID to have different definitions between different ColorPools, but mixing multiple ColorPools is likely a design error.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classCollectsTypePools and other data intoColorPool.ShardViews and then reconciles them into a singleColorPool.static final classA view of the pool based on one of the input shards. -
Method Summary
-
Method Details
-
getColor
-
getRegistry
-
builder
-