parser

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2021 License: MIT Imports: 14 Imported by: 2

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL