Home
last modified time | relevance | path

Searched defs:CommentGroup (Results 1 – 10 of 10) sorted by relevance

/aosp_15_r20/prebuilts/go/linux-x86/src/go/ast/
Dcommentmap.go17 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 {
Dcommentmap_test.go96 func ctext(list []*CommentGroup) string {
Dast.go74 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/
Dexample.go117 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/
Dparser.go1854 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 Dast.go733 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/
Dast.go183 func commentText(g *ast.CommentGroup) string {
/aosp_15_r20/prebuilts/go/linux-x86/src/go/parser/
Dparser_test.go383 func commentText(c *ast.CommentGroup) string {
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/
Dtests.go343 func checkExampleOutput(pass *analysis.Pass, fn *ast.FuncDecl, fileComments []*ast.CommentGroup) {
/aosp_15_r20/prebuilts/go/linux-x86/src/go/printer/
Dnodes.go67 func (p *printer) setComment(g *ast.CommentGroup) {