Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for formatDocComment (0.1 sec)

  1. src/go/printer/printer.go

    			p.posFor(p.comment.Pos()).Column == 1 &&
    			p.posFor(p.comment.End()+1) == next {
    			// Unindented comment abutting next token position:
    			// a top-level doc comment.
    			list = formatDocComment(list)
    			changed = true
    
    			if len(p.comment.List) > 0 && len(list) == 0 {
    				// The doc comment was removed entirely.
    				// Keep preceding whitespace.
    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