(id string, att *expr.AttributeExpr)
| 658 | } |
| 659 | |
| 660 | func newRT(id string, att *expr.AttributeExpr) *expr.AttributeExpr { |
| 661 | return &expr.AttributeExpr{ |
| 662 | Type: &expr.ResultTypeExpr{ |
| 663 | Identifier: id, |
| 664 | UserTypeExpr: &expr.UserTypeExpr{ |
| 665 | AttributeExpr: att, |
| 666 | }, |
| 667 | }, |
| 668 | } |
| 669 | } |
| 670 | |
| 671 | // Helper function for result types with views |
| 672 | func newRTWithView(id string, att *expr.AttributeExpr, view string) *expr.AttributeExpr { |
no outgoing calls
no test coverage detected