Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for commentsHaveNewline (0.2 sec)

  1. src/go/printer/printer.go

    		fmt.Println(msg...)
    		panic("go/printer")
    	}
    }
    
    // commentsHaveNewline reports whether a list of comments belonging to
    // an *ast.CommentGroup contains newlines. Because the position information
    // may only be partially correct, we also have to read the comment text.
    func (p *printer) commentsHaveNewline(list []*ast.Comment) bool {
    	// len(list) > 0
    	line := p.lineFor(list[0].Pos())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
Back to top