Home
last modified time | relevance | path

Searched refs:Comments (Results 1 – 9 of 9) sorted by relevance

/build/blueprint/parser/
Dsort.go32 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
Dparser_test.go443 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 …]
Dprinter.go49 comments: file.Comments,
240 if c.Comments[0].Comment[0][0:2] == "//" || len(c.Comments[0].Comment) > 1 {
328 for _, comment := range cg.Comments {
Dast.go412 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() }
Dparser.go43 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/
Dandroidmk.go53 Comments: []*bpparser.Comment{
212 Comments: file.comments,
/build/soong/docs/
Dmap_files.md32 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/
Dmicrofactory.go297 for _, commentGroup := range astFile.Comments {
/build/soong/
DREADME.md81 ### Comments subsection