* feat: support go1.22 * Temporary fix for consistency tests due to language change in for loops * review: clean old files --------- Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
33 lines
1.1 KiB
Go
33 lines
1.1 KiB
Go
// Code generated by 'yaegi extract go/parser'. DO NOT EDIT.
|
|
|
|
//go:build go1.21 && !go1.22
|
|
// +build go1.21,!go1.22
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"go/parser"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["go/parser/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),
|
|
"SkipObjectResolution": reflect.ValueOf(parser.SkipObjectResolution),
|
|
"SpuriousErrors": reflect.ValueOf(parser.SpuriousErrors),
|
|
"Trace": reflect.ValueOf(parser.Trace),
|
|
|
|
// type definitions
|
|
"Mode": reflect.ValueOf((*parser.Mode)(nil)),
|
|
}
|
|
}
|