Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ArgList (0.22 sec)

  1. src/cmd/internal/obj/x86/asm6.go

    	{Zm_ibo, 2, argList{Yml, Yi8}},
    	{Z_il, 1, argList{Yax, Yi32}},
    	{Zm_ilo, 2, argList{Yml, Yi32}},
    	{Zm_r, 1, argList{Yml, Yrl}},
    	{Zr_m, 1, argList{Yrl, Yml}},
    }
    
    var yshb = []ytab{
    	{Zo_m, 2, argList{Yi1, Ymb}},
    	{Zibo_m, 2, argList{Yu8, Ymb}},
    	{Zo_m, 2, argList{Ycx, Ymb}},
    }
    
    var yshl = []ytab{
    	{Zo_m, 2, argList{Yi1, Yml}},
    	{Zibo_m, 2, argList{Yu8, Yml}},
    	{Zo_m, 2, argList{Ycl, Yml}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  2. src/go/types/builtins.go

    	argList := call.Args
    
    	// append is the only built-in that permits the use of ... for the last argument
    	bin := predeclaredFuncs[id]
    	if hasDots(call) && id != _Append {
    		check.errorf(dddErrPos(call),
    			InvalidDotDotDot,
    			invalidOp+"invalid use of ... with built-in %s", bin.name)
    		check.use(argList...)
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/call.go

    	if sig.variadic {
    		if ddd {
    			// variadic_func(a, b, c...)
    			if len(call.ArgList) == 1 && nargs > 1 {
    				// f()... is not permitted if f() is multi-valued
    				//check.errorf(call.Ellipsis, "cannot use ... with %d-valued %s", nargs, call.ArgList[0])
    				check.errorf(call, InvalidDotDotDot, "cannot use ... with %d-valued %s", nargs, call.ArgList[0])
    				return
    			}
    		} else {
    			// variadic_func(a, b, c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/builtins.go

    	argList := call.ArgList
    
    	// append is the only built-in that permits the use of ... for the last argument
    	bin := predeclaredFuncs[id]
    	if hasDots(call) && id != _Append {
    		check.errorf(dddErrPos(call),
    			InvalidDotDotDot,
    			invalidOp+"invalid use of ... with built-in %s", bin.name)
    		check.use(argList...)
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/parser.go

    				op := *x
    				op.X = lhs
    				return name, &op
    			}
    		}
    	case *CallExpr:
    		if name, _ := x.Fun.(*Name); name != nil {
    			if len(x.ArgList) == 1 && !x.HasDots && (force || isTypeElem(x.ArgList[0])) {
    				// x = name "(" x.ArgList[0] ")"
    				return name, x.ArgList[0]
    			}
    		}
    	}
    	return nil, x
    }
    
    // isTypeElem reports whether x is a (possibly parenthesized) type element expression.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/positions.go

    		case *AssertExpr:
    			m = n.Type
    		case *TypeSwitchGuard:
    			m = n.X
    		case *Operation:
    			if n.Y != nil {
    				m = n.Y
    				continue
    			}
    			m = n.X
    		case *CallExpr:
    			if l := lastExpr(n.ArgList); l != nil {
    				m = l
    				continue
    			}
    			m = n.Fun
    		case *ListExpr:
    			if l := lastExpr(n.ElemList); l != nil {
    				m = l
    				continue
    			}
    			return n.Pos()
    
    		// types
    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/types/generate_test.go

    	"api_predicates.go": nil,
    	"basic.go":          nil,
    	"builtins.go": func(f *ast.File) {
    		renameImportPath(f, `"cmd/compile/internal/syntax"->"go/ast"`)
    		renameIdents(f, "syntax->ast")
    		renameSelectors(f, "ArgList->Args")
    		fixSelValue(f)
    		fixAtPosCall(f)
    	},
    	"builtins_test.go": func(f *ast.File) {
    		renameImportPath(f, `"cmd/compile/internal/syntax"->"go/ast"`, `"cmd/compile/internal/types2"->"go/types"`)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/rangefunc/rewrite.go

    	if ftyp.Results().Len() != 1 {
    		base.Fatalf("invalid typecheck of range func")
    	}
    
    	// Build X(bodyFunc)
    	call := &syntax.ExprStmt{
    		X: &syntax.CallExpr{
    			Fun: rclause.X,
    			ArgList: []syntax.Expr{
    				r.bodyFunc(nfor.Body.List, syntax.UnpackListExpr(rclause.Lhs), rclause.Def, ftyp, start, end),
    			},
    		},
    	}
    	setPos(call, start)
    
    	// Build checks based on #next after X(bodyFunc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
Back to top