structgen

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StructGenerator

type StructGenerator struct {
	Header string

	StaticFunctions []datatype.FunctionType
	UserDataMethods []datatype.FunctionType
	Fields          []structfield.StructField
	// contains filtered or unexported fields
}

func NewStructGenerator

func NewStructGenerator(structToGenerate, wd, pathToOutput string, dependantModules []string) *StructGenerator

func (*StructGenerator) GenerateInterfaceDeclarations

func (g *StructGenerator) GenerateInterfaceDeclarations() string

func (*StructGenerator) GenerateSourceCode

func (g *StructGenerator) GenerateSourceCode() ([]byte, []byte, error)

func (*StructGenerator) SourceUserDataAccess

func (g *StructGenerator) SourceUserDataAccess() string

func (*StructGenerator) SourceUserDataSet

func (g *StructGenerator) SourceUserDataSet() string

func (*StructGenerator) StructMetatableFieldsIdentifier

func (g *StructGenerator) StructMetatableFieldsIdentifier() string

func (*StructGenerator) StructMetatableIdentifier

func (g *StructGenerator) StructMetatableIdentifier() string

func (*StructGenerator) StructToGenerate

func (g *StructGenerator) StructToGenerate() string

func (*StructGenerator) UserDataCheckFn

func (g *StructGenerator) UserDataCheckFn() string

Jump to

Keyboard shortcuts

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