(s string)
| 726 | } |
| 727 | |
| 728 | func expr(s string) ast.Expr { |
| 729 | x, err := parser.ParseExpr(s) |
| 730 | if err != nil { |
| 731 | panic("parsing " + s + ": " + err.Error()) |
| 732 | } |
| 733 | // Remove position information to avoid spurious newlines. |
| 734 | killPos(reflect.ValueOf(x)) |
| 735 | return x |
| 736 | } |
| 737 | |
| 738 | var posType = reflect.TypeOf(token.Pos(0)) |
| 739 |
no test coverage detected