feat: update stdlib mapping for go1.15

- drop stdlib for go1.13
- generate stdlib for go1.15
-  update CI configuration.
This commit is contained in:
Ludovic Fernandez
2020-08-12 12:38:04 +02:00
committed by GitHub
parent cdc352cee2
commit 1fe75f149d
191 changed files with 5382 additions and 5635 deletions

View File

@@ -0,0 +1,30 @@
// Code generated by 'github.com/containous/yaegi/extract go/parser'. DO NOT EDIT.
// +build go1.15,!go1.16
package stdlib
import (
"go/parser"
"reflect"
)
func init() {
Symbols["go/parser"] = map[string]reflect.Value{
// function, constant and variable definitions
"AllErrors": reflect.ValueOf(parser.AllErrors),
"DeclarationErrors": reflect.ValueOf(parser.DeclarationErrors),
"ImportsOnly": reflect.ValueOf(parser.ImportsOnly),
"PackageClauseOnly": reflect.ValueOf(parser.PackageClauseOnly),
"ParseComments": reflect.ValueOf(parser.ParseComments),
"ParseDir": reflect.ValueOf(parser.ParseDir),
"ParseExpr": reflect.ValueOf(parser.ParseExpr),
"ParseExprFrom": reflect.ValueOf(parser.ParseExprFrom),
"ParseFile": reflect.ValueOf(parser.ParseFile),
"SpuriousErrors": reflect.ValueOf(parser.SpuriousErrors),
"Trace": reflect.ValueOf(parser.Trace),
// type definitions
"Mode": reflect.ValueOf((*parser.Mode)(nil)),
}
}