Documentation ¶ Index ¶ func Parse(w io.Writer, r io.Reader, filename, pkg string) error func ParseNoLineComments(w io.Writer, r io.Reader, filename, pkg string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Parse ¶ func Parse(w io.Writer, r io.Reader, filename, pkg string) error 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. func ParseNoLineComments ¶ added in v1.5.0 func ParseNoLineComments(w io.Writer, r io.Reader, filename, pkg string) error ParseNoLineComments is the same as Parse, but does not write line comments. Types ¶ This section is empty. Source Files ¶ View all Source files functype.go parser.go scanner.go util.go Click to show internal directories. Click to hide internal directories.