go/token.File.LineCount (method)

2 uses

	go/token (current package)
		position.go#L127: func (f *File) LineCount() int {

	go/ast
		import.go#L122: 	if endLine == endFile.LineCount() {