()
| 867 | } |
| 868 | |
| 869 | func (t *modTypeDef) AsFunctionProvider() functionProvider { |
| 870 | if t.AsList != nil { |
| 871 | t = t.AsList.ElementTypeDef |
| 872 | } |
| 873 | if t.AsObject != nil { |
| 874 | return t.AsObject |
| 875 | } |
| 876 | if t.AsInterface != nil { |
| 877 | return t.AsInterface |
| 878 | } |
| 879 | return nil |
| 880 | } |
| 881 | |
| 882 | // modObject is a representation of dagger.ObjectTypeDef. |
| 883 | type modObject struct { |
no outgoing calls
no test coverage detected