Searched refs:Comments (Results 1 – 9 of 9) sorted by relevance
/build/blueprint/parser/ |
D | sort.go | 32 sort.Sort(commentsByOffset(file.Comments)) 116 copyComments := make([]*CommentGroup, len(file.Comments)) 117 for i := range file.Comments { 118 cg := *file.Comments[i] 119 cg.Comments = make([]*Comment, len(cg.Comments)) 120 for j := range file.Comments[i].Comments { 121 c := *file.Comments[i].Comments[j] 122 cg.Comments[j] = &c 133 file.Comments[j].Comments[0].Slash.Line = curPos.Line 134 file.Comments[j].Comments[0].Slash.Offset += values[i].Pos().Offset - e.pos.Offset
|
D | parser_test.go | 443 Comments: []*Comment{ 451 Comments: []*Comment{ 459 Comments: []*Comment{ 467 Comments: []*Comment{ 1126 Comments: []*Comment{ 1138 Comments: []*Comment{ 1150 Comments: []*Comment{ 1198 if len(file.Comments) == len(testCase.comments) { 1199 for i := range file.Comments { 1200 if !reflect.DeepEqual(file.Comments[i], testCase.comments[i]) { [all …]
|
D | printer.go | 49 comments: file.Comments, 240 if c.Comments[0].Comment[0][0:2] == "//" || len(c.Comments[0].Comment) > 1 { 328 for _, comment := range cg.Comments {
|
D | ast.go | 412 Comments []*Comment member 415 func (x *CommentGroup) Pos() scanner.Position { return x.Comments[0].Pos() } 416 func (x *CommentGroup) End() scanner.Position { return x.Comments[len(x.Comments)-1].End() }
|
D | parser.go | 43 Comments []*CommentGroup member 81 Comments: comments, 162 p.comments = append(p.comments, &CommentGroup{Comments: comments}) 168 p.comments = append(p.comments, &CommentGroup{Comments: comments})
|
/build/soong/androidmk/androidmk/ |
D | androidmk.go | 53 Comments: []*bpparser.Comment{ 212 Comments: file.comments,
|
/build/soong/docs/ |
D | map_files.md | 32 Comments on the same line as either a version definition or a symbol name have 66 Comments on the same line as a version definition or a symbol name are
|
/build/blueprint/microfactory/ |
D | microfactory.go | 297 for _, commentGroup := range astFile.Comments {
|
/build/soong/ |
D | README.md | 81 ### Comments subsection
|