Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 156 for Lbrace (0.22 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    		children = append(children,
    			tok(n.TokPos, len(n.Tok.String())))
    
    	case *ast.IndexExpr:
    		children = append(children,
    			tok(n.Lbrack, len("[")),
    			tok(n.Rbrack, len("]")))
    
    	case *ast.IndexListExpr:
    		children = append(children,
    			tok(n.Lbrack, len("[")),
    			tok(n.Rbrack, len("]")))
    
    	case *ast.InterfaceType:
    		children = append(children,
    			tok(n.Interface, len("interface")))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/GrammarToTree.kt

            check(blockNodes.size >= 2) // first and last nodes are the opening an¡¡d closing braces
    
            val openBrace = blockNodes.first()
            openBrace.expectKind(LBRACE)
    
            val closingBrace = blockNodes.last()
            closingBrace.expectKind(RBRACE)
    
            return blockNodes.slice(1..blockNodes.size - 2)
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 31.2K 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/cmd/compile/internal/syntax/parser.go

    		s.Body = append(s.Body, p.caseClause())
    	}
    	s.Rbrace = p.pos()
    	p.want(_Rbrace)
    
    	return s
    }
    
    func (p *parser) selectStmt() *SelectStmt {
    	if trace {
    		defer p.trace("selectStmt")()
    	}
    
    	s := new(SelectStmt)
    	s.pos = p.pos()
    
    	p.want(_Select)
    	if !p.got(_Lbrace) {
    		p.syntaxError("missing { after select clause")
    		p.advance(_Case, _Default, _Rbrace)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
Back to top