function

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Inject

func Inject(fns map[string]*Function) error

Types

type Function

type Function struct {
	Scope            context.Scope
	Call             func(ctx *context.Context, args ...value.Value) (value.Value, error)
	CanStatementCall bool
	IsIdentArgument  func(i int) bool
}

func Exists

func Exists(scope context.Scope, name string) (*Function, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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