function

package
v1.0.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 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