Documentation ¶
Index ¶
- func CompareRanges(a, b Span) int
- type Span
- func (r Span) Adjacent(other Span) bool
- func (r Span) Combine(other Span) (Span, bool)
- func (r Span) Contains(i int) bool
- func (r Span) Intersect(other Span) bool
- func (r Span) IsEmpty() bool
- func (r Span) Len() int
- func (r Span) SplitAt(i int) (Span, Span)
- func (r Span) SplitOtherRange(other Span) (Span, Span, Span)
- func (r Span) String() string
- type SpanList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareRanges ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.