File tree 4 files changed +8
-28
lines changed
4 files changed +8
-28
lines changed Original file line number Diff line number Diff line change @@ -30689,7 +30689,8 @@ var Parser;
30689
30689
parseExpected(21 /* OpenParenToken */);
30690
30690
let initializer;
30691
30691
if (token() !== 27 /* SemicolonToken */) {
30692
- if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLineDisallowOf)) {
30692
+ if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || // this one is meant to allow of
30693
+ token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine)) {
30693
30694
initializer = parseVariableDeclarationList(
30694
30695
/*inForStatementInitializer*/
30695
30696
true
@@ -31010,12 +31011,6 @@ var Parser;
31010
31011
function isUsingDeclaration() {
31011
31012
return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine);
31012
31013
}
31013
- function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLineDisallowOf() {
31014
- return nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(
31015
- /*disallowOf*/
31016
- true
31017
- );
31018
- }
31019
31014
function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(disallowOf) {
31020
31015
if (nextToken() === 160 /* UsingKeyword */) {
31021
31016
return nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine(disallowOf);
Original file line number Diff line number Diff line change @@ -35093,7 +35093,8 @@ var Parser;
35093
35093
parseExpected(21 /* OpenParenToken */);
35094
35094
let initializer;
35095
35095
if (token() !== 27 /* SemicolonToken */) {
35096
- if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLineDisallowOf)) {
35096
+ if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || // this one is meant to allow of
35097
+ token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine)) {
35097
35098
initializer = parseVariableDeclarationList(
35098
35099
/*inForStatementInitializer*/
35099
35100
true
@@ -35414,12 +35415,6 @@ var Parser;
35414
35415
function isUsingDeclaration() {
35415
35416
return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine);
35416
35417
}
35417
- function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLineDisallowOf() {
35418
- return nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(
35419
- /*disallowOf*/
35420
- true
35421
- );
35422
- }
35423
35418
function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(disallowOf) {
35424
35419
if (nextToken() === 160 /* UsingKeyword */) {
35425
35420
return nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine(disallowOf);
Original file line number Diff line number Diff line change @@ -33165,7 +33165,8 @@ ${lanes.join("\n")}
33165
33165
parseExpected(21 /* OpenParenToken */);
33166
33166
let initializer;
33167
33167
if (token() !== 27 /* SemicolonToken */) {
33168
- if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLineDisallowOf)) {
33168
+ if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || // this one is meant to allow of
33169
+ token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine)) {
33169
33170
initializer = parseVariableDeclarationList(
33170
33171
/*inForStatementInitializer*/
33171
33172
true
@@ -33486,12 +33487,6 @@ ${lanes.join("\n")}
33486
33487
function isUsingDeclaration() {
33487
33488
return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine);
33488
33489
}
33489
- function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLineDisallowOf() {
33490
- return nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(
33491
- /*disallowOf*/
33492
- true
33493
- );
33494
- }
33495
33490
function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(disallowOf) {
33496
33491
if (nextToken() === 160 /* UsingKeyword */) {
33497
33492
return nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine(disallowOf);
Original file line number Diff line number Diff line change @@ -22502,7 +22502,8 @@ var Parser;
22502
22502
parseExpected(21 /* OpenParenToken */);
22503
22503
let initializer;
22504
22504
if (token() !== 27 /* SemicolonToken */) {
22505
- if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLineDisallowOf)) {
22505
+ if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || // this one is meant to allow of
22506
+ token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine)) {
22506
22507
initializer = parseVariableDeclarationList(
22507
22508
/*inForStatementInitializer*/
22508
22509
true
@@ -22823,12 +22824,6 @@ var Parser;
22823
22824
function isUsingDeclaration() {
22824
22825
return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine);
22825
22826
}
22826
- function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLineDisallowOf() {
22827
- return nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(
22828
- /*disallowOf*/
22829
- true
22830
- );
22831
- }
22832
22827
function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(disallowOf) {
22833
22828
if (nextToken() === 160 /* UsingKeyword */) {
22834
22829
return nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine(disallowOf);
You can’t perform that action at this time.
0 commit comments