github.com/yuin/goldmark/text.Segments.At (method)
29 uses
github.com/yuin/goldmark/text (current package)
reader.go#L284: last := r.segments.At(r.segmentsLength - 1)
reader.go#L304: if seg.Start >= r.segments.At(line).Start {
reader.go#L310: s := r.segments.At(line)
reader.go#L338: firstSegment := r.segments.At(0)
reader.go#L430: s := r.segments.At(line)
reader.go#L437: s := r.segments.At(line)
segment.go#L181: func (s *Segments) At(i int) Segment {
github.com/yuin/goldmark/ast
ast.go#L446: line := v.Lines().At(i)
block.go#L466: s := n.Lines().At(i)
inline.go#L528: segment := n.Segments.At(i)
github.com/yuin/goldmark/extension
definition_list.go#L134: segment := lines.At(i)
table.go#L155: alignments := b.parseDelimiter(lines.At(i), reader)
table.go#L159: header := b.parseRow(lines.At(i-1), alignments, true, reader, pc)
table.go#L167: table.AppendChild(table, b.parseRow(lines.At(j), alignments, false, reader, pc))
table.go#L174: last := node.Lines().At(i - 2)
github.com/yuin/goldmark/parser
atx_heading.go#L196: lastLine := node.Lines().At(lastIndex)
atx_heading.go#L208: lastLine := node.Lines().At(lastIndex)
code_block.go#L69: line := lines.At(length)
html_block.go#L168: firstLine := lines.At(0)
html_block.go#L197: firstLine := lines.At(0)
paragraph.go#L56: lastLine := node.Lines().At(length - 1)
setext_headings.go#L82: segment := node.Lines().At(0)
github.com/yuin/goldmark/renderer/html
html.go#L192: line := n.Lines().At(i)
html.go#L298: line := n.Lines().At(i)
html.go#L594: segment := n.Segments.At(i)
golang.org/x/pkgsite/internal/frontend
goldmark.go#L124: line := n.Lines().At(i)
goldmark.go#L154: segment := n.Segments.At(i)
styleguide.go#L154: line := n.Lines().At(i)
styleguide.go#L162: line := n.Lines().At(i)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |