generator

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package generator makes code generation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

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

Generator code generator.

func New

func New(
	logger logger.Type,
	src *types.Named,
	typ *types.Named,
	hnd *types.Named,
	disp string,
	lenPrefix bool,
	r *renderer.Go,
	thands map[*types.Var]handlers.Type,
	ecnoderResultType *types.Tuple,
	missingWriteBuffer bool,
) *Generator

New construct new generator instance.

func (*Generator) Generate

func (g *Generator) Generate()

Generate perform code generation.

Jump to

Keyboard shortcuts

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