lib

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2023 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package lib provides symbols to be used by Yaegi interpreter.

Index

Constants

This section is empty.

Variables

View Source
var MapTypes = map[reflect.Value][]reflect.Type{}

MapTypes variable contains a map of functions which have an interface{} as parameter but do something special if the parameter implements a given interface.

View Source
var Symbols = map[string]map[string]reflect.Value{}

Symbols variable stores the map of stdlib symbols per package.

Functions

This section is empty.

Types

type Package

type Package struct {
	Path  string // for example: github.com/elgopher/pi
	Alias string // for example: pi
}

func AllPackages

func AllPackages() []Package

func (Package) IsPiPackage

func (p Package) IsPiPackage() bool

func (Package) IsStdPackage

func (p Package) IsStdPackage() bool

Jump to

Keyboard shortcuts

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