modelbindings

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: 0BSD Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Bindings = evmbind.Static{Fingerprint: "fec5cd3e896c41d3cdd73b0fc5d0b04394dceed783ee37d7dfa4f1bccec6e71e",
	Types: map[string]reflect.Type{
		"NamedMatrixType": reflect.TypeFor[api.NamedMatrixType](),
		"NamedRowsType":   reflect.TypeFor[api.NamedRowsType](),
		"github.com/andreyvit/evm/evmbind/internal/modeldata.Generic[github.com/andreyvit/evm/evmbind/internal/modeldata.BoundModel]": reflect.TypeFor[dep0.Generic[dep0.BoundModel]](),
		"github.com/andreyvit/evm/evmbind/internal/modeldata.Generic[string]":                                                         reflect.TypeFor[dep0.Generic[string]](),
		"github.com/andreyvit/evm/evmbind/internal/modeldata.Generic[time.Duration]":                                                  reflect.TypeFor[dep0.Generic[dep1.Duration]](),
		"modeldata.Alternate":  reflect.TypeFor[dep0.Alternate](),
		"modeldata.BoundModel": reflect.TypeFor[dep0.BoundModel](),
	},
	Calls: map[string]evmbind.Wrapper{
		"AliasRows": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				AliasRows(*evm.VM, []*dep0.BoundModel, []*dep0.BoundModel) []*dep0.BoundModel
			}).AliasRows(f.VM, readCollection8(f, f.CallArgument(0)), readCollection8(f, f.CallArgument(1)))
			f.SetCallResult(0, writeCollection8(f, r0))
		},
		"AnyRows": func(f *evmbind.Frame) {
			r0 := f.Host.(interface{ AnyRows(*evm.VM) any }).AnyRows(f.VM)
			f.SetCallResult(0, writeScalarAny(f, r0))
		},
		"Copy": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				Copy(*evm.VM, dep0.BoundModel) dep0.BoundModel
			}).Copy(f.VM, readImported26(f, f.CallArgument(0)))
			f.SetCallResult(0, writeImported26(f, r0))
		},
		"DirectVisit": func(f *evmbind.Frame) {
			f.Host.(interface {
				DirectVisit(*evm.VM, []*dep0.BoundModel, *evm.Callable)
			}).DirectVisit(f.VM, readCollection8(f, f.CallArgument(0)), readFunction0(f, f.CallArgument(1)))
		},
		"Echo": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				Echo(*evm.VM, *dep0.BoundModel) *dep0.BoundModel
			}).Echo(f.VM, readPtrImported5(f, f.CallArgument(0)))
			f.SetCallResult(0, writePtrImported5(f, r0))
		},
		"EchoAny": func(f *evmbind.Frame) {
			r0 := f.Host.(interface{ EchoAny(*evm.VM, any) any }).EchoAny(f.VM, readScalarAny(f, f.CallArgument(0)))
			f.SetCallResult(0, writeScalarAny(f, r0))
		},
		"EchoMatrix": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				EchoMatrix(*evm.VM, [][]*dep0.BoundModel) [][]*dep0.BoundModel
			}).EchoMatrix(f.VM, readCollection9(f, f.CallArgument(0)))
			f.SetCallResult(0, writeCollection9(f, r0))
		},
		"EchoRows": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				EchoRows(*evm.VM, []*dep0.BoundModel) []*dep0.BoundModel
			}).EchoRows(f.VM, readCollection8(f, f.CallArgument(0)))
			f.SetCallResult(0, writeCollection8(f, r0))
		},
		"EchoValues": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				EchoValues(*evm.VM, []dep0.BoundModel) []dep0.BoundModel
			}).EchoValues(f.VM, readCollection11(f, f.CallArgument(0)))
			f.SetCallResult(0, writeCollection11(f, r0))
		},
		"GenericCopy": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				GenericCopy(*evm.VM, dep0.Generic[string]) dep0.Generic[string]
			}).GenericCopy(f.VM, readImported20(f, f.CallArgument(0)))
			f.SetCallResult(0, writeImported20(f, r0))
		},
		"GenericDuration": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				GenericDuration(*evm.VM) *dep0.Generic[dep1.Duration]
			}).GenericDuration(f.VM)
			f.SetCallResult(0, writeImported3(f, r0))
		},
		"GenericEcho": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				GenericEcho(*evm.VM, *dep0.Generic[string]) *dep0.Generic[string]
			}).GenericEcho(f.VM, readImported2(f, f.CallArgument(0)))
			f.SetCallResult(0, writeImported2(f, r0))
		},
		"GenericGet": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				GenericGet(*evm.VM) *dep0.Generic[string]
			}).GenericGet(f.VM)
			f.SetCallResult(0, writeImported2(f, r0))
		},
		"GenericNamed": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				GenericNamed(*evm.VM) *dep0.Generic[dep0.BoundModel]
			}).GenericNamed(f.VM)
			f.SetCallResult(0, writeImported1(f, r0))
		},
		"Get": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				Get(*evm.VM) *dep0.BoundModel
			}).Get(f.VM)
			f.SetCallResult(0, writePtrImported5(f, r0))
		},
		"Groups": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				Groups(*evm.VM) map[string][]*dep0.BoundModel
			}).Groups(f.VM)
			f.SetCallResult(0, writeCollection23(f, r0))
		},
		"Hidden": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				Hidden(*evm.VM, dep0.BoundModel) int
			}).Hidden(f.VM, readImported26(f, f.CallArgument(0)))
			f.SetCallResult(0, writeScalarInt(f, r0))
		},
		"IsRows": func(f *evmbind.Frame) {
			r0 := f.Host.(interface{ IsRows(*evm.VM, any) bool }).IsRows(f.VM, readScalarAny(f, f.CallArgument(0)))
			f.SetCallResult(0, writeScalarBool(f, r0))
		},
		"Matrix": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				Matrix(*evm.VM) [][]*dep0.BoundModel
			}).Matrix(f.VM)
			f.SetCallResult(0, writeCollection9(f, r0))
		},
		"Mutate": func(f *evmbind.Frame) {
			f.Host.(interface {
				Mutate(*evm.VM, *dep0.BoundModel)
			}).Mutate(f.VM, readPtrImported5(f, f.CallArgument(0)))
		},
		"NamedEcho": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				NamedEcho(*evm.VM, api.NamedRowsType) api.NamedRowsType
			}).NamedEcho(f.VM, readTypeNamedRowsType(f, f.CallArgument(0)))
			f.SetCallResult(0, writeTypeNamedRowsType(f, r0))
		},
		"NamedIs": func(f *evmbind.Frame) {
			r0 := f.Host.(interface{ NamedIs(*evm.VM, any) bool }).NamedIs(f.VM, readScalarAny(f, f.CallArgument(0)))
			f.SetCallResult(0, writeScalarBool(f, r0))
		},
		"NamedMatrix": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				NamedMatrix(*evm.VM) api.NamedMatrixType
			}).NamedMatrix(f.VM)
			f.SetCallResult(0, writeTypeNamedMatrixType(f, r0))
		},
		"NamedMatrixEcho": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				NamedMatrixEcho(*evm.VM, api.NamedMatrixType) api.NamedMatrixType
			}).NamedMatrixEcho(f.VM, readTypeNamedMatrixType(f, f.CallArgument(0)))
			f.SetCallResult(0, writeTypeNamedMatrixType(f, r0))
		},
		"NamedProduce": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				NamedProduce(*evm.VM, func() api.NamedRowsType) api.NamedRowsType
			}).NamedProduce(f.VM, f.DecodeNativeCallback("func() NamedRowsType", f.CallArgument(0)).(func() api.NamedRowsType))
			f.SetCallResult(0, writeTypeNamedRowsType(f, r0))
		},
		"NamedRows": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				NamedRows(*evm.VM) api.NamedRowsType
			}).NamedRows(f.VM)
			f.SetCallResult(0, writeTypeNamedRowsType(f, r0))
		},
		"NilRows": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				NilRows(*evm.VM) []*dep0.BoundModel
			}).NilRows(f.VM)
			f.SetCallResult(0, writeCollection8(f, r0))
		},
		"Other": func(f *evmbind.Frame) {
			r0 := f.Host.(interface{ Other(*evm.VM) *dep0.Alternate }).Other(f.VM)
			f.SetCallResult(0, writePtrImported4(f, r0))
		},
		"Pair": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				Pair(*evm.VM, *dep0.BoundModel, *dep0.BoundModel) bool
			}).Pair(f.VM, readPtrImported5(f, f.CallArgument(0)), readPtrImported5(f, f.CallArgument(1)))
			f.SetCallResult(0, writeScalarBool(f, r0))
		},
		"PanicRows": func(f *evmbind.Frame) {
			f.Host.(interface {
				PanicRows(*evm.VM, []*dep0.BoundModel)
			}).PanicRows(f.VM, readCollection8(f, f.CallArgument(0)))
		},
		"ProduceRows": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				ProduceRows(*evm.VM, func() []*dep0.BoundModel) []*dep0.BoundModel
			}).ProduceRows(f.VM, f.DecodeNativeCallback("func() []*modeldata.BoundModel", f.CallArgument(0)).(func() []*dep0.BoundModel))
			f.SetCallResult(0, writeCollection8(f, r0))
		},
		"Rows": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				Rows(*evm.VM) []*dep0.BoundModel
			}).Rows(f.VM)
			f.SetCallResult(0, writeCollection8(f, r0))
		},
		"Same": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				Same(*evm.VM, *dep0.BoundModel) bool
			}).Same(f.VM, readPtrImported5(f, f.CallArgument(0)))
			f.SetCallResult(0, writeScalarBool(f, r0))
		},
		"SwapRows": func(f *evmbind.Frame) {
			f.Host.(interface {
				SwapRows(*evm.VM, []*dep0.BoundModel)
			}).SwapRows(f.VM, readCollection8(f, f.CallArgument(0)))
		},
		"TailRows": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				TailRows(*evm.VM, []*dep0.BoundModel) []*dep0.BoundModel
			}).TailRows(f.VM, readCollection8(f, f.CallArgument(0)))
			f.SetCallResult(0, writeCollection8(f, r0))
		},
		"VisitRows": func(f *evmbind.Frame) {
			f.Host.(interface {
				VisitRows(*evm.VM, []*dep0.BoundModel, func())
			}).VisitRows(f.VM, readCollection8(f, f.CallArgument(0)), readcallback(f, f.CallArgument(1)))
		},
		"WithRows": func(f *evmbind.Frame) {
			f.Host.(interface {
				WithRows(*evm.VM, []*dep0.BoundModel, func([]*dep0.BoundModel) []*dep0.BoundModel)
			}).WithRows(f.VM, readCollection8(f, f.CallArgument(0)), f.DecodeNativeCallback("func([]*modeldata.BoundModel) []*modeldata.BoundModel", f.CallArgument(1)).(func([]*dep0.BoundModel) []*dep0.BoundModel))
		},
		"WithValue": func(f *evmbind.Frame) {
			r0 := f.Host.(interface {
				WithValue(*evm.VM, dep0.BoundModel, func(dep0.BoundModel) dep0.BoundModel) dep0.BoundModel
			}).WithValue(f.VM, readImported26(f, f.CallArgument(0)), f.DecodeNativeCallback("func(modeldata.BoundModel) modeldata.BoundModel", f.CallArgument(1)).(func(dep0.BoundModel) dep0.BoundModel))
			f.SetCallResult(0, writeImported26(f, r0))
		},
	}}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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