(name string)
| 530 | } |
| 531 | |
| 532 | func (m *moduleDef) GetTypeDef(name string) *modTypeDef { |
| 533 | for _, t := range append(m.Objects, m.Interfaces...) { |
| 534 | if name == t.String() { |
| 535 | return t |
| 536 | } |
| 537 | } |
| 538 | return nil |
| 539 | } |
| 540 | |
| 541 | // GetInput retrieves a saved input type definition from the module. |
| 542 | func (m *moduleDef) GetInput(name string) *modInput { |