mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Update LKG
This commit is contained in:
+2
-7
@@ -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
@@ -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
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user