Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for allowCommaOk (0.33 sec)

  1. src/go/types/expr.go

    // multiExpr typechecks e and returns its value (or values) in list.
    // If allowCommaOk is set and e is a map index, comma-ok, or comma-err
    // expression, the result is a two-element list containing the value
    // of e, and an untyped bool value or an error value, respectively.
    // If an error occurred, list[0] is not valid.
    func (check *Checker) multiExpr(e ast.Expr, allowCommaOk bool) (list []*operand, commaOk bool) {
    	var x operand
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/expr.go

    // multiExpr typechecks e and returns its value (or values) in list.
    // If allowCommaOk is set and e is a map index, comma-ok, or comma-err
    // expression, the result is a two-element list containing the value
    // of e, and an untyped bool value or an error value, respectively.
    // If an error occurred, list[0] is not valid.
    func (check *Checker) multiExpr(e syntax.Expr, allowCommaOk bool) (list []*operand, commaOk bool) {
    	var x operand
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
Back to top