Parse parses the contents of the supplied reader, writing generated code to the supplied writer. Uses filename as the source file for line comments, and pkg as the Go package name.
(w io.Writer, r io.Reader, filename, pkg string)
| 30 | // the supplied writer. Uses filename as the source file for line comments, and |
| 31 | // pkg as the Go package name. |
| 32 | func Parse(w io.Writer, r io.Reader, filename, pkg string) error { |
| 33 | return parse(w, r, filename, pkg, false) |
| 34 | } |
| 35 | |
| 36 | // ParseNoLineComments is the same as Parse, but does not write line comments. |
| 37 | func ParseNoLineComments(w io.Writer, r io.Reader, filename, pkg string) error { |
searching dependent graphs…