rtda

package
v0.0.0-...-eae4ae3 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Frame

type Frame struct {
	// contains filtered or unexported fields
}

func NewFrame

func NewFrame(maxLocals, maxStack uint) *Frame

func (*Frame) LocalVars

func (self *Frame) LocalVars() LocalVars

func (*Frame) OperandStack

func (self *Frame) OperandStack() *OperandStack

type LocalVars

type LocalVars []Slot

func (LocalVars) GetDouble

func (self LocalVars) GetDouble(index uint) float64

func (LocalVars) GetFloat

func (self LocalVars) GetFloat(index uint) float32

func (LocalVars) GetInt

func (self LocalVars) GetInt(index uint) int32

func (LocalVars) GetLong

func (self LocalVars) GetLong(index uint) int64

func (LocalVars) GetRef

func (self LocalVars) GetRef(index uint) *Object

func (LocalVars) SetDouble

func (self LocalVars) SetDouble(index uint, val float64)

func (LocalVars) SetFloat

func (self LocalVars) SetFloat(index uint, val float32)

func (LocalVars) SetInt

func (self LocalVars) SetInt(index uint, val int32)

func (LocalVars) SetLong

func (self LocalVars) SetLong(index uint, val int64)

func (LocalVars) SetRef

func (self LocalVars) SetRef(index uint, ref *Object)

type Object

type Object struct {
}

type OperandStack

type OperandStack struct {
	// contains filtered or unexported fields
}

func (*OperandStack) PopDouble

func (self *OperandStack) PopDouble() float64

func (*OperandStack) PopFloat

func (self *OperandStack) PopFloat() float32

func (*OperandStack) PopInt

func (self *OperandStack) PopInt() int32

func (*OperandStack) PopLong

func (self *OperandStack) PopLong() int64

func (*OperandStack) PopRef

func (self *OperandStack) PopRef() *Object

func (*OperandStack) PushDouble

func (self *OperandStack) PushDouble(val float64)

func (*OperandStack) PushFloat

func (self *OperandStack) PushFloat(val float32)

func (*OperandStack) PushInt

func (self *OperandStack) PushInt(val int32)

func (*OperandStack) PushLong

func (self *OperandStack) PushLong(val int64)

func (*OperandStack) PushRef

func (self *OperandStack) PushRef(ref *Object)

type Slot

type Slot struct {
	// contains filtered or unexported fields
}

type Stack

type Stack struct {
	// contains filtered or unexported fields
}

type Thread

type Thread struct {
	// contains filtered or unexported fields
}

func NewThread

func NewThread() *Thread

func (*Thread) CurrentFrame

func (self *Thread) CurrentFrame() *Frame

func (*Thread) PC

func (self *Thread) PC() int

func (*Thread) PopFrame

func (self *Thread) PopFrame() *Frame

func (*Thread) PushFrame

func (self *Thread) PushFrame(frame *Frame)

func (*Thread) SetPC

func (self *Thread) SetPC(pc int)

Jump to

Keyboard shortcuts

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