- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for fileExports (0.1 sec)
-
src/go/doc/exports.go
// thus, removing these methods early will not lead // to the false removal of possible conflicts return token.IsExported(d.Name.Name) } return false } // fileExports removes unexported declarations from src in place. func (r *reader) fileExports(src *ast.File) { j := 0 for _, d := range src.Decls { if r.filterDecl(d) { src.Decls[j] = d j++ } } src.Decls = src.Decls[0:j]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 01 18:18:07 UTC 2022 - 8.5K bytes - Viewed (0)