@@ -5048,25 +5048,22 @@ namespace ts {
50485048 ContainsES2017 = 1 << 4 ,
50495049 ContainsES2016 = 1 << 5 ,
50505050 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 ,
50555054
50565055 // Markers
50575056 // - Flags used to indicate that a subtree contains a specific transformation.
5057+ ContainsTypeScriptClassSyntax = 1 << 10 , // Decorators, Property Initializers, Parameter Property Initializers
50585058 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 ,
50705067
50715068 // Please leave this as 1 << 29.
50725069 // 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 {
50825079 AssertES2017 = ContainsES2017 ,
50835080 AssertES2016 = ContainsES2016 ,
50845081 AssertES2015 = ContainsES2015 ,
5085- AssertGenerator = Generator | ContainsGenerator ,
5082+ AssertGenerator = ContainsGenerator ,
50865083 AssertDestructuringAssignment = DestructuringAssignment | ContainsDestructuringAssignment ,
50875084
50885085 // Scope Exclusions
50895086 // - Bitmasks that exclude flags from propagating out of a specific context
50905087 // 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 ,
50945091 ArrowFunctionExcludes = NodeExcludes | ContainsTypeScriptClassSyntax | ContainsBlockScopedBinding | ContainsYield | ContainsHoistedDeclarationOrCompletion | ContainsBindingPattern | ContainsObjectRestOrSpread ,
50955092 FunctionExcludes = NodeExcludes | ContainsTypeScriptClassSyntax | ContainsLexicalThis | ContainsBlockScopedBinding | ContainsYield | ContainsHoistedDeclarationOrCompletion | ContainsBindingPattern | ContainsObjectRestOrSpread ,
50965093 ConstructorExcludes = NodeExcludes | ContainsLexicalThis | ContainsBlockScopedBinding | ContainsYield | ContainsHoistedDeclarationOrCompletion | ContainsBindingPattern | ContainsObjectRestOrSpread ,
0 commit comments