Documentation ¶
Index ¶
Constants ¶
View Source
const ( KeyArray = "array" KeyBaseType = "basetype" KeyCore = "core" KeyEvent = "event" KeyEvents = "events" KeyExist = "exist" KeyFunc = "func" KeyFuncs = "funcs" KeyInit = "init" KeyMandatory = "mandatory" KeyMap = "map" KeyMut = "mut" KeyParam = "param" KeyParams = "params" KeyProxy = "proxy" KeyPtrs = "ptrs" KeyResult = "result" KeyResults = "results" KeyState = "state" KeyStruct = "struct" KeyStructs = "structs" KeyThis = "this" KeyTrue = "true" KeyTypeDef = "typedef" KeyTypeDefs = "typedefs" KeyView = "view" )
Variables ¶
This section is empty.
Functions ¶
func FindModulePath ¶
func FindModulePath() error
Types ¶
type GenBase ¶ added in v0.2.2
type GenBase struct {
// contains filtered or unexported fields
}
type GoGenerator ¶ added in v0.2.2
type GoGenerator struct {
GenBase
}
func NewGoGenerator ¶ added in v0.2.2
func NewGoGenerator(s *model.Schema) *GoGenerator
func (*GoGenerator) Build ¶ added in v1.0.3
func (g *GoGenerator) Build() error
func (*GoGenerator) Cleanup ¶ added in v1.0.3
func (g *GoGenerator) Cleanup()
func (*GoGenerator) GenerateImplementation ¶ added in v1.0.3
func (g *GoGenerator) GenerateImplementation() error
func (*GoGenerator) GenerateInterface ¶ added in v1.0.3
func (g *GoGenerator) GenerateInterface() error
func (*GoGenerator) GenerateWasmStub ¶ added in v1.0.3
func (g *GoGenerator) GenerateWasmStub() error
type IGenerator ¶ added in v1.0.3
type RustGenerator ¶ added in v0.2.2
type RustGenerator struct {
GenBase
}
func NewRustGenerator ¶ added in v0.2.2
func NewRustGenerator(s *model.Schema) *RustGenerator
func (*RustGenerator) Build ¶ added in v1.0.3
func (g *RustGenerator) Build() error
func (*RustGenerator) Cleanup ¶ added in v1.0.3
func (g *RustGenerator) Cleanup()
func (*RustGenerator) GenerateImplementation ¶ added in v1.0.3
func (g *RustGenerator) GenerateImplementation() error
func (*RustGenerator) GenerateInterface ¶ added in v1.0.3
func (g *RustGenerator) GenerateInterface() error
func (*RustGenerator) GenerateWasmStub ¶ added in v1.0.3
func (g *RustGenerator) GenerateWasmStub() error
type TypeScriptGenerator ¶ added in v0.2.2
type TypeScriptGenerator struct {
GenBase
}
func NewTypeScriptGenerator ¶ added in v0.2.2
func NewTypeScriptGenerator(s *model.Schema, rootFolder string) *TypeScriptGenerator
func (*TypeScriptGenerator) Build ¶ added in v1.0.3
func (g *TypeScriptGenerator) Build() error
func (*TypeScriptGenerator) Cleanup ¶ added in v1.0.3
func (g *TypeScriptGenerator) Cleanup()
func (*TypeScriptGenerator) GenerateImplementation ¶ added in v1.0.3
func (g *TypeScriptGenerator) GenerateImplementation() error
func (*TypeScriptGenerator) GenerateInterface ¶ added in v1.0.3
func (g *TypeScriptGenerator) GenerateInterface() error
func (*TypeScriptGenerator) GenerateWasmStub ¶ added in v1.0.3
func (g *TypeScriptGenerator) GenerateWasmStub() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.