@@ -1990,11 +1990,11 @@ export function isTemplateLiteral(node: Node): node is TemplateLiteral {
19901990 || kind === SyntaxKind . NoSubstitutionTemplateLiteral ;
19911991}
19921992
1993- export function isLeftHandSideExpression ( node : Node ) : node is LeftHandSideExpression {
1994- return isLeftHandSideExpressionKind ( skipPartiallyEmittedExpressions ( node ) . kind ) ;
1993+ export function isLeftHandSideExpression ( node : Node ) : node is LeftHandSideExpression {
1994+ return isLeftHandSideExpressionKind ( skipPartiallyEmittedExpressions ( node ) . kind ) ;
19951995}
19961996
1997- function isLeftHandSideExpressionKind ( kind : SyntaxKind ) : boolean {
1997+ function isLeftHandSideExpressionKind ( kind : SyntaxKind ) : boolean {
19981998 switch ( kind ) {
19991999 case SyntaxKind . PropertyAccessExpression :
20002000 case SyntaxKind . ElementAccessExpression :
@@ -2022,13 +2022,13 @@ function isLeftHandSideExpressionKind(kind: SyntaxKind): boolean {
20222022 case SyntaxKind . ThisKeyword :
20232023 case SyntaxKind . TrueKeyword :
20242024 case SyntaxKind . SuperKeyword :
2025- case SyntaxKind . NonNullExpression :
2026- case SyntaxKind . ExpressionWithTypeArguments :
2027- case SyntaxKind . MetaProperty :
2028- case SyntaxKind . ImportKeyword : // technically this is only an Expression if it's in a CallExpression
2029- case SyntaxKind . MissingDeclaration :
2030- case SyntaxKind . PartiallyEmittedExpression :
2031- case SyntaxKind . AwaitExpression :
2025+ case SyntaxKind . NonNullExpression :
2026+ case SyntaxKind . ExpressionWithTypeArguments :
2027+ case SyntaxKind . MetaProperty :
2028+ case SyntaxKind . ImportKeyword : // technically this is only an Expression if it's in a CallExpression
2029+ case SyntaxKind . MissingDeclaration :
2030+ case SyntaxKind . PartiallyEmittedExpression :
2031+ case SyntaxKind . AwaitExpression :
20322032 return true ;
20332033 default :
20342034 return false ;
0 commit comments