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 (Package) IsStdPackage ¶
Source Files ¶
- github_com-elgopher-pi-font.go
- github_com-elgopher-pi-image.go
- github_com-elgopher-pi-key.go
- github_com-elgopher-pi-snap.go
- github_com-elgopher-pi-state.go
- github_com-elgopher-pi.go
- go1_20_bytes.go
- go1_20_fmt.go
- go1_20_math.go
- go1_20_math_rand.go
- go1_20_os.go
- go1_20_sort.go
- go1_20_strconv.go
- go1_20_strings.go
- lib.go
- maptypes.go
- restricted.go
- yaegi.go
Click to show internal directories.
Click to hide internal directories.