(node)
| 112511 | } |
| 112512 | } |
| 112513 | function emitExpressionStatement(node) { |
| 112514 | emitExpression(node.expression, parenthesizer.parenthesizeExpressionOfExpressionStatement); |
| 112515 | // Emit semicolon in non json files |
| 112516 | // or if json file that created synthesized expression(eg.define expression statement when --out and amd code generation) |
| 112517 | if (!currentSourceFile || !ts.isJsonSourceFile(currentSourceFile) || ts.nodeIsSynthesized(node.expression)) { |
| 112518 | writeTrailingSemicolon(); |
| 112519 | } |
| 112520 | } |
| 112521 | function emitIfStatement(node) { |
| 112522 | var openParenPos = emitTokenWithComment(99 /* SyntaxKind.IfKeyword */, node.pos, writeKeyword, node); |
| 112523 | writeSpace(); |
no test coverage detected