github.com/traefik/yaegi@v0.15.1/stdlib/go1_19_debug_gosym.go (about)

     1  // Code generated by 'yaegi extract debug/gosym'. DO NOT EDIT.
     2  
     3  //go:build go1.19 && !go1.20
     4  // +build go1.19,!go1.20
     5  
     6  package stdlib
     7  
     8  import (
     9  	"debug/gosym"
    10  	"reflect"
    11  )
    12  
    13  func init() {
    14  	Symbols["debug/gosym/gosym"] = map[string]reflect.Value{
    15  		// function, constant and variable definitions
    16  		"NewLineTable": reflect.ValueOf(gosym.NewLineTable),
    17  		"NewTable":     reflect.ValueOf(gosym.NewTable),
    18  
    19  		// type definitions
    20  		"DecodingError":    reflect.ValueOf((*gosym.DecodingError)(nil)),
    21  		"Func":             reflect.ValueOf((*gosym.Func)(nil)),
    22  		"LineTable":        reflect.ValueOf((*gosym.LineTable)(nil)),
    23  		"Obj":              reflect.ValueOf((*gosym.Obj)(nil)),
    24  		"Sym":              reflect.ValueOf((*gosym.Sym)(nil)),
    25  		"Table":            reflect.ValueOf((*gosym.Table)(nil)),
    26  		"UnknownFileError": reflect.ValueOf((*gosym.UnknownFileError)(nil)),
    27  		"UnknownLineError": reflect.ValueOf((*gosym.UnknownLineError)(nil)),
    28  	}
    29  }