code: func (w *writer) beforeLineEnd(c *ast.Comment) {
  	if w.beforeEnd != nil {
  		if c == nil {
  			return
  		}
  		panic("overwriting non-nil beforeEnd")
  	}
  	w.beforeEnd = c
  }
docs: // beforeLineEnd registers a comment to be printed at the end of the current line.