()
| 112 | } |
| 113 | |
| 114 | func (p *parser) parseDescription() descriptionWithComment { |
| 115 | token := p.peek() |
| 116 | |
| 117 | var desc descriptionWithComment |
| 118 | if token.Kind != lexer.BlockString && token.Kind != lexer.String { |
| 119 | return desc |
| 120 | } |
| 121 | |
| 122 | desc.comment = p.comment |
| 123 | desc.text = p.next().Value |
| 124 | return desc |
| 125 | } |
| 126 | |
| 127 | func (p *parser) parseTypeSystemDefinition(description descriptionWithComment) *Definition { |
| 128 | tok := p.peek() |
no test coverage detected