Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 156 for Rbrace (0.26 sec)

  1. src/go/doc/example.go

    	if last == nil || !outputPrefix.MatchString(last.Text()) {
    		return body, comments
    	}
    
    	// Copy body and comments, as the originals may be used elsewhere.
    	newBody := &ast.BlockStmt{
    		Lbrace: body.Lbrace,
    		List:   body.List,
    		Rbrace: last.Pos(),
    	}
    	newComments := make([]*ast.CommentGroup, len(comments)-1)
    	copy(newComments, comments[:i])
    	copy(newComments[i:], comments[i+1:])
    	return newBody, newComments
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  2. src/go/types/stmt.go

    func (check *Checker) funcBody(decl *declInfo, name string, sig *Signature, body *ast.BlockStmt, iota constant.Value) {
    	if check.conf.IgnoreFuncBodies {
    		panic("function body not ignored")
    	}
    
    	if check.conf._Trace {
    		check.trace(body.Pos(), "-- %s: %s", name, sig)
    	}
    
    	// save/restore current environment and set up function environment
    	// (and use 0 indentation at function start)
    	defer func(env environment, indent int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  3. src/go/scanner/scanner_test.go

    	{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},
    	{token.COLON, ":", operator},
    	{token.TILDE, "~", 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)
  4. src/go/scanner/scanner.go

    		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
    			tok = token.RBRACE
    		case '+':
    			tok = s.switch3(token.ADD, token.ADD_ASSIGN, '+', token.INC)
    			if tok == token.INC {
    				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)
  5. src/cmd/vendor/rsc.io/markdown/entity.go

    	"⪭︀":                           "\u2aad\ufe00",
    	"⤌":                           "\u290c",
    	"❲":                           "\u2772",
    	"{":                          "\u007b",
    	"[":                          "\u005b",
    	"⦋":                           "\u298b",
    	"⦏":                         "\u298f",
    	"⦍":                         "\u298d",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 101K bytes
    - Viewed (0)
  6. src/html/entity.go

    		"late;":                            '\U00002AAD',
    		"lbarr;":                           '\U0000290C',
    		"lbbrk;":                           '\U00002772',
    		"lbrace;":                          '\U0000007B',
    		"lbrack;":                          '\U0000005B',
    		"lbrke;":                           '\U0000298B',
    		"lbrksld;":                         '\U0000298F',
    		"lbrkslu;":                         '\U0000298D',
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 31 22:10:54 UTC 2018
    - 114.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/printer.go

    		p.print(n.Type, blank)
    		if n.Body != nil {
    			if p.form == ShortForm {
    				p.print(_Lbrace)
    				if len(n.Body.List) > 0 {
    					p.print(_Name, "…")
    				}
    				p.print(_Rbrace)
    			} else {
    				p.print(n.Body)
    			}
    		}
    
    	case *CompositeLit:
    		if n.Type != nil {
    			p.print(n.Type)
    		}
    		p.print(_Lbrace)
    		if p.form == ShortForm {
    			if len(n.ElemList) > 0 {
    				p.print(_Name, "…")
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  8. src/go/types/expr.go

    // parameterized type or function value.
    func (check *Checker) rawExpr(T *target, x *operand, e ast.Expr, hint Type, allowGeneric bool) exprKind {
    	if check.conf._Trace {
    		check.trace(e.Pos(), "-- expr %s", e)
    		check.indent++
    		defer func() {
    			check.indent--
    			check.trace(e.Pos(), "=> %s", x)
    		}()
    	}
    
    	kind := check.exprInternal(T, x, e, hint)
    
    	if !allowGeneric {
    		check.nonGeneric(T, x)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/expr.go

    // parameterized type or function value.
    func (check *Checker) rawExpr(T *target, x *operand, e syntax.Expr, hint Type, allowGeneric bool) exprKind {
    	if check.conf.Trace {
    		check.trace(e.Pos(), "-- expr %s", e)
    		check.indent++
    		defer func() {
    			check.indent--
    			check.trace(e.Pos(), "=> %s", x)
    		}()
    	}
    
    	kind := check.exprInternal(T, x, e, hint)
    
    	if !allowGeneric {
    		check.nonGeneric(T, x)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/token_string.go

    	_ = x[_Operator-4]
    	_ = x[_AssignOp-5]
    	_ = x[_IncOp-6]
    	_ = x[_Assign-7]
    	_ = x[_Define-8]
    	_ = x[_Arrow-9]
    	_ = x[_Star-10]
    	_ = x[_Lparen-11]
    	_ = x[_Lbrack-12]
    	_ = x[_Lbrace-13]
    	_ = x[_Rparen-14]
    	_ = x[_Rbrack-15]
    	_ = x[_Rbrace-16]
    	_ = x[_Comma-17]
    	_ = x[_Semi-18]
    	_ = x[_Colon-19]
    	_ = x[_Dot-20]
    	_ = x[_DotDotDot-21]
    	_ = x[_Break-22]
    	_ = x[_Case-23]
    	_ = x[_Chan-24]
    	_ = x[_Const-25]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 29 02:28:24 UTC 2020
    - 1.7K bytes
    - Viewed (0)
Back to top