(node, condition, questionToken, whenTrue, colonToken, whenFalse)
| 24509 | } |
| 24510 | // @api |
| 24511 | function updateConditionalExpression(node, condition, questionToken, whenTrue, colonToken, whenFalse) { |
| 24512 | return node.condition !== condition |
| 24513 | || node.questionToken !== questionToken |
| 24514 | || node.whenTrue !== whenTrue |
| 24515 | || node.colonToken !== colonToken |
| 24516 | || node.whenFalse !== whenFalse |
| 24517 | ? update(createConditionalExpression(condition, questionToken, whenTrue, colonToken, whenFalse), node) |
| 24518 | : node; |
| 24519 | } |
| 24520 | // @api |
| 24521 | function createTemplateExpression(head, templateSpans) { |
| 24522 | var node = createBaseExpression(223 /* SyntaxKind.TemplateExpression */); |
nothing calls this directly
no test coverage detected