method

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: 0 Imported by: 0

Documentation

Index

Constants

View Source
const MethodType_ExternalPrivate uint8 = 0x05

Method type external public: external (use with vm.DefineFunc() ) and private accessible class method

View Source
const MethodType_ExternalProtected uint8 = 0x06

Method type external public: external (use with vm.DefineFunc() ) and protected accessible class method

View Source
const MethodType_ExternalPublic uint8 = 0x04

Method type external public: external (use with vm.DefineFunc() ) and public accessible class method

View Source
const MethodType_Private uint8 = 0x02

Method type private: private accessible class method

View Source
const MethodType_Protected uint8 = 0x03

Method type protected: protected accessible class method

View Source
const MethodType_Public uint8 = 0x01

Method type public: publically accessible class method

Variables

This section is empty.

Functions

This section is empty.

Types

type ClassMethod

type ClassMethod struct {
	MethodName               [80]byte // Class method name (max 80 symbols)
	MethodType               uint8    // Method type public, private, protected, external
	InstructionSetStartIndex int64    // Index of first InstructionSet block
	InstructionSetEndIndex   int64    // Index of last InstructionSet block
}

Header struct for classMethod declaration in Weblang bytecode file

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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