bfcodegen

package
v0.0.442 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCharsetIDSpecs added in v0.0.290

func GenerateCharsetIDSpecs(sourceDir string, destFile string, opt CSIDGenOptions) error

func GenerateEnumSpecs

func GenerateEnumSpecs(sourceDir string, destFile string, opt EnumGenOptions) error

func GenerateIDSpecs added in v0.0.261

func GenerateIDSpecs(sourceDir string, destFile string, opt IDGenOptions) error

Types

type CSIDDef added in v0.0.290

type CSIDDef struct {
	File         string
	FileRelative string
	Name         string
	Prefix       string
}

type CSIDGenOptions added in v0.0.402

type CSIDGenOptions struct {
	DebugOutput *bool
}

type EnumDef

type EnumDef struct {
	File         string
	FileRelative string
	EnumTypeName string
	Type         string
	Values       []EnumDefVal
}

type EnumDefVal

type EnumDefVal struct {
	VarName     string
	Value       string
	Description *string
	Data        *map[string]any
	RawComment  *string
}

type EnumGenOptions added in v0.0.402

type EnumGenOptions struct {
	DebugOutput *bool
	GoFormat    *bool
}

type IDDef added in v0.0.261

type IDDef struct {
	File         string
	FileRelative string
	Name         string
}

type IDGenOptions added in v0.0.402

type IDGenOptions struct {
	DebugOutput *bool
}

Jump to

Keyboard shortcuts

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