@@ -5048,25 +5048,22 @@ namespace ts {
5048
5048
ContainsES2017 = 1 << 4 ,
5049
5049
ContainsES2016 = 1 << 5 ,
5050
5050
ContainsES2015 = 1 << 6 ,
5051
- Generator = 1 << 7 ,
5052
- ContainsGenerator = 1 << 8 ,
5053
- DestructuringAssignment = 1 << 9 ,
5054
- ContainsDestructuringAssignment = 1 << 10 ,
5051
+ ContainsGenerator = 1 << 7 ,
5052
+ DestructuringAssignment = 1 << 8 ,
5053
+ ContainsDestructuringAssignment = 1 << 9 ,
5055
5054
5056
5055
// Markers
5057
5056
// - Flags used to indicate that a subtree contains a specific transformation.
5057
+ ContainsTypeScriptClassSyntax = 1 << 10 , // Decorators, Property Initializers, Parameter Property Initializers
5058
5058
ContainsLexicalThis = 1 << 11 ,
5059
- ContainsTypeScriptClassSyntax = 1 << 12 , // Decorators, Property Initializers, Parameter Property Initializers
5060
- ContainsRestOrSpread = 1 << 13 ,
5061
- ContainsObjectRestOrSpread = 1 << 14 ,
5062
- ContainsComputedPropertyName = 1 << 15 ,
5063
- ContainsBlockScopedBinding = 1 << 16 ,
5064
- ContainsBindingPattern = 1 << 17 ,
5065
- ContainsYield = 1 << 18 ,
5066
- ContainsHoistedDeclarationOrCompletion = 1 << 19 ,
5067
- ContainsDynamicImport = 1 << 20 ,
5068
- Super = 1 << 21 ,
5069
- ContainsSuper = 1 << 22 ,
5059
+ ContainsRestOrSpread = 1 << 12 ,
5060
+ ContainsObjectRestOrSpread = 1 << 13 ,
5061
+ ContainsComputedPropertyName = 1 << 14 ,
5062
+ ContainsBlockScopedBinding = 1 << 15 ,
5063
+ ContainsBindingPattern = 1 << 16 ,
5064
+ ContainsYield = 1 << 17 ,
5065
+ ContainsHoistedDeclarationOrCompletion = 1 << 18 ,
5066
+ ContainsDynamicImport = 1 << 19 ,
5070
5067
5071
5068
// Please leave this as 1 << 29.
5072
5069
// It is the maximum bit we can set before we outgrow the size of a v8 small integer (SMI) on an x86 system.
@@ -5082,15 +5079,15 @@ namespace ts {
5082
5079
AssertES2017 = ContainsES2017 ,
5083
5080
AssertES2016 = ContainsES2016 ,
5084
5081
AssertES2015 = ContainsES2015 ,
5085
- AssertGenerator = Generator | ContainsGenerator ,
5082
+ AssertGenerator = ContainsGenerator ,
5086
5083
AssertDestructuringAssignment = DestructuringAssignment | ContainsDestructuringAssignment ,
5087
5084
5088
5085
// Scope Exclusions
5089
5086
// - Bitmasks that exclude flags from propagating out of a specific context
5090
5087
// into the subtree flags of their container.
5091
- OuterExpressionExcludes = DestructuringAssignment | Generator | HasComputedFlags ,
5092
- PropertyAccessExcludes = OuterExpressionExcludes | Super ,
5093
- NodeExcludes = PropertyAccessExcludes | ContainsSuper ,
5088
+ OuterExpressionExcludes = DestructuringAssignment | HasComputedFlags ,
5089
+ PropertyAccessExcludes = OuterExpressionExcludes ,
5090
+ NodeExcludes = PropertyAccessExcludes ,
5094
5091
ArrowFunctionExcludes = NodeExcludes | ContainsTypeScriptClassSyntax | ContainsBlockScopedBinding | ContainsYield | ContainsHoistedDeclarationOrCompletion | ContainsBindingPattern | ContainsObjectRestOrSpread ,
5095
5092
FunctionExcludes = NodeExcludes | ContainsTypeScriptClassSyntax | ContainsLexicalThis | ContainsBlockScopedBinding | ContainsYield | ContainsHoistedDeclarationOrCompletion | ContainsBindingPattern | ContainsObjectRestOrSpread ,
5096
5093
ConstructorExcludes = NodeExcludes | ContainsLexicalThis | ContainsBlockScopedBinding | ContainsYield | ContainsHoistedDeclarationOrCompletion | ContainsBindingPattern | ContainsObjectRestOrSpread ,
0 commit comments