Update LKG

This commit is contained in:
TypeScript Bot
2023-10-31 22:43:20 +00:00
parent 58237857d1
commit 88f80c75e1
4 changed files with 8 additions and 28 deletions
+2 -7
View File
@@ -30689,7 +30689,8 @@ var Parser;
parseExpected(21 /* OpenParenToken */);
let initializer;
if (token() !== 27 /* SemicolonToken */) {
if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLineDisallowOf)) {
if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || // this one is meant to allow of
token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine)) {
initializer = parseVariableDeclarationList(
/*inForStatementInitializer*/
true
@@ -31010,12 +31011,6 @@ var Parser;
function isUsingDeclaration() {
return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine);
}
function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLineDisallowOf() {
return nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(
/*disallowOf*/
true
);
}
function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(disallowOf) {
if (nextToken() === 160 /* UsingKeyword */) {
return nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine(disallowOf);
+2 -7
View File
@@ -35093,7 +35093,8 @@ var Parser;
parseExpected(21 /* OpenParenToken */);
let initializer;
if (token() !== 27 /* SemicolonToken */) {
if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLineDisallowOf)) {
if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || // this one is meant to allow of
token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine)) {
initializer = parseVariableDeclarationList(
/*inForStatementInitializer*/
true
@@ -35414,12 +35415,6 @@ var Parser;
function isUsingDeclaration() {
return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine);
}
function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLineDisallowOf() {
return nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(
/*disallowOf*/
true
);
}
function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(disallowOf) {
if (nextToken() === 160 /* UsingKeyword */) {
return nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine(disallowOf);
+2 -7
View File
@@ -33165,7 +33165,8 @@ ${lanes.join("\n")}
parseExpected(21 /* OpenParenToken */);
let initializer;
if (token() !== 27 /* SemicolonToken */) {
if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLineDisallowOf)) {
if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || // this one is meant to allow of
token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine)) {
initializer = parseVariableDeclarationList(
/*inForStatementInitializer*/
true
@@ -33486,12 +33487,6 @@ ${lanes.join("\n")}
function isUsingDeclaration() {
return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine);
}
function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLineDisallowOf() {
return nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(
/*disallowOf*/
true
);
}
function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(disallowOf) {
if (nextToken() === 160 /* UsingKeyword */) {
return nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine(disallowOf);
+2 -7
View File
@@ -22502,7 +22502,8 @@ var Parser;
parseExpected(21 /* OpenParenToken */);
let initializer;
if (token() !== 27 /* SemicolonToken */) {
if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLineDisallowOf)) {
if (token() === 115 /* VarKeyword */ || token() === 121 /* LetKeyword */ || token() === 87 /* ConstKeyword */ || token() === 160 /* UsingKeyword */ && lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLineDisallowOf) || // this one is meant to allow of
token() === 135 /* AwaitKeyword */ && lookAhead(nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine)) {
initializer = parseVariableDeclarationList(
/*inForStatementInitializer*/
true
@@ -22823,12 +22824,6 @@ var Parser;
function isUsingDeclaration() {
return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine);
}
function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLineDisallowOf() {
return nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(
/*disallowOf*/
true
);
}
function nextTokenIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine(disallowOf) {
if (nextToken() === 160 /* UsingKeyword */) {
return nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine(disallowOf);