Package com.google.javascript.jscomp
Class InvalidatingTypes
- java.lang.Object
-
- com.google.javascript.jscomp.InvalidatingTypes
-
public final class InvalidatingTypes extends java.lang.Object
Keeps track of "invalidating types" that force type-based optimizations to back off, specifically forInlineProperties
,AmbiguateProperties
, andDisambiguateProperties
. Note that disambiguation has slightly different behavior from the other two, as pointed out in implementation comments.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InvalidatingTypes.Builder
Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isInvalidating(JSType type)
-
-
-
Method Detail
-
isInvalidating
public boolean isInvalidating(JSType type)
-
-