(isEmbeddedStatement)
| 112501 | writeTrailingSemicolon(); |
| 112502 | } |
| 112503 | function emitEmptyStatement(isEmbeddedStatement) { |
| 112504 | // While most trailing semicolons are possibly insignificant, an embedded "empty" |
| 112505 | // statement is significant and cannot be elided by a trailing-semicolon-omitting writer. |
| 112506 | if (isEmbeddedStatement) { |
| 112507 | writePunctuation(";"); |
| 112508 | } |
| 112509 | else { |
| 112510 | writeTrailingSemicolon(); |
| 112511 | } |
| 112512 | } |
| 112513 | function emitExpressionStatement(node) { |
| 112514 | emitExpression(node.expression, parenthesizer.parenthesizeExpressionOfExpressionStatement); |
| 112515 | // Emit semicolon in non json files |
no test coverage detected