Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for linesFrom (0.09 sec)

  1. 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)
Back to top