generator

package
v0.0.0-...-278a4e6 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetcopyMethodMaker

func GetcopyMethodMaker(p *copyMethodMakerParam) (*copyMethodMaker, error)

func GetimportsList

func GetimportsList(p *importsListParam) (*importsList, error)

func GetobjectGenCtx

func GetobjectGenCtx(p *objectGenCtxParam) (*objectGenCtx, error)

Types

type Generator

type Generator struct {
	HeaderFile string `marker:",optional"`
	Year       string `marker:",optional"`
}

func (Generator) CheckFilter

func (Generator) CheckFilter() loader.NodeFilter

func (Generator) Generate

func (d Generator) Generate(ctx *genall.GenerationContext) error

func (Generator) RegisterMarkers

func (Generator) RegisterMarkers(into *markers.Registry) error

RegisterMarkers is called in main, register all markers

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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