Position$Typings extension

on

Properties

character num

Available on Position, provided by the Position$Typings extension

The zero-based character value.
no setter
line num

Available on Position, provided by the Position$Typings extension

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

Available on Position, provided by the Position$Typings extension

Overload accessor: $1, $2
no setter
with$ → ({Position Function(IInline1 change) $1, Position Function([num? line, num? character]) $2})

Available on Position, provided by the Position$Typings extension

Overload accessor: $1, $2
no setter

Methods

compareTo(Position other) num

Available on Position, provided by the Position$Typings extension

Compare this to other.
isAfter(Position other) bool

Available on Position, provided by the Position$Typings extension

Check if this position is after other.
isAfterOrEqual(Position other) bool

Available on Position, provided by the Position$Typings extension

Check if this position is after or equal to other.
isBefore(Position other) bool

Available on Position, provided by the Position$Typings extension

Check if this position is before other.
isBeforeOrEqual(Position other) bool

Available on Position, provided by the Position$Typings extension

Check if this position is before or equal to other.
isEqual(Position other) bool

Available on Position, provided by the Position$Typings extension

Check if this position is equal to other.