Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for FilterFuncDuplicates (1.21 sec)

  1. src/go/ast/filter_test.go

    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)
  2. src/go/ast/filter.go

    // Merging of package files
    
    // The MergeMode flags control the behavior of [MergePackageFiles].
    type MergeMode uint
    
    const (
    	// If set, duplicate function declarations are excluded.
    	FilterFuncDuplicates MergeMode = 1 << iota
    	// If set, comments that are not associated with a specific
    	// AST node (as Doc or Comment) are excluded.
    	FilterUnassociatedComments
    	// If set, duplicate import declarations are excluded.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"File.Scope", Field, 0},
    		{"File.Unresolved", Field, 0},
    		{"FileExports", Func, 0},
    		{"Filter", Type, 0},
    		{"FilterDecl", Func, 0},
    		{"FilterFile", Func, 0},
    		{"FilterFuncDuplicates", Const, 0},
    		{"FilterImportDuplicates", Const, 0},
    		{"FilterPackage", Func, 0},
    		{"FilterUnassociatedComments", Const, 0},
    		{"ForStmt", Type, 0},
    		{"ForStmt.Body", Field, 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)
  4. api/go1.txt

    pkg fmt, type Stringer interface { String }
    pkg fmt, type Stringer interface, String() string
    pkg go/ast, const Bad ObjKind
    pkg go/ast, const Con ObjKind
    pkg go/ast, const FilterFuncDuplicates MergeMode
    pkg go/ast, const FilterImportDuplicates MergeMode
    pkg go/ast, const FilterUnassociatedComments MergeMode
    pkg go/ast, const Fun ObjKind
    pkg go/ast, const Lbl ObjKind
    pkg go/ast, const Pkg ObjKind
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  5. api/go1.1.txt

    pkg flag, const ContinueOnError = 0
    pkg flag, const ExitOnError = 1
    pkg flag, const PanicOnError = 2
    pkg go/ast, const Bad = 0
    pkg go/ast, const Con = 2
    pkg go/ast, const FilterFuncDuplicates = 1
    pkg go/ast, const FilterImportDuplicates = 4
    pkg go/ast, const FilterUnassociatedComments = 2
    pkg go/ast, const Fun = 5
    pkg go/ast, const Lbl = 6
    pkg go/ast, const Pkg = 1
    pkg go/ast, const RECV = 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top