Files
moxa/stdlib/go1_15_go_doc.go
Ludovic Fernandez 8bb5daf60e feat: update stdlib mapping for go1.16
- drop stdlib for go1.14
- generate stdlib for go1.16
-  update CI configuration.
2021-02-17 10:02:03 +01:00

38 lines
1.2 KiB
Go

// Code generated by 'yaegi extract go/doc'. DO NOT EDIT.
// +build go1.15,!go1.16
package stdlib
import (
"go/doc"
"reflect"
)
func init() {
Symbols["go/doc"] = map[string]reflect.Value{
// function, constant and variable definitions
"AllDecls": reflect.ValueOf(doc.AllDecls),
"AllMethods": reflect.ValueOf(doc.AllMethods),
"Examples": reflect.ValueOf(doc.Examples),
"IllegalPrefixes": reflect.ValueOf(&doc.IllegalPrefixes).Elem(),
"IsPredeclared": reflect.ValueOf(doc.IsPredeclared),
"New": reflect.ValueOf(doc.New),
"NewFromFiles": reflect.ValueOf(doc.NewFromFiles),
"PreserveAST": reflect.ValueOf(doc.PreserveAST),
"Synopsis": reflect.ValueOf(doc.Synopsis),
"ToHTML": reflect.ValueOf(doc.ToHTML),
"ToText": reflect.ValueOf(doc.ToText),
// type definitions
"Example": reflect.ValueOf((*doc.Example)(nil)),
"Filter": reflect.ValueOf((*doc.Filter)(nil)),
"Func": reflect.ValueOf((*doc.Func)(nil)),
"Mode": reflect.ValueOf((*doc.Mode)(nil)),
"Note": reflect.ValueOf((*doc.Note)(nil)),
"Package": reflect.ValueOf((*doc.Package)(nil)),
"Type": reflect.ValueOf((*doc.Type)(nil)),
"Value": reflect.ValueOf((*doc.Value)(nil)),
}
}