functions

package
v0.0.0-...-ed06964 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Function

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

func (Function) Invoke

func (f Function) Invoke(args ...types.TypedValue) (types.TypedValue, error)

type Invoker

type Invoker func(args ...types.TypedValue) string

type Registry

type Registry interface {
	Add(string, Invoker, []types.Type)
	Get(string) (Function, error)
}

func DefaultRegistry

func DefaultRegistry() Registry

Jump to

Keyboard shortcuts

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