Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for parenthesize (0.19 sec)

  1. src/text/template/doc.go

    		fun
    	  The result is the value of invoking the function, fun(). The return
    	  types and values behave as in methods. Functions and function
    	  names are described below.
    	- A parenthesized instance of one the above, for grouping. The result
    	  may be accessed by a field or map key invocation.
    		print (.F1 arg1) (.F2 arg2)
    		(.StructValuedMethod "arg").Field
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Combinators.kt

     * Can be combined with other parsers in the usual way and its delegate can be set at a later moment in time.
     *
     * It can also be used to create recursive parsers.
     * For example, a parser for a balanced parenthesized symbolic expression can be defined as:
     * ```kotlin
     * var parser by reference<String>()
     * parser = paren(parser) + token(IDENTIFIER) { tokenText }
     * ```
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  3. src/go/types/check.go

    	}
    	if m := check.Types; m != nil {
    		m[x] = TypeAndValue{mode, typ, val}
    	}
    }
    
    func (check *Checker) recordBuiltinType(f ast.Expr, sig *Signature) {
    	// f must be a (possibly parenthesized, possibly qualified)
    	// identifier denoting a built-in (including unsafe's non-constant
    	// functions Add and Slice): record the signature for f and possible
    	// children.
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. src/text/template/parse/lex_test.go

    		tSpace,
    		mkItem(itemChar, ","),
    		tSpace,
    		mkItem(itemVariable, "$w"),
    		tSpace,
    		mkItem(itemDeclare, ":="),
    		tSpace,
    		mkItem(itemNumber, "3"),
    		tRight,
    		tEOF,
    	}},
    	{"field of parenthesized expression", "{{(.X).Y}}", []item{
    		tLeft,
    		tLpar,
    		mkItem(itemField, ".X"),
    		tRpar,
    		mkItem(itemField, ".Y"),
    		tRight,
    		tEOF,
    	}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 15:03:43 UTC 2022
    - 13.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/printer.go

    		}
    		// binary expressions
    		return combinesWithName(x.X) && !isTypeElem(x.Y)
    	case *ParenExpr:
    		// name(x) combines but we are making sure at
    		// the call site that x is never parenthesized.
    		panic("unexpected parenthesized expression")
    	}
    	return false
    }
    
    func (p *printer) printStmtList(list []Stmt, braces bool) {
    	for i, x := range list {
    		p.print(x, _Semi)
    		if i+1 < len(list) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/check.go

    			stv.SetAssignable()
    		}
    		if tv.HasOk() {
    			stv.SetHasOk()
    		}
    		x.SetTypeInfo(stv)
    	}
    }
    
    func (check *Checker) recordBuiltinType(f syntax.Expr, sig *Signature) {
    	// f must be a (possibly parenthesized, possibly qualified)
    	// identifier denoting a built-in (including unsafe's non-constant
    	// functions Add and Slice): record the signature for f and possible
    	// children.
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    }
    
    // An LParen represents the beginning of a parenthesized line block.
    // It is a place to store suffix comments.
    type LParen struct {
    	Comments
    	Pos Position
    }
    
    func (x *LParen) Span() (start, end Position) {
    	return x.Pos, x.Pos.add(")")
    }
    
    // An RParen represents the end of a parenthesized line block.
    // It is a place to store whole-line (before) comments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. internal/s3select/sql/parser.go

    }
    
    // LiteralList is a type for parsed SQL lists literals
    type LiteralList []string
    
    // Capture interface used by participle
    func (ls *LiteralList) Capture(values []string) error {
    	// Remove enclosing parenthesis.
    	n := len(values[0])
    	r := values[0][1 : n-1]
    	// Translate doubled quotes
    	*ls = LiteralList(strings.Split(r, ","))
    	return nil
    }
    
    // ObjectKey is a type for parsed strings occurring in key paths
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/index.md

    You only give `Depends` a single parameter.
    
    This parameter must be something like a function.
    
    You **don't call it** directly (don't add the parenthesis at the end), you just pass it as a parameter to `Depends()`.
    
    And that function takes parameters in the same way that *path operation functions* do.
    
    !!! tip
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    		return "key/value association"
    	case *ast.LabeledStmt:
    		return "statement label"
    	case *ast.MapType:
    		return "map type"
    	case *ast.Package:
    		return "package"
    	case *ast.ParenExpr:
    		return "parenthesized " + NodeDescription(n.X)
    	case *ast.RangeStmt:
    		return "range loop"
    	case *ast.ReturnStmt:
    		return "return statement"
    	case *ast.SelectStmt:
    		return "select statement"
    	case *ast.SelectorExpr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
Back to top