github.com/yuin/goldmark/text.Segment.Stop (field)
56 uses
github.com/yuin/goldmark/text (current package)
reader.go#L199: r.pos.Start = r.pos.Stop
reader.go#L204: r.pos.Stop = r.sourceLength
reader.go#L208: r.pos.Stop = i + 1
reader.go#L281: r.pos.Stop = -1
reader.go#L285: r.last = last.Stop
reader.go#L302: ret := make([]byte, 0, seg.Stop-seg.Start+1)
reader.go#L315: for ; i < seg.Stop && i < s.Stop; i++ {
reader.go#L319: if s.Stop > seg.Stop {
reader.go#L391: if n < r.pos.Stop-r.pos.Start && r.pos.Padding == 0 {
reader.go#L401: if r.pos.Start >= r.pos.Stop-1 && r.pos.Stop < r.last {
segment.go#L17: Stop int
segment.go#L27: Stop: stop,
segment.go#L36: Stop: stop,
segment.go#L44: return buffer[t.Start:t.Stop]
segment.go#L46: result := make([]byte, 0, t.Padding+t.Stop-t.Start+1)
segment.go#L48: return append(result, buffer[t.Start:t.Stop]...)
segment.go#L53: return t.Stop - t.Start + t.Padding
segment.go#L58: if t.Stop != other.Stop {
segment.go#L70: return t.Start >= t.Stop && t.Padding == 0
segment.go#L76: v := buffer[t.Start:t.Stop]
segment.go#L81: return NewSegmentPadding(t.Start, t.Stop-l, t.Padding)
segment.go#L87: v := buffer[t.Start:t.Stop]
segment.go#L89: return NewSegment(t.Start+l, t.Stop)
segment.go#L103: return NewSegmentPadding(t.Start, t.Stop, padding)
segment.go#L105: text := buffer[t.Start:t.Stop]
segment.go#L108: if start >= t.Stop-1 || width <= 0 {
segment.go#L123: return NewSegmentPadding(start, t.Stop, padding)
segment.go#L128: return NewSegmentPadding(v, t.Stop, t.Padding)
github.com/yuin/goldmark/ast
block.go#L467: fmt.Print(string(source[s.Start:s.Stop]))
inline.go#L135: if n.Segment.Stop != t.Segment.Start || t.Segment.Padding != 0 || source[n.Segment.Stop-1] == '\n' || t.IsRaw() != n.IsRaw() {
inline.go#L138: n.Segment.Stop = t.Segment.Stop
inline.go#L198: if ok && t.Segment.Stop == s.Start && !t.SoftLineBreak() {
inline.go#L199: t.Segment = t.Segment.WithStop(s.Stop)
inline.go#L209: if t, ok := prev.(*Text); ok && t.Segment.Stop == s.Start && !t.SoftLineBreak() {
inline.go#L210: t.Segment = t.Segment.WithStop(s.Stop)
github.com/yuin/goldmark/extension
table.go#L175: last.Stop = last.Stop - 1 // trim last newline(\n)
table.go#L311: if ts.Start <= pos && pos < ts.Stop {
github.com/yuin/goldmark/parser
atx_heading.go#L240: lastLine.Stop = lastLine.Start + start.Start
code_block.go#L90: reader.SetPosition(sl, text.NewSegment(ss.Start-1, ss.Stop))
code_span.go#L69: if !(!segment.IsEmpty() && block.Source()[segment.Stop-1] == ' ') {
code_span.go#L78: t.Segment = segment.WithStop(segment.Stop - 1)
fcode_block.go#L56: infoStart, infoStop := segment.Start-segment.Padding+i+left, segment.Stop-right
fcode_block.go#L90: reader.Advance(segment.Stop - segment.Start - newline - segment.Padding)
fcode_block.go#L96: seg := text.NewSegmentPadding(segment.Start+pos, segment.Stop, padding)
fcode_block.go#L98: reader.AdvanceAndSetPadding(segment.Stop-segment.Start-pos-1, padding)
link.go#L165: ssegment := text.NewSegment(last.Segment.Stop, segment.Start)
link.go#L237: ssegment = text.NewSegment(last.Segment.Stop, orgpos.Start-1)
parser.go#L1210: stop := diff.Stop
raw_html.go#L87: end := segment.Stop
 |
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. |