(s string)
| 740 | } |
| 741 | |
| 742 | func expr(s string) ast.Expr { |
| 743 | x, err := parser.ParseExpr(s) |
| 744 | if err != nil { |
| 745 | panic("parsing " + s + ": " + err.Error()) |
| 746 | } |
| 747 | // Remove position information to avoid spurious newlines. |
| 748 | killPos(reflect.ValueOf(x)) |
| 749 | return x |
| 750 | } |
| 751 | |
| 752 | var posType = reflect.TypeOf(token.Pos(0)) |
| 753 |
no test coverage detected
searching dependent graphs…