Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Parenthesized (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
Back to top