Skip to content

Commit

Permalink
Update LKG
Browse files Browse the repository at this point in the history
  • Loading branch information
typescript-bot committed Oct 31, 2023
1 parent 5823785 commit 88f80c7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 28 deletions.
9 changes: 2 additions & 7 deletions lib/tsc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down
9 changes: 2 additions & 7 deletions lib/tsserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down
9 changes: 2 additions & 7 deletions lib/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down
9 changes: 2 additions & 7 deletions lib/typingsInstaller.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 88f80c7

Please sign in to comment.