(w io.Writer, r io.Reader, filename, pkg string, skipLineComments bool)
| 39 | } |
| 40 | |
| 41 | func parse(w io.Writer, r io.Reader, filename, pkg string, skipLineComments bool) error { |
| 42 | p := &parser{ |
| 43 | s: newScanner(r, filename), |
| 44 | w: w, |
| 45 | packageName: pkg, |
| 46 | skipLineComments: skipLineComments, |
| 47 | } |
| 48 | return p.parseTemplate() |
| 49 | } |
| 50 | |
| 51 | func (p *parser) parseTemplate() error { |
| 52 | s := p.s |
no test coverage detected
searching dependent graphs…