Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Rbrace (0.33 sec)

  1. src/go/printer/nodes.go

    }
    
    func (p *printer) fieldList(fields *ast.FieldList, isStruct, isIncomplete bool) {
    	lbrace := fields.Opening
    	list := fields.List
    	rbrace := fields.Closing
    	hasComments := isIncomplete || p.commentBefore(p.posFor(rbrace))
    	srcIsOneLine := lbrace.IsValid() && rbrace.IsValid() && p.lineFor(lbrace) == p.lineFor(rbrace)
    
    	if !hasComments && srcIsOneLine {
    		// possibly a one-line struct/interface
    		if len(list) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  2. src/go/printer/testdata/parser.go

    	p.closeLabelScope()
    	p.closeScope()
    	rbrace := p.expect(token.RBRACE)
    
    	return &ast.BlockStmt{lbrace, list, rbrace}
    }
    
    func (p *parser) parseBlockStmt() *ast.BlockStmt {
    	if p.trace {
    		defer un(trace(p, "BlockStmt"))
    	}
    
    	lbrace := p.expect(token.LBRACE)
    	p.openScope()
    	list := p.parseStmtList()
    	p.closeScope()
    	rbrace := p.expect(token.RBRACE)
    
    	return &ast.BlockStmt{lbrace, list, rbrace}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  3. src/go/parser/parser.go

    	rbrace := p.expect2(token.RBRACE)
    
    	return &ast.BlockStmt{Lbrace: lbrace, List: list, Rbrace: rbrace}
    }
    
    func (p *parser) parseBlockStmt() *ast.BlockStmt {
    	if p.trace {
    		defer un(trace(p, "BlockStmt"))
    	}
    
    	lbrace := p.expect(token.LBRACE)
    	list := p.parseStmtList()
    	rbrace := p.expect2(token.RBRACE)
    
    	return &ast.BlockStmt{Lbrace: lbrace, List: list, Rbrace: rbrace}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. kotlin-js-store/yarn.lock

      integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==
      dependencies:
        balanced-match "^1.0.0"
    
    braces@^3.0.2, braces@~3.0.2:
      version "3.0.2"
      resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 87.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    //	                 ::= fpT
    //
    //	<braced-expression> ::= <expression>
    //	                    ::= di <field source-name> <braced-expression>
    //	                    ::= dx <index expression> <braced-expression>
    //	                    ::= dX <range begin expression> <range end expression> <braced-expression>
    func (st *state) expression() AST {
    	if len(st.str) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  9. src/regexp/testdata/testregex.c

    	REG_NOMATCH,	"NOMATCH",
    	REG_BADPAT,	"BADPAT",
    	REG_ECOLLATE,	"ECOLLATE",
    	REG_ECTYPE,	"ECTYPE",
    	REG_EESCAPE,	"EESCAPE",
    	REG_ESUBREG,	"ESUBREG",
    	REG_EBRACK,	"EBRACK",
    	REG_EPAREN,	"EPAREN",
    	REG_EBRACE,	"EBRACE",
    	REG_BADBR,	"BADBR",
    	REG_ERANGE,	"ERANGE",
    	REG_ESPACE,	"ESPACE",
    	REG_BADRPT,	"BADRPT",
    	REG_ENEWLINE,	"ENEWLINE",
    	REG_ENULL,	"ENULL",
    	REG_ECOUNT,	"ECOUNT",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Preconditions.java

       *     argument. These are matched by position - the first {@code %s} gets {@code
       *     errorMessageArgs[0]}, etc. Unmatched arguments will be appended to the formatted message in
       *     square braces. Unmatched placeholders will be left as-is.
       * @param errorMessageArgs the arguments to be substituted into the message template. Arguments
       *     are converted to strings using {@link String#valueOf(Object)}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
Back to top