Help us shape the future of Go! Take the 2026 Go Developer Survey

nc

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrSkip is used to skip the node
	ErrSkip = errors.New("skip this node")
)

Functions

This section is empty.

Types

type NodeConverter

type NodeConverter interface {
	ConvDecl(file string, decl ast.Decl) (goName, goFile string, err error)
	ConvMacro(file string, macro *ast.Macro) (goName, goFile string, err error)
	ConvEnumItem(decl *ast.EnumTypeDecl, item *ast.EnumItem) (goName string, err error)
	ConvTagExpr(cname string) string
	Lookup(name string) (locFile string, ok bool)
	IsPublic(cname string) bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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