core

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2025 License: MIT Imports: 5 Imported by: 5

Documentation

Index

Constants

View Source
const (
	Kind_Func   = info.Kind_Func
	Kind_Var    = info.Kind_Var
	Kind_VarPtr = info.Kind_VarPtr
	Kind_Const  = info.Kind_Const
)
View Source
const NUMBER = 377
View Source
const REVISION = "2d734d2e2c0d29c25babfac2ee6b6473f9f068bf+1"
View Source
const VERSION = "1.1.0"

these fields are automatically copied from when running `go run ./script/generate runtime/core/version.go`

View Source
const XGO_CHECK_TOOLCHAIN_VERSION = "XGO_CHECK_TOOLCHAIN_VERSION"
View Source
const XGO_NUMBER = 0
View Source
const XGO_REVISION = ""
View Source
const XGO_VERSION = ""

these fields will be filled by compiler when xgo builds with xgo/runtime see CORE_VERSION in cmd/xgo/version.go

Variables

This section is empty.

Functions

func ParseFuncName added in v1.0.8

func ParseFuncName(fullName string) (pkgPath string, recvName string, recvPtr bool, typeGeneric string, funcGeneric string, funcName string)

a/b/c.A a/b/c.(*C).X a/b/c.C.Y a/b/c.Z a/b/c.Z[].X a/b/c.X[]

parse process:

funcGeneric
funcName
recvType
recvGeneric
pkgPath

Types

type Field

type Field interface {
	Name() string
	Value() interface{}
	Ptr() interface{}
	Set(val interface{})
}

type FuncInfo

type FuncInfo = info.Func

type Kind added in v1.0.19

type Kind = info.Kind

type Object

type Object interface {
	GetField(name string) Field
	GetFieldIndex(i int) Field
	NumField() int
}

type ObjectWithErr added in v1.0.3

type ObjectWithErr interface {
	Object

	GetErr() Field
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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