- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 109 for Rbrace (0.18 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Combinators.kt
internal inline fun <T> bracket(crossinline parser: Parser<T>): Parser<T> = token(LBRACKET) * parser * token(RBRACKET) internal inline fun <T> brace(crossinline parser: Parser<T>): Parser<T> = token(LBRACE) * parser * token(RBRACE) internal fun wsOrNewLine(): Parser<Unit> = { skipWhitespace(true) unitSuccess } internal
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 12.9K bytes - Viewed (0)