github.com/HaHadaxigua/yaegi@v1.0.1/stdlib/go1_17_text_tabwriter.go (about)

     1  // Code generated by 'yaegi extract text/tabwriter'. DO NOT EDIT.
     2  
     3  //go:build go1.17
     4  // +build go1.17
     5  
     6  package stdlib
     7  
     8  import (
     9  	"go/constant"
    10  	"go/token"
    11  	"reflect"
    12  	"text/tabwriter"
    13  )
    14  
    15  func init() {
    16  	Symbols["text/tabwriter/tabwriter"] = map[string]reflect.Value{
    17  		// function, constant and variable definitions
    18  		"AlignRight":          reflect.ValueOf(tabwriter.AlignRight),
    19  		"Debug":               reflect.ValueOf(tabwriter.Debug),
    20  		"DiscardEmptyColumns": reflect.ValueOf(tabwriter.DiscardEmptyColumns),
    21  		"Escape":              reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)),
    22  		"FilterHTML":          reflect.ValueOf(tabwriter.FilterHTML),
    23  		"NewWriter":           reflect.ValueOf(tabwriter.NewWriter),
    24  		"StripEscape":         reflect.ValueOf(tabwriter.StripEscape),
    25  		"TabIndent":           reflect.ValueOf(tabwriter.TabIndent),
    26  
    27  		// type definitions
    28  		"Writer": reflect.ValueOf((*tabwriter.Writer)(nil)),
    29  	}
    30  }