Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 156 for Rbrace (0.2 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/PluginsBlockInterpreterTest.kt

                """java""",
                "Expecting token of type RBRACE, but got IDENTIFIER ('java') instead"
            )
        }
    
        @Test
        fun `unsupported syntax - version catalog alias`() {
            assertDynamicInterpretationOf(
                """alias(libs.plugins.jmh)""",
                "Expecting token of type RBRACE, but got IDENTIFIER ('alias') instead"
            )
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 15:15:27 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/PluginsBlockInterpreter.kt

    package org.gradle.kotlin.dsl.execution
    
    import org.gradle.kotlin.dsl.support.expectedKotlinDslPluginsVersion
    import org.jetbrains.kotlin.lexer.KtTokens.DOT
    import org.jetbrains.kotlin.lexer.KtTokens.LBRACE
    import org.jetbrains.kotlin.lexer.KtTokens.RBRACE
    
    
    internal
    sealed class PluginsBlockInterpretation {
    
        /**
         * The `plugins` block applies exactly the given list of [plugins].
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Lexer.kt

    import org.jetbrains.kotlin.lexer.KtTokens.COMMENTS
    import org.jetbrains.kotlin.lexer.KtTokens.IDENTIFIER
    import org.jetbrains.kotlin.lexer.KtTokens.LBRACE
    import org.jetbrains.kotlin.lexer.KtTokens.PACKAGE_KEYWORD
    import org.jetbrains.kotlin.lexer.KtTokens.RBRACE
    import org.jetbrains.kotlin.lexer.KtTokens.WHITE_SPACE
    
    
    internal
    abstract class UnexpectedBlock(message: String) : RuntimeException(message) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  7. .idea/dictionaries/valentin.xml

          <w>immediates</w>
          <w>initializers</w>
          <w>inserter</w>
          <w>negatable</w>
          <w>pparent</w>
          <w>precheck</w>
          <w>prioritizer</w>
          <w>processings</w>
          <w>rbrace</w>
          <w>rbracket</w>
          <w>renderers</w>
          <w>rparenth</w>
          <w>selectioner</w>
          <w>smartcast</w>
          <w>summand</w>
          <w>unpluralize</w>
          <w>weighers</w>
        </words>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Sep 13 14:46:16 UTC 2016
    - 605 bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/positions.go

    			return n.Pos()
    		case *IfStmt:
    			if n.Else != nil {
    				m = n.Else
    				continue
    			}
    			m = n.Then
    		case *ForStmt:
    			m = n.Body
    		case *SwitchStmt:
    			return n.Rbrace
    		case *SelectStmt:
    			return n.Rbrace
    
    		// helper nodes
    		case *RangeClause:
    			m = n.X
    		case *CaseClause:
    			if l := lastStmt(n.Body); l != nil {
    				m = l
    				continue
    			}
    			return n.Colon
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. src/go/token/token.go

    	GTR    // >
    	ASSIGN // =
    	NOT    // !
    
    	NEQ      // !=
    	LEQ      // <=
    	GEQ      // >=
    	DEFINE   // :=
    	ELLIPSIS // ...
    
    	LPAREN // (
    	LBRACK // [
    	LBRACE // {
    	COMMA  // ,
    	PERIOD // .
    
    	RPAREN    // )
    	RBRACK    // ]
    	RBRACE    // }
    	SEMICOLON // ;
    	COLON     // :
    	operator_end
    
    	keyword_beg
    	// Keywords
    	BREAK
    	CASE
    	CHAN
    	CONST
    	CONTINUE
    
    	DEFAULT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/nodes.go

    		Post SimpleStmt
    		Body *BlockStmt
    		stmt
    	}
    
    	SwitchStmt struct {
    		Init   SimpleStmt
    		Tag    Expr // incl. *TypeSwitchGuard
    		Body   []*CaseClause
    		Rbrace Pos
    		stmt
    	}
    
    	SelectStmt struct {
    		Body   []*CommClause
    		Rbrace Pos
    		stmt
    	}
    )
    
    type (
    	RangeClause struct {
    		Lhs Expr // nil means no Lhs = or Lhs :=
    		Def bool // means :=
    		X   Expr // range X
    		simpleStmt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top