(n *chast.ArrayAccess)
| 665 | } |
| 666 | |
| 667 | func (c *cc) convertArrayAccess(n *chast.ArrayAccess) *ast.A_Indirection { |
| 668 | return &ast.A_Indirection{ |
| 669 | Arg: c.convertExpr(n.Array), |
| 670 | Indirection: &ast.List{ |
| 671 | Items: []ast.Node{ |
| 672 | &ast.A_Indices{ |
| 673 | Uidx: c.convertExpr(n.Index), |
| 674 | }, |
| 675 | }, |
| 676 | }, |
| 677 | } |
| 678 | } |
| 679 | |
| 680 | func (c *cc) convertUnaryExpr(n *chast.UnaryExpr) ast.Node { |
| 681 | op := strings.ToUpper(n.Op) |
no test coverage detected