Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regenerate the dom bindings files using new api from package:code_builder #125

Merged
merged 2 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions bindings_generator/translator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -817,11 +817,8 @@ class Translator {
}

code.Library _library(_Library library) => code.Library((b) => b
..comments.addAll([
...licenseHeader,
'',
generatedFileDisclaimer,
])
..comments.addAll(licenseHeader)
..generatedByComment = generatedFileDisclaimer
..body.addAll([
for (final typedef in library.typedefs)
_typedef(typedef.name, _getRawType(typedef.idlType)),
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/accelerometer.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/ambient_light.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/anchors.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/angle_instanced_arrays.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/attribution_reporting_api.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/audio_output.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/audio_session.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/autoplay_detection.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

typedef AutoplayPolicy = String;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/background_fetch.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/background_sync.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/battery_status.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/capture_handle_identity.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/captured_mouse_events.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/clipboard_apis.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/compression.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/compute_pressure.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/console.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/contact_picker.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/content_index.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/cookie_store.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/crash_reporting.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/credential_management.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/csp.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/csp_next.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/css_anchor_position.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/css_animation_worklet.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/css_animations.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/css_animations_2.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/css_cascade.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/css_cascade_6.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/css_color_5.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/css_conditional.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/css_contain.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/css_contain_3.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/css_counter_styles.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/css_font_loading.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/css_fonts.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/css_highlight_api.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/css_layout_api.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/css_masking.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/css_nav.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dom/css_paint_api.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//

// Generated from Web IDL definitions.

import 'dart:js_interop';
Expand Down
Loading
Loading