github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/cmd/compile/internal/noder/noder.go (about) 1 // Copyright 2016 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package noder 6 7 import ( 8 "github.com/shogo82148/std/cmd/compile/internal/syntax" 9 "github.com/shogo82148/std/cmd/compile/internal/types" 10 ) 11 12 func LoadPackage(filenames []string) 13 14 // WasmImport stores metadata associated with the //go:wasmimport pragma 15 type WasmImport struct { 16 Pos syntax.Pos 17 Module string 18 Name string 19 } 20 21 func Renameinit() *types.Sym