()
| 101 | } |
| 102 | |
| 103 | toClassDeclaration() { |
| 104 | return { |
| 105 | type: 'ClassDeclaration', |
| 106 | superClass: this.superClass, |
| 107 | id: { |
| 108 | type: 'Identifier', |
| 109 | name: this.name, |
| 110 | }, |
| 111 | body: { |
| 112 | type: 'ClassBody', |
| 113 | body: this.createMethods() |
| 114 | }, |
| 115 | comments: extractComments(this.commentNodes), |
| 116 | }; |
| 117 | } |
| 118 | |
| 119 | createMethods() { |
| 120 | return compact([ |
no test coverage detected