- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for linesFrom (0.1 sec)
-
src/go/printer/printer.go
func (p *printer) recordLine(linePtr *int) { p.linePtr = linePtr } // linesFrom returns the number of output lines between the current // output line and the line argument, ignoring any pending (not yet // emitted) whitespace or comments. It is used to compute an accurate // size (in number of lines) for a formatted construct. func (p *printer) linesFrom(line int) int { return p.out.Line - line }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 41.6K bytes - Viewed (0)