Print returns a string representation of the Expr message, annotated with types from the CheckedExpr. The Expr must be a sub-expression embedded in the CheckedExpr.
(e ast.Expr, checked *ast.AST)
| 69 | // annotated with types from the CheckedExpr. The Expr must |
| 70 | // be a sub-expression embedded in the CheckedExpr. |
| 71 | func Print(e ast.Expr, checked *ast.AST) string { |
| 72 | a := &semanticAdorner{checked: checked} |
| 73 | return debug.ToAdornedDebugString(e, a) |
| 74 | } |