set property

({void Function(ReadonlyArray<(Uri, List<Diagnostic>?)> entries) $1, void Function(Uri uri, [List<Diagnostic>? diagnostics]) $2}) get set

Overload accessor: $1, $2

Implementation

({
  /// Replace diagnostics for multiple resources in this collection.
  ///
  ///   _Note_ that multiple tuples of the same uri will be merged, e.g
  ///  `[[file1, [d1]], [file1, [d2]]]` is equivalent to `[[file1, [d1, d2]]]`.
  ///  If a diagnostics item is `undefined` as in `[file1, undefined]`
  ///  all previous but not subsequent diagnostics are removed.
  ///
  ///  @param entries An array of tuples, like `[[file1, [d1, d2]], [file2, [d3, d4, d5]]]`, or `undefined`.
  void Function(
      _i7.ReadonlyArray<
              (
                _i3.Uri,
                _i2.List<_i3.Diagnostic>?,
              )>
          entries) $1,

  /// Assign diagnostics for given resource. Will replace
  ///  existing diagnostics for that resource.
  ///
  ///  @param uri A resource identifier.
  ///  @param diagnostics Array of diagnostics or `undefined`
  void Function(
    _i3.Uri uri, [
    _i2.List<_i3.Diagnostic>? diagnostics,
  ]) $2,
}) get set => (
      $1: _set$1,
      $2: _set$2,
    );