generator

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DebugMode = false

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