cmd/goexports is now based on it. Updates #639 Co-authored-by: Marc Vertes <mvertes@free.fr>
27 lines
743 B
Go
27 lines
743 B
Go
// Code generated by 'github.com/containous/yaegi/extract go/printer'. DO NOT EDIT.
|
|
|
|
// +build go1.14,!go1.15
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"go/printer"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["go/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)),
|
|
}
|
|
}
|