(nodes []*pg.Node)
| 74 | } |
| 75 | |
| 76 | func convertSlice(nodes []*pg.Node) *ast.List { |
| 77 | out := &ast.List{} |
| 78 | for _, n := range nodes { |
| 79 | out.Items = append(out.Items, convertNode(n)) |
| 80 | } |
| 81 | return out |
| 82 | } |
| 83 | |
| 84 | func convert(node *pg.Node) (ast.Node, error) { |
| 85 | return convertNode(node), nil |
no test coverage detected