(ast: Unary)
| 76 | } |
| 77 | |
| 78 | visitUnary(ast: Unary): TcbExpr { |
| 79 | const expr = this.translate(ast.expr); |
| 80 | const node = new TcbExpr(`${ast.operator}${expr.print()}`); |
| 81 | return node.wrapForTypeChecker().addParseSpanInfo(ast.sourceSpan); |
| 82 | } |
| 83 | |
| 84 | visitBinary(ast: Binary): TcbExpr { |
| 85 | const lhs = this.translate(ast.left); |
nothing calls this directly
no test coverage detected