- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,030 for Lparen (0.37 sec)
-
src/text/template/parse/parse_test.go
hasError, `comment1:1: unclosed comment`}, {"comment2", "{{/*\nhello\n}}", hasError, `comment2:1: unclosed comment`}, {"lparen", "{{.X (1 2 3}}", hasError, `unclosed left paren`}, {"rparen", "{{.X 1 2 3 ) }}", hasError, "unexpected right paren"}, {"rparen2", "{{(.X 1 2 3", hasError, `unclosed action`}, {"space", "{{`x`3}}", hasError, `in operand`}, {"idchar",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 24K bytes - Viewed (0) -
src/go/printer/printer.go
needsLinebreak := false if p.mode&noExtraBlank == 0 && last.Text[1] == '*' && p.lineFor(last.Pos()) == next.Line && tok != token.COMMA && (tok != token.RPAREN || p.prevOpen == token.LPAREN) && (tok != token.RBRACK || p.prevOpen == token.LBRACK) { if p.containsLinebreak() && p.mode&noExtraLinebreak == 0 && p.level == 0 { needsLinebreak = true } else { p.writeByte(' ', 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 41.6K bytes - Viewed (0) -
src/go/doc/reader.go
// recordAnonymousField registers fieldType as the type of an // anonymous field in the parent type. If the field is imported // (qualified name) or the parent is nil, the field is ignored. // The function returns the field name. func (r *reader) recordAnonymousField(parent *namedType, fieldType ast.Expr) (fname string) { fname, imp := baseTypeName(fieldType) if parent == nil || imp { return } if ftype := r.lookupType(fname); ftype != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 27.5K bytes - Viewed (0) -
src/go/scanner/scanner.go
tok = token.ELLIPSIS } case ',': tok = token.COMMA case ';': tok = token.SEMICOLON lit = ";" case '(': tok = token.LPAREN case ')': insertSemi = true tok = token.RPAREN case '[': tok = token.LBRACK case ']': insertSemi = true tok = token.RBRACK case '{': tok = token.LBRACE case '}': insertSemi = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 24.3K bytes - Viewed (0) -
src/go/scanner/scanner_test.go
{token.GEQ, ">=", operator}, {token.DEFINE, ":=", operator}, {token.ELLIPSIS, "...", operator}, {token.LPAREN, "(", operator}, {token.LBRACK, "[", operator}, {token.LBRACE, "{", operator}, {token.COMMA, ",", operator}, {token.PERIOD, ".", operator}, {token.RPAREN, ")", operator}, {token.RBRACK, "]", operator}, {token.RBRACE, "}", operator}, {token.SEMICOLON, ";", operator},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 15:38:31 UTC 2023 - 34.6K bytes - Viewed (0) -
src/go/types/call.go
check.nonGeneric(nil, x) if x.mode == invalid { return conversion } T := x.typ x.mode = invalid switch n := len(call.Args); n { case 0: check.errorf(inNode(call, call.Rparen), WrongArgCount, "missing argument in conversion to %s", T) case 1: check.expr(nil, x, call.Args[0]) if x.mode != invalid { if hasDots(call) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 33.5K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
break } } return } call, ok := (*px).(*ast.CallExpr) if !ok { return } for _, c := range f.Calls { if !c.Done && c.Call.Lparen == call.Lparen { cstr, nu := p.rewriteCall(f, c) if cstr != "" { // Smuggle the rewritten call through an ident. *px = ast.NewIdent(cstr) if nu { needsUnsafe = true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
src/cmd/compile/internal/inline/interleaved/interleaved.go
n = paren } return n } ir.EditChildren(fn, mark) // Edit until stable. for { done := true for i := 0; i < len(parens); i++ { // can't use "range parens" here paren := parens[i] if new := edit(paren.X); new != nil { // Update AST and recursively mark nodes. paren.X = new ir.EditChildren(new, mark) // mark may append to parens done = false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:42:52 UTC 2024 - 5.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"BranchStmt.TokPos", Field, 0}, {"CallExpr", Type, 0}, {"CallExpr.Args", Field, 0}, {"CallExpr.Ellipsis", Field, 0}, {"CallExpr.Fun", Field, 0}, {"CallExpr.Lparen", Field, 0}, {"CallExpr.Rparen", Field, 0}, {"CaseClause", Type, 0}, {"CaseClause.Body", Field, 0}, {"CaseClause.Case", Field, 0}, {"CaseClause.Colon", Field, 0}, {"CaseClause.List", Field, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/printer.go
case *AssertExpr: p.print(n.X, _Dot, _Lparen, n.Type, _Rparen) case *TypeSwitchGuard: if n.Lhs != nil { p.print(n.Lhs, blank, _Define, blank) } p.print(n.X, _Dot, _Lparen, _Type, _Rparen) case *CallExpr: p.print(n.Fun, _Lparen) p.printExprList(n.ArgList) if n.HasDots { p.print(_DotDotDot) } p.print(_Rparen) case *Operation: if n.Y == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 24 07:17:27 UTC 2023 - 21.5K bytes - Viewed (0)