vm

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StackItemType

type StackItemType byte
const (
	Any              StackItemType = 0x00 // Represents any type.
	Pointer          StackItemType = 0x10 // Represents a code pointer.
	Boolean          StackItemType = 0x20 // Represents the boolean type.
	Integer          StackItemType = 0x21 // Represents an integer.
	ByteString       StackItemType = 0x28 // Represents an immutable memory block.
	Buffer           StackItemType = 0x30 // Represents a memory block that can be used for reading and writing.
	Array            StackItemType = 0x40 // Represents an array of a complex object.
	Struct           StackItemType = 0x41 // Represents a structure.
	Map              StackItemType = 0x48 // Represents an ordered collection of key-value pairs.
	InteropInterface StackItemType = 0x60 // Represents an interface used to interoperate with the outside of the VM.
)

func NewStackItemTypeFromString

func NewStackItemTypeFromString(s string) (StackItemType, error)

func (StackItemType) String

func (sit StackItemType) String() string

Jump to

Keyboard shortcuts

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