(e ast.Expr)
| 26 | } |
| 27 | |
| 28 | func ASTExpr(e ast.Expr) string { |
| 29 | d := &canon{ |
| 30 | shared: shared{formatter: formatter{tab: 2}}, |
| 31 | head: true, |
| 32 | first: true, |
| 33 | } |
| 34 | d.expr(e, "") |
| 35 | d.flush() |
| 36 | return d.String() |
| 37 | } |
| 38 | |
| 39 | type canon struct { |
| 40 | shared |
no test coverage detected