(node)
| 93143 | return !ts.nodeIsMissing(node.body); |
| 93144 | } |
| 93145 | function visitPropertyDeclaration(node) { |
| 93146 | if (node.flags & 16777216 /* NodeFlags.Ambient */ || ts.hasSyntacticModifier(node, 128 /* ModifierFlags.Abstract */)) { |
| 93147 | return undefined; |
| 93148 | } |
| 93149 | var updated = factory.updatePropertyDeclaration(node, |
| 93150 | /*decorators*/ undefined, ts.visitNodes(node.modifiers, visitor, ts.isModifier), visitPropertyNameOfClassElement(node), |
| 93151 | /*questionOrExclamationToken*/ undefined, |
| 93152 | /*type*/ undefined, ts.visitNode(node.initializer, visitor)); |
| 93153 | if (updated !== node) { |
| 93154 | // While we emit the source map for the node after skipping decorators and modifiers, |
| 93155 | // we need to emit the comments for the original range. |
| 93156 | ts.setCommentRange(updated, node); |
| 93157 | ts.setSourceMapRange(updated, ts.moveRangePastDecorators(node)); |
| 93158 | } |
| 93159 | return updated; |
| 93160 | } |
| 93161 | function visitConstructor(node) { |
| 93162 | if (!shouldEmitFunctionLikeDeclaration(node)) { |
| 93163 | return undefined; |
no test coverage detected
searching dependent graphs…