Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 80 for parenthesized (0.41 sec)

  1. src/internal/types/testdata/check/decls2/decls2b.go

    type T7 struct {}
    
    func (T7) m1() {}
    func ((T7)) m2() {}
    func ((*T7)) m3() {}
    func (x *(T7),) m4() {}
    func (x (*(T7)),) m5() {}
    func (x ((*((T7)))),) m6() {}
    
    // Check that methods with parenthesized receiver are actually present (issue #23130).
    var (
    	_ = T7.m1
    	_ = T7.m2
    	_ = (*T7).m3
    	_ = (*T7).m4
    	_ = (*T7).m5
    	_ = (*T7).m6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    2474          ; disallowed_STD3_mapped ; 0028 0031 0029 #1.1  PARENTHESIZED DIGIT ONE
    2475          ; disallowed_STD3_mapped ; 0028 0032 0029 #1.1  PARENTHESIZED DIGIT TWO
    2476          ; disallowed_STD3_mapped ; 0028 0033 0029 #1.1  PARENTHESIZED DIGIT THREE
    2477          ; disallowed_STD3_mapped ; 0028 0034 0029 #1.1  PARENTHESIZED DIGIT FOUR
    2478          ; disallowed_STD3_mapped ; 0028 0035 0029 #1.1  PARENTHESIZED DIGIT FIVE
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
  3. src/regexp/syntax/simplify_test.go

    	// The empty string must be preserved inside parens in order
    	// to make submatches work right, so these tests are less
    	// interesting than they might otherwise be. String inserts
    	// explicit (?:) in place of non-parenthesized empty strings,
    	// to make them easier to spot for other parsers.
    	{`(a|b|c|)`, `([a-c]|(?:))`},
    	{`(a|b|)`, `([ab]|(?:))`},
    	{`(|)`, `()`},
    	{`a()`, `a()`},
    	{`(()|())`, `(()|())`},
    	{`(a|)`, `(a|(?:))`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 16:02:30 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. src/strconv/atoc.go

    // component. If the second N is unsigned, a + sign is required between the two components
    // as indicated by the ±. If the second N is NaN, only a + sign is accepted.
    // The form may be parenthesized and cannot contain any spaces.
    // The resulting complex number consists of the two components converted by ParseFloat.
    //
    // The errors that ParseComplex returns have concrete type [*NumError]
    // and include err.Num = s.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. src/go/parser/short_test.go

    	`package p; type _ struct{ ( /* ERROR "cannot parenthesize embedded type" */ int) }`,
    	`package p; type _ struct{ ( /* ERROR "cannot parenthesize embedded type" */ []byte) }`,
    	`package p; type _ struct{ *( /* ERROR "cannot parenthesize embedded type" */ int) }`,
    	`package p; type _ struct{ *( /* ERROR "cannot parenthesize embedded type" */ []byte) }`,
    
    	// go.dev/issue/8656
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modcmd/why.go

    package or module. Subsequent lines give a path through the import
    graph, one package per line. If the package or module is not
    referenced from the main module, the stanza will display a single
    parenthesized note indicating that fact.
    
    For example:
    
    	$ go mod why golang.org/x/text/language golang.org/x/text/encoding
    	# golang.org/x/text/language
    	rsc.io/quote
    	rsc.io/sampler
    	golang.org/x/text/language
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 21:32:23 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/return.go

    		*syntax.AssignStmt, *syntax.CallStmt:
    		// no chance
    
    	case *syntax.LabeledStmt:
    		return check.isTerminating(s.Stmt, s.Label.Value)
    
    	case *syntax.ExprStmt:
    		// calling the predeclared (possibly parenthesized) panic() function is terminating
    		if call, ok := syntax.Unparen(s.X).(*syntax.CallExpr); ok && check.isPanic[call] {
    			return true
    		}
    
    	case *syntax.ReturnStmt:
    		return true
    
    	case *syntax.BranchStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. src/go/types/return.go

    		*ast.RangeStmt:
    		// no chance
    
    	case *ast.LabeledStmt:
    		return check.isTerminating(s.Stmt, s.Label.Name)
    
    	case *ast.ExprStmt:
    		// calling the predeclared (possibly parenthesized) panic() function is terminating
    		if call, ok := ast.Unparen(s.X).(*ast.CallExpr); ok && check.isPanic[call] {
    			return true
    		}
    
    	case *ast.ReturnStmt:
    		return true
    
    	case *ast.BranchStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/go/types/builtins_test.go

    			fun = call.Fun
    			n++
    		}
    	}
    	if n != 1 {
    		t.Errorf("%s: got %d CallExprs; want 1", src0, n)
    		return
    	}
    
    	// check recorded types for fun and descendents (may be parenthesized)
    	for {
    		// the recorded type for the built-in must match the wanted signature
    		typ := types[fun].Type
    		if typ == nil {
    			t.Errorf("%s: no type recorded for %s", src0, ExprString(fun))
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. src/go/ast/ast.go

    		Incomplete bool      // true if (source) expressions are missing in the Elts list
    	}
    
    	// A ParenExpr node represents a parenthesized expression.
    	ParenExpr struct {
    		Lparen token.Pos // position of "("
    		X      Expr      // parenthesized expression
    		Rparen token.Pos // position of ")"
    	}
    
    	// A SelectorExpr node represents an expression followed by a selector.
    	SelectorExpr struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
Back to top