runtime

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

This is core package for Weblang language. It's implements runtime environment.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebCall

type WebCall struct {
	CallerObj    *base.Object           // Caller object pointer
	ReceiverObj  *base.Object           // Receiver object pointer
	ReceiverFunc *base.Function         // Receiver's function pointer
	Args         map[string]interface{} //Arguments to send to receiver's FunctionHandler
}

WebCall struct for communication between diffrent WebLang VM runtime objects. Use to call receiver's function and send arguments to receiver's FunctionHandler

func (*WebCall) Call

func (wcall *WebCall) Call() error

Invoke receiver's FunctionHandler and send arguments

Jump to

Keyboard shortcuts

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