(n *chast.CastExpr)
| 573 | } |
| 574 | |
| 575 | func (c *cc) convertCastExpr(n *chast.CastExpr) *ast.TypeCast { |
| 576 | tc := &ast.TypeCast{ |
| 577 | Arg: c.convertExpr(n.Expr), |
| 578 | Location: n.Pos().Offset, |
| 579 | } |
| 580 | |
| 581 | if n.Type != nil { |
| 582 | tc.TypeName = &ast.TypeName{ |
| 583 | Name: n.Type.Name, |
| 584 | } |
| 585 | } |
| 586 | |
| 587 | return tc |
| 588 | } |
| 589 | |
| 590 | func (c *cc) convertBetweenExpr(n *chast.BetweenExpr) *ast.BetweenExpr { |
| 591 | return &ast.BetweenExpr{ |
no test coverage detected