with$ property

({Position Function(IInline1 change) $1, Position Function([num? line, num? character]) $2}) get with$

Overload accessor: $1, $2

Implementation

({
  /// Derived a new position from this position.
  ///
  ///  @param change An object that describes a change to this position.
  ///  @returns A position that reflects the given change. Will return `this` position if the change
  ///  is not changing anything.
  _i3.Position Function(_i3.IInline1 change) $1,

  /// Create a new position derived from this position.
  ///
  ///  @param line Value that should be used as line value, default is the {@link Position.line existing value}
  ///  @param character Value that should be used as character value, default is the {@link Position.character existing value}
  ///  @returns A position where line and character are replaced by the given values.
  _i3.Position Function([
    _i2.num? line,
    _i2.num? character,
  ]) $2,
}) get with$ => (
      $1: _with$1,
      $2: _with$2,
    );