Lines Matching refs:Comment
43 Comments []Comment
90 comments []Comment
141 for p.tok == scanner.Comment {
143 p.comments = append(p.comments, Comment{lines, p.scanner.Position})
778 type Comment struct { struct
779 Comment []string argument
783 func (c Comment) String() string { argument
785 for _, comment := range c.Comment {
789 for _, comment := range c.Comment {
798 func (c Comment) Text() string { argument
800 for _, comment := range c.Comment {
806 if strings.HasPrefix(c.Comment[0], "/*") {
810 for i, comment := range c.Comment {
815 if i == len(c.Comment)-1 {
829 func (c Comment) EndLine() int { argument
830 return c.Pos.Line + len(c.Comment) - 1