Skip to content
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
2 changes: 1 addition & 1 deletion .github/generated/ast_changes_watch_list.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Auto-generated code, DO NOT EDIT DIRECTLY!
# To edit this generated file you have to edit `tasks/ast_tools/src/main.rs`
# To edit this generated file you have to edit `tasks/ast_tools/src/main.rs`.

src:
- '.github/generated/ast_changes_watch_list.yml'
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast/src/generated/assert_layouts.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/assert_layouts.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/assert_layouts.rs`.

#![allow(unused_imports)]

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast/src/generated/ast_builder.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/ast_builder.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/ast_builder.rs`.

//! AST node factories

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast/src/generated/ast_kind.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/ast_kind.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/ast_kind.rs`.

#![expect(missing_docs)]
// FIXME (in ast_tools/src/generators/ast_kind.rs)
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast/src/generated/derive_clone_in.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/clone_in.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/clone_in.rs`.

#![allow(unused_variables, clippy::default_trait_access, clippy::inline_always)]

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast/src/generated/derive_content_eq.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/content_eq.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/content_eq.rs`.

#![allow(clippy::match_same_arms)]

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast/src/generated/derive_dummy.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/dummy.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/dummy.rs`.

#![allow(unused_variables, clippy::inline_always)]

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast/src/generated/derive_estree.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/estree.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/estree.rs`.

#![allow(unused_imports, clippy::match_same_arms, clippy::semicolon_if_nothing_returned)]

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast/src/generated/derive_get_address.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/get_address.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/get_address.rs`.

#![expect(clippy::match_same_arms)]

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast/src/generated/derive_get_span.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/get_span.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/get_span.rs`.

#![expect(clippy::match_same_arms)]

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast/src/generated/derive_get_span_mut.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/get_span.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/get_span.rs`.

#![expect(clippy::match_same_arms)]

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast/src/generated/derive_take_in.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/take_in.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/take_in.rs`.

#![allow(clippy::needless_lifetimes)]

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast/src/generated/get_id.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/get_id.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/get_id.rs`.

use oxc_syntax::{reference::ReferenceId, scope::ScopeId, symbol::SymbolId};

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast_macros/src/generated/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/main.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/main.rs`.

use proc_macro2::TokenStream;
use quote::quote;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/utf8_to_utf16.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/utf8_to_utf16.rs`.

use oxc_ast::ast::*;
use oxc_span::GetSpan;
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast_visit/src/generated/visit.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/visit.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/visit.rs`.

//! Visitor Pattern
//!
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast_visit/src/generated/visit_mut.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/visit.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/visit.rs`.

//! Visitor Pattern
//!
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_formatter/src/generated/format.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/formatter.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/formatter.rs`.

#![allow(clippy::undocumented_unsafe_blocks)]
use oxc_ast::{AstKind, ast::*};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/assert_layouts.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/assert_layouts.rs`.

#![allow(unused_imports)]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/clone_in.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/clone_in.rs`.

#![allow(unused_variables, clippy::default_trait_access, clippy::inline_always)]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/content_eq.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/content_eq.rs`.

#![allow(clippy::match_same_arms)]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/estree.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/estree.rs`.

#![allow(unused_imports, clippy::match_same_arms, clippy::semicolon_if_nothing_returned)]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/get_address.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/get_address.rs`.

#![expect(clippy::match_same_arms)]

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_span/src/generated/assert_layouts.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/assert_layouts.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/assert_layouts.rs`.

#![allow(unused_imports)]

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_span/src/generated/derive_dummy.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/dummy.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/dummy.rs`.

#![allow(unused_variables, clippy::inline_always)]

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_span/src/generated/derive_estree.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/estree.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/estree.rs`.

#![allow(unused_imports, clippy::match_same_arms, clippy::semicolon_if_nothing_returned)]

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_syntax/src/generated/assert_layouts.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/assert_layouts.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/assert_layouts.rs`.

#![allow(unused_imports)]

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_syntax/src/generated/derive_clone_in.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/clone_in.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/clone_in.rs`.

#![allow(unused_variables, clippy::default_trait_access, clippy::inline_always)]

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_syntax/src/generated/derive_content_eq.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/content_eq.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/content_eq.rs`.

#![allow(clippy::match_same_arms)]

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_syntax/src/generated/derive_dummy.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/dummy.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/dummy.rs`.

#![allow(unused_variables, clippy::inline_always)]

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_syntax/src/generated/derive_estree.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/estree.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/estree.rs`.

#![allow(unused_imports, clippy::match_same_arms, clippy::semicolon_if_nothing_returned)]

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_traverse/src/generated/scopes_collector.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/scopes_collector.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/scopes_collector.rs`.

#![expect(
unused_variables,
Expand Down
2 changes: 1 addition & 1 deletion napi/parser/generated/deserialize/js.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/raw_transfer.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/raw_transfer.rs`.

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion napi/parser/generated/deserialize/ts.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/raw_transfer.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/raw_transfer.rs`.

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion napi/parser/src/generated/assert_layouts.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/assert_layouts.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/assert_layouts.rs`.

#![allow(unused_imports)]

Expand Down
2 changes: 1 addition & 1 deletion napi/parser/src/generated/derive_estree.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/estree.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/derives/estree.rs`.

#![allow(unused_imports, clippy::match_same_arms, clippy::semicolon_if_nothing_returned)]

Expand Down
2 changes: 1 addition & 1 deletion npm/oxc-types/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/typescript.rs`
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/typescript.rs`.

export interface Program extends Span {
type: 'Program';
Expand Down
2 changes: 1 addition & 1 deletion tasks/ast_tools/src/output/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub fn output_path(krate: &str, path: &str) -> String {
fn add_header(code: &str, generator_path: &str, comment_start: &str) -> String {
format!(
"{comment_start} Auto-generated code, DO NOT EDIT DIRECTLY!\n\
{comment_start} To edit this generated file you have to edit `{generator_path}`\n\n\
{comment_start} To edit this generated file you have to edit `{generator_path}`.\n\n\
{code}"
)
}
Expand Down
Loading