Class InvalidatingTypes

java.lang.Object
com.google.javascript.jscomp.InvalidatingTypes

public final class InvalidatingTypes extends Object
Keeps track of "invalidating types" that force type-based optimizations to back off.

Specifically for InlineProperties, AmbiguateProperties, and DisambiguateProperties.

  • Method Details

    • isInvalidating

      public boolean isInvalidating(JSType type)
    • getMismatchLocations

      public com.google.common.collect.ImmutableSetMultimap<JSType,Node> getMismatchLocations()