- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for MergePackageFiles (0.29 sec)
-
src/go/ast/filter_test.go
func f1() {} func f1() {} func f2() {} func (*t1) f1() {} func (t1) f1() {} func (t1) f2() {} func (t2) f1() {} func (t2) f2() {} func (x *t2) f2() {} ` // Calling ast.MergePackageFiles with ast.FilterFuncDuplicates // keeps a duplicate entry with attached documentation in favor // of one without, and it favors duplicate entries appearing // later in the source over ones appearing earlier. This is why
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 09 15:35:30 UTC 2022 - 1.6K bytes - Viewed (0) -
src/go/ast/filter.go
// different comment groups when they are concatenated into a single group var separator = &Comment{token.NoPos, "//"} // MergePackageFiles creates a file AST by merging the ASTs of the // files belonging to a package. The mode flags control merging behavior. func MergePackageFiles(pkg *Package, mode MergeMode) *File { // Count the number of package docs, comments and declarations across
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/doc/pkg.go
constructor[fun] = true } } } p := &Package{ writer: writer, name: pkg.Name, userPath: userPath, pkg: astPkg, file: ast.MergePackageFiles(astPkg, 0), doc: docPkg, typedValue: typedValue, constructor: constructor, build: pkg, fs: fset, } p.buf.pkg = p return p }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 08 20:15:52 UTC 2024 - 32K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"LabeledStmt.Stmt", Field, 0}, {"Lbl", Const, 0}, {"MapType", Type, 0}, {"MapType.Key", Field, 0}, {"MapType.Map", Field, 0}, {"MapType.Value", Field, 0}, {"MergeMode", Type, 0}, {"MergePackageFiles", Func, 0}, {"NewCommentMap", Func, 1}, {"NewIdent", Func, 0}, {"NewObj", Func, 0}, {"NewPackage", Func, 0}, {"NewScope", Func, 0}, {"Node", Type, 0}, {"NotNilFilter", Func, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.txt
pkg go/ast, func Fprint(io.Writer, *token.FileSet, interface{}, FieldFilter) error pkg go/ast, func Inspect(Node, func(Node) bool) pkg go/ast, func IsExported(string) bool pkg go/ast, func MergePackageFiles(*Package, MergeMode) *File pkg go/ast, func NewIdent(string) *Ident pkg go/ast, func NewObj(ObjKind, string) *Object pkg go/ast, func NewPackage(*token.FileSet, map[string]*File, Importer, *Scope) (*Package, error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)