- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for lastComment (0.22 sec)
-
src/go/doc/example.go
} newComments := make([]*ast.CommentGroup, len(comments)-1) copy(newComments, comments[:i]) copy(newComments[i:], comments[i+1:]) return newBody, newComments } // lastComment returns the last comment inside the provided block. func lastComment(b *ast.BlockStmt, c []*ast.CommentGroup) (i int, last *ast.CommentGroup) { if b == nil { return } pos, end := b.Pos(), b.End() for j, cg := range c {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 21.4K bytes - Viewed (0)