(description descriptionWithComment)
| 392 | } |
| 393 | |
| 394 | func (p *parser) parseInputObjectTypeDefinition(description descriptionWithComment) *Definition { |
| 395 | _, comment := p.expectKeyword("input") |
| 396 | |
| 397 | var def Definition |
| 398 | def.Position = p.peekPos() |
| 399 | def.Kind = InputObject |
| 400 | def.BeforeDescriptionComment = description.comment |
| 401 | def.Description = description.text |
| 402 | def.AfterDescriptionComment = comment |
| 403 | def.Name = p.parseName() |
| 404 | def.Directives = p.parseDirectives(true) |
| 405 | def.Fields, def.EndOfDefinitionComment = p.parseInputFieldsDefinition() |
| 406 | return &def |
| 407 | } |
| 408 | |
| 409 | func (p *parser) parseInputFieldsDefinition() (FieldList, *CommentGroup) { |
| 410 | var values FieldList |
no test coverage detected