Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for yieldList (0.23 sec)

  1. src/go/types/signature.go

    // ----------------------------------------------------------------------------
    // Implementation
    
    // funcType type-checks a function or method type.
    func (check *Checker) funcType(sig *Signature, recvPar *ast.FieldList, ftyp *ast.FuncType) {
    	check.openScope(ftyp, "function")
    	check.scope.isFunc = true
    	check.recordScope(ftyp, check.scope)
    	sig.scope = check.scope
    	defer check.closeScope()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. src/go/ast/example_test.go

    	//     14  .  .  .  .  .  Decl: *(obj @ 7)
    	//     15  .  .  .  .  }
    	//     16  .  .  .  }
    	//     17  .  .  .  Type: *ast.FuncType {
    	//     18  .  .  .  .  Func: 3:1
    	//     19  .  .  .  .  Params: *ast.FieldList {
    	//     20  .  .  .  .  .  Opening: 3:10
    	//     21  .  .  .  .  .  Closing: 3:11
    	//     22  .  .  .  .  }
    	//     23  .  .  .  }
    	//     24  .  .  .  Body: *ast.BlockStmt {
    	//     25  .  .  .  .  Lbrace: 3:13
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:44:50 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/mkbuiltin.go

    		return fmt.Sprintf("types.NewStruct(%s)", i.fields(t.Fields, true))
    
    	default:
    		log.Fatalf("unhandled type: %#v", t)
    		panic("unreachable")
    	}
    }
    
    func (i *typeInterner) fields(fl *ast.FieldList, keepNames bool) string {
    	if fl == nil || len(fl.List) == 0 {
    		return "nil"
    	}
    
    	var res []string
    	for _, f := range fl.List {
    		typ := i.subtype(f.Type)
    		if len(f.Names) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. src/cmd/fix/fix.go

    		walkBeforeAfter(*n, before, after)
    
    	// pointers to struct pointers
    	case **ast.BlockStmt:
    		walkBeforeAfter(*n, before, after)
    	case **ast.CallExpr:
    		walkBeforeAfter(*n, before, after)
    	case **ast.FieldList:
    		walkBeforeAfter(*n, before, after)
    	case **ast.FuncType:
    		walkBeforeAfter(*n, before, after)
    	case **ast.Ident:
    		walkBeforeAfter(*n, before, after)
    	case **ast.BasicLit:
    		walkBeforeAfter(*n, before, after)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 14.6K bytes
    - Viewed (0)
  5. src/go/parser/parser.go

    func (p *parser) parseParameters(acceptTParams bool) (tparams, params *ast.FieldList) {
    	if p.trace {
    		defer un(trace(p, "Parameters"))
    	}
    
    	if acceptTParams && p.tok == token.LBRACK {
    		opening := p.pos
    		p.next()
    		// [T any](params) syntax
    		list := p.parseParameterList(nil, nil, token.RBRACK)
    		rbrack := p.expect(token.RBRACK)
    		tparams = &ast.FieldList{Opening: opening, List: list, Closing: rbrack}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/positions.go

    			}
    			return n.Pos()
    
    		// types
    		case *ArrayType:
    			m = n.Elem
    		case *SliceType:
    			m = n.Elem
    		case *DotsType:
    			m = n.Elem
    		case *StructType:
    			if l := lastField(n.FieldList); l != nil {
    				m = l
    				continue
    			}
    			return n.Pos()
    			// TODO(gri) need to take TagList into account
    		case *Field:
    			if n.Type != nil {
    				m = n.Type
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. src/go/ast/filter.go

    	case *Ident:
    		return t
    	case *SelectorExpr:
    		if _, ok := t.X.(*Ident); ok {
    			return t.Sel
    		}
    	case *StarExpr:
    		return fieldName(t.X)
    	}
    	return nil
    }
    
    func filterFieldList(fields *FieldList, filter Filter, export bool) (removedFields bool) {
    	if fields == nil {
    		return false
    	}
    	list := fields.List
    	j := 0
    	for _, f := range list {
    		keepField := false
    		if len(f.Names) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/orig/view/searchResults.jsp

    				</div>
    			</li>
    		</c:forEach>
    	</ol>
    	<aside class="col-md-4 d-none d-md-block">
    		<%-- Side Content --%>
    		<c:if test="${facetResponse != null}">
    			<c:forEach var="fieldData" items="${facetResponse.fieldList}">
    				<c:if
    					test="${fieldData.name == 'label' && fieldData.valueCountMap.size() > 0}">
    					<ul class="list-group mb-2">
    						<li class="list-group-item text-uppercase"><la:message
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Jun 09 04:29:42 UTC 2022
    - 9K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/searchResults.jsp

    				</div>
    			</li>
    		</c:forEach>
    	</ol>
    	<aside class="col-md-4 d-none d-md-block">
    		<%-- Side Content --%>
    		<c:if test="${facetResponse != null}">
    			<c:forEach var="fieldData" items="${facetResponse.fieldList}">
    				<c:if
    					test="${fieldData.name == 'label' && fieldData.valueCountMap.size() > 0}">
    					<ul class="list-group mb-2">
    						<li class="list-group-item text-uppercase"><la:message
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Jun 09 04:29:42 UTC 2022
    - 9K bytes
    - Viewed (0)
  10. src/go/ast/walk.go

    			Walk(v, n.Doc)
    		}
    		walkList(v, n.Names)
    		if n.Type != nil {
    			Walk(v, n.Type)
    		}
    		if n.Tag != nil {
    			Walk(v, n.Tag)
    		}
    		if n.Comment != nil {
    			Walk(v, n.Comment)
    		}
    
    	case *FieldList:
    		walkList(v, n.List)
    
    	// Expressions
    	case *BadExpr, *Ident, *BasicLit:
    		// nothing to do
    
    	case *Ellipsis:
    		if n.Elt != nil {
    			Walk(v, n.Elt)
    		}
    
    	case *FuncLit:
    		Walk(v, n.Type)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top