- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for exprOrType (0.24 sec)
-
src/cmd/compile/internal/types2/call.go
// where we combine type and value arguments for type // inference. assert(x.mode == value) inst = iexpr } x.expr = iexpr check.record(x) } else { check.exprOrType(x, call.Fun, true) } // x.typ may be generic switch x.mode { case invalid: check.use(call.ArgList...) x.expr = call return statement case typexpr: // conversion
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31.5K bytes - Viewed (0) -
src/go/types/call.go
// where we combine type and value arguments for type // inference. assert(x.mode == value) } else { ix = nil } x.expr = call.Fun check.record(x) } else { check.exprOrType(x, call.Fun, true) } // x.typ may be generic switch x.mode { case invalid: check.use(call.Args...) x.expr = call return statement case typexpr: // conversion
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 33.5K bytes - Viewed (0) -
src/go/types/index.go
// In that case x represents the uninstantiated function value and // it is the caller's responsibility to instantiate the function. func (check *Checker) indexExpr(x *operand, e *typeparams.IndexExpr) (isFuncInst bool) { check.exprOrType(x, e.X, true) // x may be generic switch x.mode { case invalid: check.use(e.Indices...) return false case typexpr: // type instantiation x.mode = invalid
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:17:05 UTC 2024 - 11.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/index.go
// In that case x represents the uninstantiated function value and // it is the caller's responsibility to instantiate the function. func (check *Checker) indexExpr(x *operand, e *syntax.IndexExpr) (isFuncInst bool) { check.exprOrType(x, e.X, true) // x may be generic switch x.mode { case invalid: check.use(e.Index) return false case typexpr: // type instantiation x.mode = invalid
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 15 16:16:58 UTC 2023 - 11.5K bytes - Viewed (0) -
src/go/types/expr.go
check.singleValue(x) } // exprOrType typechecks expression or type e and initializes x with the expression value or type. // If allowGeneric is set, the operand type may be an uninstantiated parameterized type or function // value. // If an error occurred, x.mode is set to invalid. func (check *Checker) exprOrType(x *operand, e ast.Expr, allowGeneric bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 49.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/expr.go
check.singleValue(x) } // exprOrType typechecks expression or type e and initializes x with the expression value or type. // If allowGeneric is set, the operand type may be an uninstantiated parameterized type or function // value. // If an error occurred, x.mode is set to invalid. func (check *Checker) exprOrType(x *operand, e syntax.Expr, allowGeneric bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 51.7K bytes - Viewed (0)