console

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsoleModule

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

ConsoleModule provides console.log, console.error, etc.

func NewConsoleModule

func NewConsoleModule(output *strings.Builder) *ConsoleModule

NewConsoleModule creates a new console module

func (*ConsoleModule) GetOutput

func (c *ConsoleModule) GetOutput() string

GetOutput returns the captured console output

func (*ConsoleModule) Name

func (c *ConsoleModule) Name() string

Name returns the module name

func (*ConsoleModule) Setup

func (c *ConsoleModule) Setup(runtime *sobek.Runtime) error

Setup initializes the console module in the VM

Jump to

Keyboard shortcuts

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