Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FilterFile (0.1 sec)

  1. src/go/ast/filter.go

    // always removed. The [File.Comments] list is not changed.
    //
    // FilterFile reports whether there are any top-level declarations
    // left after filtering.
    func FilterFile(src *File, f Filter) bool {
    	return filterFile(src, f, false)
    }
    
    func filterFile(src *File, f Filter, export bool) bool {
    	j := 0
    	for _, d := range src.Decls {
    		if filterDecl(d, f, export) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top