From 9a6e0e33df433d5524c137709f3a89241563afde Mon Sep 17 00:00:00 2001 From: Igor Matuszewski Date: Mon, 20 Nov 2023 19:32:36 +0100 Subject: [PATCH] Stop generating visitor.rs --- crates/codegen/parser/generator/src/code_generator.rs | 1 - crates/codegen/parser/runtime/src/templates/mod.rs.jinja2 | 1 - crates/solidity/outputs/cargo/crate/src/generated/mod.rs | 1 - crates/solidity/outputs/cargo/crate/src/generated/visitor.rs | 1 - crates/solidity/outputs/npm/crate/src/generated/mod.rs | 1 - crates/solidity/outputs/npm/crate/src/generated/visitor.rs | 1 - 6 files changed, 6 deletions(-) delete mode 100644 crates/solidity/outputs/cargo/crate/src/generated/visitor.rs delete mode 100644 crates/solidity/outputs/npm/crate/src/generated/visitor.rs diff --git a/crates/codegen/parser/generator/src/code_generator.rs b/crates/codegen/parser/generator/src/code_generator.rs index 63fb5c578b..59c23460b4 100644 --- a/crates/codegen/parser/generator/src/code_generator.rs +++ b/crates/codegen/parser/generator/src/code_generator.rs @@ -113,7 +113,6 @@ impl CodeGenerator { "parse_error.rs", "parse_output.rs", "text_index.rs", - "visitor.rs", "napi/napi_cst.rs", "napi/napi_cursor.rs", "napi/napi_parse_error.rs", diff --git a/crates/codegen/parser/runtime/src/templates/mod.rs.jinja2 b/crates/codegen/parser/runtime/src/templates/mod.rs.jinja2 index 711c87092a..4bb91487cf 100644 --- a/crates/codegen/parser/runtime/src/templates/mod.rs.jinja2 +++ b/crates/codegen/parser/runtime/src/templates/mod.rs.jinja2 @@ -9,7 +9,6 @@ pub(crate) mod lexer; pub mod parse_error; pub mod parse_output; pub mod text_index; -pub mod visitor; #[cfg(feature = "slang_napi_interfaces")] pub mod napi; diff --git a/crates/solidity/outputs/cargo/crate/src/generated/mod.rs b/crates/solidity/outputs/cargo/crate/src/generated/mod.rs index 45a9519857..aa488c9b16 100644 --- a/crates/solidity/outputs/cargo/crate/src/generated/mod.rs +++ b/crates/solidity/outputs/cargo/crate/src/generated/mod.rs @@ -11,7 +11,6 @@ pub(crate) mod lexer; pub mod parse_error; pub mod parse_output; pub mod text_index; -pub mod visitor; #[cfg(feature = "slang_napi_interfaces")] pub mod napi; diff --git a/crates/solidity/outputs/cargo/crate/src/generated/visitor.rs b/crates/solidity/outputs/cargo/crate/src/generated/visitor.rs deleted file mode 100644 index b8a2159452..0000000000 --- a/crates/solidity/outputs/cargo/crate/src/generated/visitor.rs +++ /dev/null @@ -1 +0,0 @@ -// This file is generated automatically by infrastructure scripts. Please don't edit by hand. diff --git a/crates/solidity/outputs/npm/crate/src/generated/mod.rs b/crates/solidity/outputs/npm/crate/src/generated/mod.rs index 45a9519857..aa488c9b16 100644 --- a/crates/solidity/outputs/npm/crate/src/generated/mod.rs +++ b/crates/solidity/outputs/npm/crate/src/generated/mod.rs @@ -11,7 +11,6 @@ pub(crate) mod lexer; pub mod parse_error; pub mod parse_output; pub mod text_index; -pub mod visitor; #[cfg(feature = "slang_napi_interfaces")] pub mod napi; diff --git a/crates/solidity/outputs/npm/crate/src/generated/visitor.rs b/crates/solidity/outputs/npm/crate/src/generated/visitor.rs deleted file mode 100644 index b8a2159452..0000000000 --- a/crates/solidity/outputs/npm/crate/src/generated/visitor.rs +++ /dev/null @@ -1 +0,0 @@ -// This file is generated automatically by infrastructure scripts. Please don't edit by hand.