()
| 694 | } |
| 695 | |
| 696 | func (p *parser) parseFuncCode() error { |
| 697 | t, err := expectTagContents(p.s) |
| 698 | if err != nil { |
| 699 | return err |
| 700 | } |
| 701 | if err = validateFuncCode(t.Value); err != nil { |
| 702 | return fmt.Errorf("invalid code at %s: %s", p.s.Context(), err) |
| 703 | } |
| 704 | p.Printf("%s\n", t.Value) |
| 705 | return nil |
| 706 | } |
| 707 | |
| 708 | func (p *parser) parseOutputTag(tagNameStr string, prec int) error { |
| 709 | s := p.s |
no test coverage detected