Lines Matching refs:Comment
412 Comments []*Comment
418 type Comment struct { struct
419 Comment []string member
423 func (c Comment) Pos() scanner.Position { argument
427 func (c Comment) End() scanner.Position { argument
429 for _, comment := range c.Comment {
433 pos.Line += len(c.Comment) - 1
437 func (c Comment) String() string { argument
439 for _, comment := range c.Comment {
443 for _, comment := range c.Comment {
452 func (c Comment) Text() string { argument
454 for _, comment := range c.Comment {
460 if strings.HasPrefix(c.Comment[0], "/*") {
464 for i, comment := range c.Comment {
469 if i == len(c.Comment)-1 {