Files
yaegi/stdlib/go1_22_text_tabwriter.go
ee5ed52051 feat: support go1.22
* 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]>
2024-03-05 17:56:04 +01:00

31 lines
938 B
Go

// Code generated by 'yaegi extract text/tabwriter'. DO NOT EDIT.
//go:build go1.22
// +build go1.22
package stdlib
import (
"go/constant"
"go/token"
"reflect"
"text/tabwriter"
)
func init() {
Symbols["text/tabwriter/tabwriter"] = map[string]reflect.Value{
// function, constant and variable definitions
"AlignRight": reflect.ValueOf(tabwriter.AlignRight),
"Debug": reflect.ValueOf(tabwriter.Debug),
"DiscardEmptyColumns": reflect.ValueOf(tabwriter.DiscardEmptyColumns),
"Escape": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)),
"FilterHTML": reflect.ValueOf(tabwriter.FilterHTML),
"NewWriter": reflect.ValueOf(tabwriter.NewWriter),
"StripEscape": reflect.ValueOf(tabwriter.StripEscape),
"TabIndent": reflect.ValueOf(tabwriter.TabIndent),
// type definitions
"Writer": reflect.ValueOf((*tabwriter.Writer)(nil)),
}
}