mirror of
https://github.com/hanzoai/yaegi.git
synced 2026-10-01 00:49:47 +00:00
* 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 <[email protected]>
28 lines
758 B
Go
28 lines
758 B
Go
// Code generated by 'yaegi extract go/printer'. DO NOT EDIT.
|
|
|
|
//go:build go1.21 && !go1.22
|
|
// +build go1.21,!go1.22
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"go/printer"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["go/printer/printer"] = map[string]reflect.Value{
|
|
// function, constant and variable definitions
|
|
"Fprint": reflect.ValueOf(printer.Fprint),
|
|
"RawFormat": reflect.ValueOf(printer.RawFormat),
|
|
"SourcePos": reflect.ValueOf(printer.SourcePos),
|
|
"TabIndent": reflect.ValueOf(printer.TabIndent),
|
|
"UseSpaces": reflect.ValueOf(printer.UseSpaces),
|
|
|
|
// type definitions
|
|
"CommentedNode": reflect.ValueOf((*printer.CommentedNode)(nil)),
|
|
"Config": reflect.ValueOf((*printer.Config)(nil)),
|
|
"Mode": reflect.ValueOf((*printer.Mode)(nil)),
|
|
}
|
|
}
|