"syntax.StringLit->token.STRING") // must happen before renaming identifiers
renameIdents(f, "syntax->ast")
},
- "package.go": nil,
- "pointer.go": nil,
- "predicates.go": nil,
+ "package.go": nil,
+ "pointer.go": nil,
+ "predicates.go": nil,
+ "recording.go": func(f *ast.File) {
+ renameImportPath(f, `"cmd/compile/internal/syntax"->"go/ast"`)
+ renameSelectorExprs(f, "syntax.Name->ast.Ident") // must happen before renaming identifiers
+ renameIdents(f, "syntax->ast")
+ fixAtPosCall(f)
+ },
"scope.go": func(f *ast.File) { fixTokenPos(f); renameIdents(f, "InsertLazy->_InsertLazy") },
"selection.go": nil,
"sizes.go": func(f *ast.File) { renameIdents(f, "IsSyncAtomicAlign64->_IsSyncAtomicAlign64") },
+// Code generated by "go test -run=Generate -write=all"; DO NOT EDIT.
+// Source: ../../cmd/compile/internal/types2/recording.go
+
// Copyright 2024 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// This file implements recording of type information
-// in the types.Info maps.
+// in the types2.Info maps.
package types