github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_debug_gosym.go (about)

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