|
1 | 1 | "use strict"; |
2 | | -/* eslint-disable no-unused-vars */ |
3 | 2 |
|
4 | 3 | const _ = require("lodash"); |
5 | | -const { ifBreak, line, softline, hardline } = require("prettier").doc.builders; |
| 4 | +const { ifBreak, line, softline } = require("prettier").doc.builders; |
6 | 5 | const { concat, group, indent } = require("./prettier-builder"); |
7 | 6 | const { printTokenWithComments } = require("./comments"); |
8 | 7 | const { |
@@ -583,27 +582,27 @@ class ExpressionsPrettierVisitor { |
583 | 582 | return rejectAndConcat([ctx.ColonColon[0], typeArguments, identifierOrNew]); |
584 | 583 | } |
585 | 584 |
|
586 | | - identifyNewExpressionType(ctx) { |
| 585 | + identifyNewExpressionType() { |
587 | 586 | return "identifyNewExpressionType"; |
588 | 587 | } |
589 | 588 |
|
590 | | - isLambdaExpression(ctx) { |
| 589 | + isLambdaExpression() { |
591 | 590 | return "isLambdaExpression"; |
592 | 591 | } |
593 | 592 |
|
594 | | - isCastExpression(ctx) { |
| 593 | + isCastExpression() { |
595 | 594 | return "isCastExpression"; |
596 | 595 | } |
597 | 596 |
|
598 | | - isPrimitiveCastExpression(ctx) { |
| 597 | + isPrimitiveCastExpression() { |
599 | 598 | return "isPrimitiveCastExpression"; |
600 | 599 | } |
601 | 600 |
|
602 | | - isReferenceTypeCastExpression(ctx) { |
| 601 | + isReferenceTypeCastExpression() { |
603 | 602 | return "isReferenceTypeCastExpression"; |
604 | 603 | } |
605 | 604 |
|
606 | | - isRefTypeInMethodRef(ctx) { |
| 605 | + isRefTypeInMethodRef() { |
607 | 606 | return "isRefTypeInMethodRef"; |
608 | 607 | } |
609 | 608 | } |
|
0 commit comments