- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for Rbrace (0.13 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) -
src/go/ast/ast.go
func (x *CompositeLit) End() token.Pos { return x.Rbrace + 1 } func (x *ParenExpr) End() token.Pos { return x.Rparen + 1 } func (x *SelectorExpr) End() token.Pos { return x.Sel.End() } func (x *IndexExpr) End() token.Pos { return x.Rbrack + 1 } func (x *IndexListExpr) End() token.Pos { return x.Rbrack + 1 } func (x *SliceExpr) End() token.Pos { return x.Rbrack + 1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 21:32:41 UTC 2024 - 35.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/stmt.go
func (check *Checker) funcBody(decl *declInfo, name string, sig *Signature, body *syntax.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.7K bytes - Viewed (0) -
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) -
src/cmd/compile/internal/rangefunc/rewrite.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 41.6K bytes - Viewed (0) -
src/cmd/cover/cover.go
clause := n.(*ast.CommClause) f.addCounters(clause.Colon+1, clause.Colon+1, clause.End(), clause.Body, false) } return f } } f.addCounters(n.Lbrace, n.Lbrace+1, n.Rbrace+1, n.List, true) // +1 to step past closing brace. case *ast.IfStmt: if n.Init != nil { ast.Walk(f, n.Init) } ast.Walk(f, n.Cond) ast.Walk(f, n.Body) if n.Else == nil { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 34.5K bytes - Viewed (0) -
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) -
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) -
src/runtime/trace.go
buf.link = trace.empty trace.empty = buf trace.reading = nil } // Write trace header. if !trace.headerWritten { trace.headerWritten = true unlock(&trace.lock) return []byte("go 1.23 trace\x00\x00\x00"), false } // Read the next buffer. if trace.readerGen.Load() == 0 { trace.readerGen.Store(1) } var gen uintptr for { assertLockHeld(&trace.lock)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 37.1K bytes - Viewed (0) -
src/testing/testing_test.go
t.Run("subsub1", func(t *testing.T) { t.Parallel() doRace() c1 <- true }) t.Run("subsub2", func(t *testing.T) { t.Parallel() doRace() <-c1 }) }) doRace() return } out := runTest(t, "TestRaceSubReports") // There should be three race reports: one for each subtest, and one for the // race after the subtests complete. Note that because the subtests run in
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 19.3K bytes - Viewed (0)