(
node: ts.Node,
children: ts.JsxChild[],
output: JSXOutputState,
transformContext: ts.TransformationContext,
)
| 274 | } |
| 275 | |
| 276 | private outputJSXChildren( |
| 277 | node: ts.Node, |
| 278 | children: ts.JsxChild[], |
| 279 | output: JSXOutputState, |
| 280 | transformContext: ts.TransformationContext, |
| 281 | ): ts.Statement[] { |
| 282 | const processedStatements: ts.JsxChild[] = []; |
| 283 | const statements: ts.Statement[] = []; |
| 284 | |
| 285 | for (const child of children) { |
| 286 | if (this.isJsxText(child)) { |
| 287 | continue; |
| 288 | } |
| 289 | |
| 290 | processedStatements.push(child); |
| 291 | |
| 292 | const resultNode = this.transformNode(child, output, transformContext); |
| 293 | statements.push(this.toStatement(resultNode, transformContext)); |
| 294 | } |
| 295 | |
| 296 | return this.flattenBlocks(node, processedStatements, statements); |
| 297 | } |
| 298 | |
| 299 | private createRendererCallExpr( |
| 300 | functionName: string, |
no test coverage detected