const classpetanque::Pos
sys::Obj petanque::Pos
Position in the document as zero based line and column number
- col
const Int colZero based column number
- compare
virtual override Int compare(Obj that)Compare by line, then col
- equals
virtual override Bool equals(Obj? that)Equality is based on line and col
- hash
virtual override Int hash()Hash based on line and col
- line
const Int lineZero based line number
- make
Construct with zero based line and column
- toSpan
Span toSpan()Convert to span with this pos as both start and end
- toStr
virtual override Str toStr()Return zero based "line:col"