runtime

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Method

type Method struct {
	Flags uint16
	Fn    func(args ...interface{}) []interface{}
}

type Rt

type Rt struct {
	MethodRef map[string]*Method
	Object    *entity.Class
}

func CreateRt

func CreateRt(out io.Writer, in io.Reader) *Rt

func (*Rt) CreateDummyMethod

func (r *Rt) CreateDummyMethod(className string, methodName string) *entity.Method

CreateDummyMethod deprecated to avoid memory leaking

func (*Rt) CreateFakeClass

func (r *Rt) CreateFakeClass(name string) *entity.Class

func (*Rt) LocateMethod

func (r *Rt) LocateMethod(class string, method string, desc string) *entity.Method

func (*Rt) RunMethod

func (r *Rt) RunMethod(name string, args ...interface{}) []interface{}

Jump to

Keyboard shortcuts

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