Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for PreserveAST (0.16 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/go/doc/doc.go

    	// invisible (unexported) anonymous fields.
    	AllMethods
    
    	// PreserveAST says to leave the AST unmodified. Originally, pieces of
    	// the AST such as function bodies were nil-ed out to save memory in
    	// godoc, but not all programs want that behavior.
    	PreserveAST
    )
    
    // New computes the package documentation for the given package AST.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. api/go1.12.txt

    pkg debug/elf, const R_RISCV_32_PCREL R_RISCV
    pkg debug/pe, const IMAGE_FILE_MACHINE_ARMNT = 452
    pkg debug/pe, const IMAGE_FILE_MACHINE_ARMNT ideal-int
    pkg expvar, method (*Map) Delete(string)
    pkg go/doc, const PreserveAST = 4
    pkg go/doc, const PreserveAST Mode
    pkg go/importer, func ForCompiler(*token.FileSet, string, Lookup) types.Importer
    pkg go/token, method (*File) LineStart(int) Pos
    pkg io, type StringWriter interface { WriteString }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 02 21:21:53 UTC 2019
    - 13.5K bytes
    - Viewed (0)
  4. 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)
  5. 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