github.com/yuin/goldmark/text.Segments.Len (method)

30 uses

	github.com/yuin/goldmark/text (current package)
		reader.go#L292: 	r.segmentsLength = segments.Len()
		reader.go#L335: 	if r.segments.Len() < 1 {
		segment.go#L173: func (s *Segments) Len() int {

	github.com/yuin/goldmark/ast
		ast.go#L445: 		for i := 0; i < v.Lines().Len(); i++ {
		block.go#L465: 	for i := 0; i < n.Lines().Len(); i++ {
		inline.go#L527: 	for i := 0; i < n.Segments.Len(); i++ {

	github.com/yuin/goldmark/extension
		definition_list.go#L131: 		l := lines.Len()
		table.go#L151: 	if lines.Len() < 2 {
		table.go#L154: 	for i := 1; i < lines.Len(); i++ {
		table.go#L166: 		for j := i + 1; j < lines.Len(); j++ {
		table.go#L171: 		if node.Lines().Len() == 0 {

	github.com/yuin/goldmark/parser
		atx_heading.go#L194: 	lastIndex := node.Lines().Len() - 1
		atx_heading.go#L204: 	lastIndex := node.Lines().Len() - 1
		code_block.go#L66: 	length := lines.Len() - 1
		html_block.go#L167: 		if lines.Len() == 1 {
		html_block.go#L196: 		if lines.Len() == 1 {
		link_ref.go#L34: 		if lines.Len() == 0 {
		link_ref.go#L37: 		s := lines.Sliced(remove[1]-offset, lines.Len())
		link_ref.go#L43: 	if lines.Len() == 0 {
		paragraph.go#L53: 	if lines.Len() != 0 {
		paragraph.go#L55: 		length := lines.Len()
		paragraph.go#L59: 	if lines.Len() == 0 {
		setext_headings.go#L86: 	if tmp.Lines().Len() == 0 {

	github.com/yuin/goldmark/renderer/html
		html.go#L190: 	l := n.Lines().Len()
		html.go#L296: 			l := n.Lines().Len()
		html.go#L592: 		l := n.Segments.Len()

	golang.org/x/pkgsite/internal/frontend
		goldmark.go#L122: 			l := n.Lines().Len()
		goldmark.go#L153: 		for i := 0; i < n.Segments.Len(); i++ {
		styleguide.go#L152: 	l := n.Lines().Len()
		styleguide.go#L160: 	l := n.Lines().Len()