const classpetanque::Span
sys::Obj petanque::Span
Span represents a span of text between two Pos
- containsLine
Does this span contain specified line
- end
const Pos endExclusive end position
- equals
virtual override Bool equals(Obj? that)Equality is based on start, end
- hash
virtual override Int hash()Hash based on line and col
- make
Construct with inclusive start and exclusive end. If end is before start they are automatically swizzled.
- makeInts
new makeInts(Int startLine, Int startCol, Int endLine, Int endCol)Construct with inclusive start and exclusive end
- start
const Pos startInclusive start position
- toStr
virtual override Str toStr()Return zero based "line:col-line:col"