Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for parenthesize (0.2 sec)

  1. src/cmd/compile/internal/syntax/parser.go

    			// *(T)
    			p.syntaxError("cannot parenthesize embedded type")
    			p.next()
    			typ = p.qualifiedName(nil)
    			p.got(_Rparen) // no need to complain if missing
    		} else {
    			// *T
    			typ = p.qualifiedName(nil)
    		}
    		tag := p.oliteral()
    		p.addField(styp, pos, nil, newIndirect(pos, typ), tag)
    
    	case _Lparen:
    		p.syntaxError("cannot parenthesize embedded type")
    		p.next()
    		var typ Expr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KaFirResolver.kt

            if (this !is KtExpression) return null
            val calleeExpression = deparenthesize(this) ?: return null
            if (calleeExpression is KtCallExpression) return null
            val callExpression = parentOfType<KtCallExpression>() ?: return null
            if (deparenthesize(callExpression.calleeExpression) != calleeExpression) return null
            return callExpression
        }
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 73K bytes
    - Viewed (0)
  3. src/text/template/exec_test.go

    	{"field on interface", "{{.foo}}", "<no value>", nil, true},
    	{"field on parenthesized interface", "{{(.).foo}}", "<no value>", nil, true},
    
    	// Issue 31810: Parenthesized first element of pipeline with arguments.
    	// See also TestIssue31810.
    	{"unparenthesized non-function", "{{1 2}}", "", nil, false},
    	{"parenthesized non-function", "{{(1) 2}}", "", nil, false},
    	{"parenthesized non-function with no args", "{{(1)}}", "1", nil, true}, // This is fine.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  4. src/html/template/exec_test.go

    	{"field on parenthesized interface", "{{(.).foo}}", "", nil, true}, // NOTE: <no value> in text/template
    
    	// Issue 31810: Parenthesized first element of pipeline with arguments.
    	// See also TestIssue31810.
    	{"unparenthesized non-function", "{{1 2}}", "", nil, false},
    	{"parenthesized non-function", "{{(1) 2}}", "", nil, false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    		Code:           "ParseExpectedLeftParenAfterCast",
    		Description:    "Did not find expected the left parenthesis in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseExpectedLeftParenValueConstructor: {
    		Code:           "ParseExpectedLeftParenValueConstructor",
    		Description:    "Did not find expected the left parenthesis in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    	"az": {"alignof ", 1, precUnary},
    	"cc": {"const_cast", 2, precPostfix},
    	"cl": {"()", 2, precPostfix},
    	// cp is not in the ABI but is used by clang "when the call
    	// would use ADL except for being parenthesized."
    	"cp": {"()", 2, precPostfix},
    	"cm": {",", 2, precComma},
    	"co": {"~", 1, precUnary},
    	"dV": {"/=", 2, precAssign},
    	"dX": {"[...]=", 3, precAssign},
    	"da": {"delete[] ", 1, precUnary},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  7. src/cmd/internal/testdir/testdir_test.go

    		if len(line) > 0 && line[0] != '\t' {
    			functionMarkers = append(functionMarkers, nl)
    		}
    
    		// Search if this line contains a assembly opcode (which is prefixed by the
    		// original source file/line in parenthesis)
    		matches := rxLine.FindStringSubmatch(line)
    		if len(matches) == 0 {
    			continue
    		}
    		srcFileLine, asm := matches[1], matches[2]
    
    		// Associate the original file/line information to the current
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    			// with '/', which would give us a "//" comment.
    			repl := " " + gofmtPos(expr, old.Pos())
    			end := fset.Position(old.End())
    			// Subtract 1 from the column if we are going to
    			// append a close parenthesis. That will set the
    			// correct column for the following characters.
    			sub := 0
    			if r.Name.Kind != "type" {
    				sub = 1
    			}
    			if end.Column > sub {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top