* @param {CommentContext} context * @returns {boolean}
(context)
| 66 | * @returns {boolean} |
| 67 | */ |
| 68 | function handleOwnLineComment(context) { |
| 69 | return [ |
| 70 | handleCommentInEmptyParens, |
| 71 | handleIgnoreComments, |
| 72 | handleConditionalExpressionComments, |
| 73 | handleLastFunctionParameterComments, |
| 74 | handleMemberExpressionComments, |
| 75 | handleIfStatementComments, |
| 76 | handleWhileLikeComments, |
| 77 | handleTryStatementComments, |
| 78 | handleClassComments, |
| 79 | handleForXStatementComments, |
| 80 | handleUnionTypeComments, |
| 81 | handleMatchOrPatternComments, |
| 82 | handleOnlyComments, |
| 83 | handleModuleSpecifiersComments, |
| 84 | handleAssignmentPatternComments, |
| 85 | handleMethodNameComments, |
| 86 | handleLabeledStatementComments, |
| 87 | handleNestedConditionalExpressionComments, |
| 88 | handleCommentsInDestructuringPattern, |
| 89 | handleTSMappedTypeComments, |
| 90 | handleBinaryCastExpressionComment, |
| 91 | handleUnionTypeLeadingComments, |
| 92 | ].some((fn) => fn(context)); |
| 93 | } |
| 94 | |
| 95 | /** |
| 96 | * @param {CommentContext} context |
no test coverage detected
searching dependent graphs…