- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Decls (0.3 sec)
-
src/cmd/cgo/ast.go
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Oct 14 15:47:06 UTC 2024 - 14.3K bytes - Viewed (0) -
lib/fips140/v1.0.0.zip
cmap[ast.Node(f)] = nil // Remove top-level consts used across the main and generated files. var newDecls []ast.Decl for _, decl := range f.Decls { switch d := decl.(type) { case *ast.GenDecl: if d.Tok == token.CONST { continue // Skip const declarations } if d.Tok == token.IMPORT { cmap[decl] = nil // Drop pre-import comments. } } newDecls = append(newDecls, decl) } f.Decls = newDecls // Replace identifiers. ast.Inspect(f, func(n ast.Node) bool { switch x := n.(type) { case *ast.Ident: if replacement, ok...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0) -
api/go1.txt
pkg go/ast, type FieldList struct, List []*Field pkg go/ast, type FieldList struct, Opening token.Pos pkg go/ast, type File struct pkg go/ast, type File struct, Comments []*CommentGroup pkg go/ast, type File struct, Decls []Decl pkg go/ast, type File struct, Doc *CommentGroup pkg go/ast, type File struct, Imports []*ImportSpec pkg go/ast, type File struct, Name *Ident pkg go/ast, type File struct, Package token.Pos
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)