function

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 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)

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