(path, options, print)
| 273 | } |
| 274 | |
| 275 | function printClassMethod(path, options, print) { |
| 276 | const { node } = path; |
| 277 | const parts = []; |
| 278 | |
| 279 | if (isNonEmptyArray(node.decorators)) { |
| 280 | parts.push(printClassMemberDecorators(path, options, print)); |
| 281 | } |
| 282 | |
| 283 | parts.push(printTypeScriptAccessibilityToken(node)); |
| 284 | |
| 285 | if (node.static) { |
| 286 | parts.push("static "); |
| 287 | } |
| 288 | |
| 289 | parts.push(printAbstractToken(path)); |
| 290 | |
| 291 | if (node.override) { |
| 292 | parts.push("override "); |
| 293 | } |
| 294 | |
| 295 | parts.push(printMethod(path, options, print)); |
| 296 | |
| 297 | return parts; |
| 298 | } |
| 299 | |
| 300 | /* |
| 301 | - `ClassProperty` |
no test coverage detected
searching dependent graphs…