archive

package
v0.0.0-...-9853328 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableYockComment

func EnableYockComment()

func Export

func Export(path string)

func ExportGoFile

func ExportGoFile()

func ExportJSONDoc

func ExportJSONDoc()

func Get

func Get(ident string) string

func GetWithReg

func GetWithReg(ident string) string

func LoadDir

func LoadDir(libn, dir string)

func LoadFile

func LoadFile(libn, path string)

func PrintGo

func PrintGo(name string)

func PrintLua

func PrintLua(name string)

func Put

func Put(lib, name, ident string)

func SetInfo

func SetInfo(a, l string)

Types

type File

type File struct {
	// contains filtered or unexported fields
}

type Function

type Function struct {
	Name     string
	Params   []Type
	Results  []Type
	Comments []string
}

func (*Function) GoString

func (fn *Function) GoString() string

func (*Function) LuaString

func (fn *Function) LuaString() string

type Lib

type Lib struct {
	// contains filtered or unexported fields
}

func (*Lib) GoString

func (lib *Lib) GoString() string

func (*Lib) LuaString

func (lib *Lib) LuaString() string

type Struct

type Struct struct {
	Name     string
	Methods  map[string]*Function
	Fields   []Type
	Comments []string
}

func (*Struct) LuaString

func (stu *Struct) LuaString() string

type Type

type Type struct {
	Name     string
	Ident    string
	Comments []string
}

type TypeArchive

type TypeArchive struct {
	// contains filtered or unexported fields
}

type TypeRecord

type TypeRecord struct {
	// contains filtered or unexported fields
}

func GetRecord

func GetRecord(ident string) *TypeRecord

func GetRecordWithReg

func GetRecordWithReg(ident string) *TypeRecord

Jump to

Keyboard shortcuts

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