Searched defs:CommentGroup (Results 1 – 10 of 10) sorted by relevance
/aosp_15_r20/prebuilts/go/linux-x86/src/go/ast/ |
D | commentmap.go | 17 func sortComments(list []*CommentGroup) { 28 func (cmap CommentMap) addComment(n Node, c *CommentGroup) { 136 func NewCommentMap(fset *token.FileSet, node Node, comments []*CommentGroup) CommentMap { 271 func summary(list []*CommentGroup) string {
|
D | commentmap_test.go | 96 func ctext(list []*CommentGroup) string {
|
D | ast.go | 74 type CommentGroup struct { struct 75 List []*Comment // len(List) > 0 78 func (g *CommentGroup) Pos() token.Pos { return g.List[0].Pos() } 79 func (g *CommentGroup) End() token.Pos { return g.List[len(g.List)-1].End() } 97 func (g *CommentGroup) Text() string {
|
/aosp_15_r20/prebuilts/go/linux-x86/src/go/doc/ |
D | example.go | 117 func exampleOutput(b *ast.BlockStmt, comments []*ast.CommentGroup) (output string, unordered, ok bo… 576 func stripOutputComment(body *ast.BlockStmt, comments []*ast.CommentGroup) (*ast.BlockStmt, []*ast.… 596 func lastComment(b *ast.BlockStmt, c []*ast.CommentGroup) (i int, last *ast.CommentGroup) {
|
/aosp_15_r20/prebuilts/go/linux-x86/src/go/printer/testdata/ |
D | parser.go | 1854 func parseImportSpec(p *parser, doc *ast.CommentGroup, _ int) ast.Spec { 1884 func parseConstSpec(p *parser, doc *ast.CommentGroup, iota int) ast.Spec { 1908 func parseTypeSpec(p *parser, doc *ast.CommentGroup, _ int) ast.Spec { 1929 func parseVarSpec(p *parser, doc *ast.CommentGroup, _ int) ast.Spec {
|
/aosp_15_r20/build/blueprint/parser/ |
H A D | ast.go | 733 type CommentGroup struct { struct 734 Comments []*Comment 737 func (x *CommentGroup) Pos() scanner.Position { return x.Comments[0].Pos() } 738 func (x *CommentGroup) End() scanner.Position { return x.Comments[len(x.Comments)-1].End() }
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/cgo/ |
D | ast.go | 183 func commentText(g *ast.CommentGroup) string {
|
/aosp_15_r20/prebuilts/go/linux-x86/src/go/parser/ |
D | parser_test.go | 383 func commentText(c *ast.CommentGroup) string {
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/ |
D | tests.go | 343 func checkExampleOutput(pass *analysis.Pass, fn *ast.FuncDecl, fileComments []*ast.CommentGroup) {
|
/aosp_15_r20/prebuilts/go/linux-x86/src/go/printer/ |
D | nodes.go | 67 func (p *printer) setComment(g *ast.CommentGroup) {
|