Documentation ¶
Index ¶
Constants ¶
View Source
const ( Public accessFlags = 0x0001 Static = 0x0008 Final = 0x0010 Super = 0x0020 Native = 0x0100 Interface = 0x0200 Abstract = 0x0400 Synthetic = 0x1000 Annotation = 0x2000 Enum = 0x4000 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Class ¶
type Class struct { MinorVersion uint16 MajorVersion uint16 ConstantPoolItems []ConstantPoolItem AccessFlags accessFlags // contains filtered or unexported fields }
type Code ¶
type Code struct { Instructions []byte ExceptionHandlers []ExceptionHandler // contains filtered or unexported fields }
type ConstantPoolItem ¶
type ConstantPoolItem interface { String() string // contains filtered or unexported methods }
type ExceptionHandler ¶
type Frame ¶
type Frame struct { PreviousFrame *Frame Class *Class Method *Method PC *ProgramCounter Variables []javaValue Root bool // contains filtered or unexported fields }
type Method ¶
type ProgramCounter ¶
type ProgramCounter struct { RawByteCodes []byte RawByteCodeIndex int OpCodeIndex int OpCodes []OpCode }
func (*ProgramCounter) CurrentByteCodeIndex ¶
func (pc *ProgramCounter) CurrentByteCodeIndex() int
func (*ProgramCounter) DebugOut ¶
func (pc *ProgramCounter) DebugOut()
func (*ProgramCounter) OpCode ¶
func (pc *ProgramCounter) OpCode() OpCode
type VM ¶
type VM struct {
// contains filtered or unexported fields
}
func (*VM) ActiveFrame ¶
func (*VM) ActiveMethod ¶
func (*VM) AddDirectory ¶
func (*VM) LoadedClasses ¶
type WideConstantPart2 ¶
type WideConstantPart2 struct { }
func (WideConstantPart2) String ¶
func (l WideConstantPart2) String() string
Click to show internal directories.
Click to hide internal directories.