github.com/go-git/gcfg/token.Position.Line (field)

68 uses

	go/ast
		commentmap.go#L179: 			qpos.Line = infinity
		commentmap.go#L197: 				(pgend.Line == r.pos.Line ||
		commentmap.go#L198: 					pgend.Line+1 == r.pos.Line && r.end.Line+1 < qpos.Line):
		commentmap.go#L206: 				(pend.Line == r.pos.Line ||
		commentmap.go#L207: 					pend.Line+1 == r.pos.Line && r.end.Line+1 < qpos.Line ||
		import.go#L56: 	return fset.PositionFor(pos, false).Line

	go/build
		read.go#L36: 			Line:     1,
		read.go#L104: 		r.pos.Line++

	go/parser
		parser.go#L216: 	fmt.Printf("%5d:%3d: ", pos.Line, pos.Column)
		parser.go#L362: 		if n > 0 && p.errors[n-1].Pos.Line == epos.Line {

	go/printer
		nodes.go#L49: 	n := nlimit(line - p.pos.Line)
		nodes.go#L135: 			if prev.IsValid() && prev.Line == next.Line {
		nodes.go#L150: 	if prev.IsValid() && prev.Line == line && line == endLine {
		nodes.go#L179: 	if prev.IsValid() && prev.Line < line && p.linebreak(line, 0, ws, true) > 0 {
		nodes.go#L195: 	prevLine := prev.Line
		nodes.go#L296: 	if mode&commaTerm != 0 && next.IsValid() && p.pos.Line < next.Line {
		nodes.go#L715: 	xline := p.pos.Line // before the operator (it may be on the next line!)
		nodes.go#L1050: 	if line := p.lineFor(x.Sel.Pos()); p.pos.IsValid() && p.pos.Line < line {
		nodes.go#L1762: 	if startPos.IsValid() && p.pos.IsValid() && p.posFor(startPos).Line == p.pos.Line {
		printer.go#L97: 	p.pos = token.Position{Line: 1, Column: 1}
		printer.go#L98: 	p.out = token.Position{Line: 1, Column: 1}
		printer.go#L190: 	return p.out.Line - line
		printer.go#L201: 		p.cachedLine = p.fset.PositionFor(pos, false /* absolute position */).Line
		printer.go#L208: 	if pos.IsValid() && (p.out.Line != pos.Line || p.out.Filename != pos.Filename) {
		printer.go#L210: 		p.output = append(p.output, fmt.Sprintf("//line %s:%d\n", pos.Filename, pos.Line)...)
		printer.go#L214: 		p.out.Line = pos.Line
		printer.go#L262: 		p.pos.Line += n
		printer.go#L263: 		p.out.Line += n
		printer.go#L329: 		p.pos.Line += nlines
		printer.go#L330: 		p.out.Line += nlines
		printer.go#L365: 	if pos.Line == p.last.Line && (prev == nil || prev.Text[1] != '/') {
		printer.go#L395: 			if pos.Line == next.Line {
		printer.go#L447: 			n = pos.Line - p.last.Line
		printer.go#L767: 			last.Text[1] == '*' && p.lineFor(last.Pos()) == next.Line &&
		printer.go#L988: 			n := nlimit(next.Line - p.pos.Line)
		printer.go#L1005: 			*p.linePtr = p.out.Line
		printer.go#L1314: 	p.flush(token.Position{Offset: infinity, Line: infinity}, token.EOF)

	go/scanner
		errors.go#L60: 	if e.Line != f.Line {
		errors.go#L61: 		return e.Line < f.Line
		errors.go#L83: 		if e.Pos.Filename != last.Filename || e.Pos.Line != last.Line {

	go/token
		position.go#L23: 	Line     int    // line number, starting at 1
		position.go#L28: func (pos *Position) IsValid() bool { return pos.Line > 0 }
		position.go#L45: 		s += fmt.Sprintf("%d", pos.Line)
		position.go#L290: 	return f.Position(p).Line
		position.go#L337: 	pos.Filename, pos.Line, pos.Column = f.unpack(offset, adjusted)

	golang.org/x/pkgsite/internal/godoc
		render.go#L123: 		if p.Line == 0 { // invalid Position
		render.go#L126: 		return sourceInfo.LineURL(path.Join(innerPath, p.Filename), p.Line)