(elemType *ResultTypeExpr)
| 144 | } |
| 145 | |
| 146 | func collection(elemType *ResultTypeExpr) *ResultTypeExpr { |
| 147 | return &ResultTypeExpr{ |
| 148 | UserTypeExpr: &UserTypeExpr{ |
| 149 | AttributeExpr: &AttributeExpr{ |
| 150 | Type: &Array{ |
| 151 | ElemType: &AttributeExpr{Type: elemType}, |
| 152 | }, |
| 153 | }, |
| 154 | }, |
| 155 | Views: elemType.Views, |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | func resultRecursive(params ...any) *ResultTypeExpr { |
| 160 | rt := resultType(params...) |