- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 107 for parenthesize (0.37 sec)
-
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) -
src/internal/types/testdata/examples/types.go
I0 I1[bool] m(string) } func _() { var x I3 x.m0() x.m1(true) x.m("foo") } type _ struct { ( /* ERROR "cannot parenthesize" */ int8) ( /* ERROR "cannot parenthesize" */ *int16) *( /* ERROR "cannot parenthesize" */ int32) List[int] int8 /* ERROR "int8 redeclared" */ *int16 /* ERROR "int16 redeclared" */ List /* ERROR "List redeclared" */ [int] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 23:16:04 UTC 2023 - 8.4K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go
c.To.goString(indent+2, "To: ")) } func (c *Cast) prec() precedence { return precCast } // The parenthesize function prints the string for val, wrapped in // parentheses if necessary. func parenthesize(ps *printState, val AST) { paren := false switch v := val.(type) { case *Name, *InitializerList: case *FunctionParam: if ps.llvmStyle {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 105.8K bytes - Viewed (0) -
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) -
src/go/parser/parser.go
} } else { // T P typ = p.parseType() } } case token.MUL: star := p.pos p.next() if p.tok == token.LPAREN { // *(T) p.error(p.pos, "cannot parenthesize embedded type") p.next() typ = p.parseQualifiedIdent(nil) // expect closing ')' but no need to complain if missing if p.tok == token.RPAREN { p.next() } } else { // *T
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 20:07:50 UTC 2023 - 72.2K bytes - Viewed (0) -
analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/parenthesis.kt
Anna Kozlova <******@****.***> 1717492092 +0200
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 14:04:46 UTC 2024 - 127 bytes - Viewed (0) -
analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/parenthesis.txt
Anna Kozlova <******@****.***> 1717492092 +0200
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 14:04:46 UTC 2024 - 342 bytes - Viewed (0) -
analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/callReceiverParens.txt
expression: PARENTHESIZED text: (b)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Oct 05 15:06:52 UTC 2022 - 61 bytes - Viewed (0) -
analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/doubleColonUnqualifiedCompanionLHSParenthesized.txt
expression: PARENTHESIZED text: (Companion)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Oct 05 15:06:52 UTC 2022 - 69 bytes - Viewed (0) -
analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/propertyAsCallReceiverInParens.txt
expression: PARENTHESIZED text: (b.hashCode)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Oct 05 15:06:52 UTC 2022 - 70 bytes - Viewed (0)