Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for typesDoc (0.22 sec)

  1. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java

            requests.forEach(result::add);
            return result;
        }
    
        private static TypeSpec.Builder generateInterceptorClass(String className, BytecodeInterceptorType interceptorType, CodeBlock scopes, List<CallInterceptionRequest> requests) {
            TypeSpec.Builder generatedClass = TypeSpec.classBuilder(className)
                .addAnnotation(GENERATED_ANNOTATION.asClassName())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. src/internal/reflectlite/reflect_mirror_test.go

    	for _, typeName := range typeNames {
    		if typeName == name {
    			return true
    		}
    	}
    	return false
    }
    
    func (v visitor) Visit(n ast.Node) ast.Visitor {
    	switch x := n.(type) {
    	case *ast.TypeSpec:
    		if v.filter(x.Name.String()) {
    			if st, ok := x.Type.(*ast.StructType); ok {
    				v.m[x.Name.String()] = make(map[string]bool)
    				for _, field := range st.Fields.List {
    					k := fmt.Sprintf("%s", field.Type)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 21:11:15 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/cmd/cgo/godefs.go

    		refName[r.Expr] = r.Name
    	}
    	for _, d := range f.AST.Decls {
    		d, ok := d.(*ast.GenDecl)
    		if !ok || d.Tok != token.TYPE {
    			continue
    		}
    		for _, s := range d.Specs {
    			s := s.(*ast.TypeSpec)
    			n := refName[&s.Type]
    			if n != nil && n.Mangle != "" {
    				override[n.Mangle] = s.Name.Name
    			}
    		}
    	}
    
    	// Extend overrides using typedefs:
    	// If we know that C.xxx should format as T
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/go/types/decl.go

    	constDecl  struct {
    		spec      *ast.ValueSpec
    		iota      int
    		typ       ast.Expr
    		init      []ast.Expr
    		inherited bool
    	}
    	varDecl  struct{ spec *ast.ValueSpec }
    	typeDecl struct{ spec *ast.TypeSpec }
    	funcDecl struct{ decl *ast.FuncDecl }
    )
    
    func (d importDecl) node() ast.Node { return d.spec }
    func (d constDecl) node() ast.Node  { return d.spec }
    func (d varDecl) node() ast.Node    { return d.spec }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  5. src/go/doc/example.go

    					tname, _ := baseTypeName(t)
    					typMethods[tname] = append(typMethods[tname], d)
    				}
    			}
    		case *ast.GenDecl:
    			for _, spec := range d.Specs {
    				switch s := spec.(type) {
    				case *ast.TypeSpec:
    					topDecls[s.Name.Obj] = d
    				case *ast.ValueSpec:
    					for _, name := range s.Names {
    						topDecls[name.Obj] = d
    					}
    				}
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  6. src/go/ast/walk.go

    			Walk(v, n.Doc)
    		}
    		walkList(v, n.Names)
    		if n.Type != nil {
    			Walk(v, n.Type)
    		}
    		walkList(v, n.Values)
    		if n.Comment != nil {
    			Walk(v, n.Comment)
    		}
    
    	case *TypeSpec:
    		if n.Doc != nil {
    			Walk(v, n.Doc)
    		}
    		Walk(v, n.Name)
    		if n.TypeParams != nil {
    			Walk(v, n.TypeParams)
    		}
    		Walk(v, n.Type)
    		if n.Comment != nil {
    			Walk(v, n.Comment)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. src/go/doc/reader.go

    					// go/doc type declarations always appear w/o
    					// parentheses)
    					if s, ok := d.Specs[0].(*ast.TypeSpec); ok {
    						r.readType(d, s)
    					}
    					break
    				}
    				for _, spec := range d.Specs {
    					if s, ok := spec.(*ast.TypeSpec); ok {
    						// use an individual (possibly fake) declaration
    						// for each type; this also ensures that each type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  8. src/go/ast/filter.go

    		s.Names = filterIdentList(s.Names, f)
    		s.Values = filterExprList(s.Values, f, export)
    		if len(s.Names) > 0 {
    			if export {
    				filterType(s.Type, f, export)
    			}
    			return true
    		}
    	case *TypeSpec:
    		if f(s.Name.Name) {
    			if export {
    				filterType(s.Type, f, export)
    			}
    			return true
    		}
    		if !export {
    			// For general filtering (not just exports),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/go/types/api.go

    	// associated with the [*ast.FuncType].
    	//
    	// The following node types may appear in Scopes:
    	//
    	//     *ast.File
    	//     *ast.FuncType
    	//     *ast.TypeSpec
    	//     *ast.BlockStmt
    	//     *ast.IfStmt
    	//     *ast.SwitchStmt
    	//     *ast.TypeSwitchStmt
    	//     *ast.CaseClause
    	//     *ast.CommClause
    	//     *ast.ForStmt
    	//     *ast.RangeStmt
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. src/go/types/resolver.go

    	init      ast.Expr      // init/orig expression, or nil (for const and var declarations only)
    	inherited bool          // if set, the init expression is inherited from a previous constant declaration
    	tdecl     *ast.TypeSpec // type declaration, or nil
    	fdecl     *ast.FuncDecl // func declaration, or nil
    
    	// The deps field tracks initialization expression dependencies.
    	deps map[Object]bool // lazily initialized
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top