Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PreserveAST (0.14 sec)

  1. src/go/doc/reader.go

    			}
    		}
    		// If there is exactly one result type,
    		// associate the function with that type.
    		if numResultTypes == 1 {
    			typ.funcs.set(fun, r.mode&PreserveAST != 0)
    			return
    		}
    	}
    
    	// just an ordinary function
    	r.funcs.set(fun, r.mode&PreserveAST != 0)
    }
    
    // lookupTypeParam searches for type parameters named name within the tparams
    // field list, returning the relevant identifier if found, or nil if not.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  2. src/cmd/doc/pkg.go

    	//	go doc time.Sunday
    	// from finding the symbol. Work around this for now, but we
    	// should fix it in go/doc.
    	// A similar story applies to factory functions.
    	mode := doc.AllDecls
    	if showSrc {
    		mode |= doc.PreserveAST // See comment for Package.emit.
    	}
    	docPkg := doc.New(astPkg, pkg.ImportPath, mode)
    	typedValue := make(map[*doc.Value]bool)
    	constructor := make(map[*doc.Func]bool)
    	for _, typ := range docPkg.Types {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Package.ImportPath", Field, 0},
    		{"Package.Imports", Field, 0},
    		{"Package.Name", Field, 0},
    		{"Package.Notes", Field, 1},
    		{"Package.Types", Field, 0},
    		{"Package.Vars", Field, 0},
    		{"PreserveAST", Const, 12},
    		{"Synopsis", Func, 0},
    		{"ToHTML", Func, 0},
    		{"ToText", Func, 0},
    		{"Type", Type, 0},
    		{"Type.Consts", Field, 0},
    		{"Type.Decl", Field, 0},
    		{"Type.Doc", 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)
Back to top