builtins

package
v2.0.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package builtins defines the default set of builtin functions for Tamarin.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(ctx context.Context, args ...object.Object) object.Object

func Any

func Any(ctx context.Context, args ...object.Object) object.Object

func Assert

func Assert(ctx context.Context, args ...object.Object) object.Object

func BSlice

func BSlice(ctx context.Context, args ...object.Object) object.Object

func Bool

func Bool(ctx context.Context, args ...object.Object) object.Object

func Builtins

func Builtins() map[string]object.Object

func Call

func Call(ctx context.Context, args ...object.Object) object.Object

Call the given function with the provided arguments

func Chr

func Chr(ctx context.Context, args ...object.Object) object.Object

func CodeObj

func CodeObj(ctx context.Context, args ...object.Object) object.Object

func Decode

func Decode(ctx context.Context, args ...object.Object) object.Object

func Delete

func Delete(ctx context.Context, args ...object.Object) object.Object

func Encode

func Encode(ctx context.Context, args ...object.Object) object.Object

func Err

func Err(ctx context.Context, args ...object.Object) object.Object

func Error

func Error(ctx context.Context, args ...object.Object) object.Object

func Float

func Float(ctx context.Context, args ...object.Object) object.Object

func GetAttr

func GetAttr(ctx context.Context, args ...object.Object) object.Object

func Int

func Int(ctx context.Context, args ...object.Object) object.Object

func Iter

func Iter(ctx context.Context, args ...object.Object) object.Object

func Keys

func Keys(ctx context.Context, args ...object.Object) object.Object

func Len

func Len(ctx context.Context, args ...object.Object) object.Object

Len returns the length of a string, list, set, or map

func List

func List(ctx context.Context, args ...object.Object) object.Object

func Map

func Map(ctx context.Context, args ...object.Object) object.Object

func Ok

func Ok(ctx context.Context, args ...object.Object) object.Object

func Ord

func Ord(ctx context.Context, args ...object.Object) object.Object

func Reversed

func Reversed(ctx context.Context, args ...object.Object) object.Object

func Set

func Set(ctx context.Context, args ...object.Object) object.Object

func Sorted

func Sorted(ctx context.Context, args ...object.Object) object.Object

func Sprintf

func Sprintf(ctx context.Context, args ...object.Object) object.Object

func String

func String(ctx context.Context, args ...object.Object) object.Object

func Try

func Try(ctx context.Context, args ...object.Object) object.Object

func Type

func Type(ctx context.Context, args ...object.Object) object.Object

func Unwrap

func Unwrap(ctx context.Context, args ...object.Object) object.Object

func UnwrapOr

func UnwrapOr(ctx context.Context, args ...object.Object) object.Object

Types

This section is empty.

Jump to

Keyboard shortcuts

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