compiler

package
v0.0.0-...-ecb2b82 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compiler

type Compiler struct {
	// contains filtered or unexported fields
}

func New

func New(importPath []string, opts Options) *Compiler

New returns a new compiler.

func (*Compiler) Generate

func (s *Compiler) Generate(srcPath string, dstPath string) error

Generate generates code for the given source path.

type Options

type Options struct {
	SkipRPC bool // skips RPC generation
}

Directories

Path Synopsis
internal
parser
Code generated by goyacc -l -v grammar.out -o grammar.go grammar.y.
Code generated by goyacc -l -v grammar.out -o grammar.go grammar.y.

Jump to

Keyboard shortcuts

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