Position$Typings extension

on

Properties

character num
The zero-based character value.
no setter
line num
The zero-based line value.
no setter
translate → ({Position Function(IInline0 change) $1, Position Function([num? lineDelta, num? characterDelta]) $2})
Overload accessor: $1, $2
no setter
with$ → ({Position Function(IInline1 change) $1, Position Function([num? line, num? character]) $2})
Overload accessor: $1, $2
no setter

Methods

compareTo(Position other) num
Compare this to other.
isAfter(Position other) bool
Check if this position is after other.
isAfterOrEqual(Position other) bool
Check if this position is after or equal to other.
isBefore(Position other) bool
Check if this position is before other.
isBeforeOrEqual(Position other) bool
Check if this position is before or equal to other.
isEqual(Position other) bool
Check if this position is equal to other.