Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for IgnoreFuncBodies (0.38 sec)

  1. src/go/types/decl.go

    	}
    
    	// function body must be type-checked after global declarations
    	// (functions implemented elsewhere have no body)
    	if !check.conf.IgnoreFuncBodies && fdecl.Body != nil {
    		check.later(func() {
    			check.funcBody(decl, obj.name, sig, fdecl.Body, nil)
    		}).describef(obj, "func %s", obj.name)
    	}
    }
    
    func (check *Checker) declStmt(d ast.Decl) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  2. api/go1.5.txt

    pkg go/types, type Config struct, DisableUnusedImportCheck bool
    pkg go/types, type Config struct, Error func(error)
    pkg go/types, type Config struct, FakeImportC bool
    pkg go/types, type Config struct, IgnoreFuncBodies bool
    pkg go/types, type Config struct, Importer Importer
    pkg go/types, type Config struct, Sizes Sizes
    pkg go/types, type Const struct
    pkg go/types, type Error struct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  3. src/go/types/expr.go

    			// Set the Scope's extent to the complete "func (...) {...}"
    			// so that Scope.Innermost works correctly.
    			sig.scope.pos = e.Pos()
    			sig.scope.end = e.End()
    			if !check.conf.IgnoreFuncBodies && e.Body != nil {
    				// Anonymous functions are considered part of the
    				// init expression/func declaration which contains
    				// them: use existing package-level declaration info.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/expr.go

    			// Set the Scope's extent to the complete "func (...) {...}"
    			// so that Scope.Innermost works correctly.
    			sig.scope.pos = e.Pos()
    			sig.scope.end = syntax.EndPos(e)
    			if !check.conf.IgnoreFuncBodies && e.Body != nil {
    				// Anonymous functions are considered part of the
    				// init expression/func declaration which contains
    				// them: use existing package-level declaration info.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Config.Context", Field, 18},
    		{"Config.DisableUnusedImportCheck", Field, 5},
    		{"Config.Error", Field, 5},
    		{"Config.FakeImportC", Field, 5},
    		{"Config.GoVersion", Field, 18},
    		{"Config.IgnoreFuncBodies", Field, 5},
    		{"Config.Importer", Field, 5},
    		{"Config.Sizes", Field, 5},
    		{"Const", Type, 5},
    		{"Context", Type, 18},
    		{"ConvertibleTo", Func, 5},
    		{"DefPredeclaredTestFuncs", Func, 5},
    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