internal

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunSourceWithPrinter

func RunSourceWithPrinter(absPath, source string, p IPrinter) bool

RunSourceWithPrinter runs source code on a fresh interpreter instance

Types

type IPrinter

type IPrinter interface {
	Println(a ...interface{}) (n int, err error)
	Fprintf(w io.Writer, format string, a ...interface{}) (n int, err error)
	Fprintln(w io.Writer, a ...interface{}) (n int, err error)
}

IPrinter printer interface

type R

type R interface{}

R generic type

type Representable

type Representable interface {
	Repr() string
}

Representable object that can be represented as a string

Jump to

Keyboard shortcuts

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