Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BytecodeExecutor ¶
type BytecodeExecutor struct {
// contains filtered or unexported fields
}
BytecodeExecutor is responsible for execute the bytecode.
func (*BytecodeExecutor) Next ¶
func (bce *BytecodeExecutor) Next() (code int, err error)
Next returns the next bytecode.
func (*BytecodeExecutor) Run ¶
func (bce *BytecodeExecutor) Run(cp *cp.CP, vars *vars.Vars, st *stack.Stack, stdin instructions.StdinInterface, stdout instructions.StdoutInterface) error
Run receives the context (constant pool, vars, stack, stdin and stdout) and runs the bytecode.
Click to show internal directories.
Click to hide internal directories.