@@ -6576,7 +6576,7 @@ namespace ts {
65766576 if (!node) return false;
65776577 switch (node.kind) {
65786578 case SyntaxKind.Identifier:
6579- return (<Identifier>node).escapedText === "arguments" && isPartOfExpression (node);
6579+ return (<Identifier>node).escapedText === "arguments" && isExpressionNode (node);
65806580
65816581 case SyntaxKind.PropertyDeclaration:
65826582 case SyntaxKind.MethodDeclaration:
@@ -12522,7 +12522,7 @@ namespace ts {
1252212522 if (isRightSideOfQualifiedNameOrPropertyAccess(location)) {
1252312523 location = location.parent;
1252412524 }
12525- if (isPartOfExpression (location) && !isAssignmentTarget(location)) {
12525+ if (isExpressionNode (location) && !isAssignmentTarget(location)) {
1252612526 const type = getTypeOfExpression(<Expression>location);
1252712527 if (getExportSymbolOfValueSymbolIfExported(getNodeLinks(location).resolvedSymbol) === symbol) {
1252812528 return type;
@@ -15211,7 +15211,7 @@ namespace ts {
1521115211 // We might be in `a = { b: this.b }`, so keep looking. See `tests/cases/compiler/useBeforeDeclaration_propertyAssignment.ts`.
1521215212 return false;
1521315213 default:
15214- return isPartOfExpression (node) ? false : "quit";
15214+ return isExpressionNode (node) ? false : "quit";
1521515215 }
1521615216 });
1521715217 }
@@ -23482,7 +23482,7 @@ namespace ts {
2348223482 return typeParameter && typeParameter.symbol;
2348323483 }
2348423484
23485- if (isPartOfExpression (entityName)) {
23485+ if (isExpressionNode (entityName)) {
2348623486 if (nodeIsMissing(entityName)) {
2348723487 // Missing entity name.
2348823488 return undefined;
@@ -23656,7 +23656,7 @@ namespace ts {
2365623656 return typeFromTypeNode;
2365723657 }
2365823658
23659- if (isPartOfExpression (node)) {
23659+ if (isExpressionNode (node)) {
2366023660 return getRegularTypeOfExpression(<Expression>node);
2366123661 }
2366223662
0 commit comments