Skip to content

Commit cf16ecc

Browse files
committed
Changed naming to more descriptive structured_cst
1 parent 0d62d30 commit cf16ecc

File tree

17 files changed

+23
-23
lines changed

17 files changed

+23
-23
lines changed

Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ members = [
5050

5151
"crates/solidity-v2/inputs/language",
5252

53-
"crates/solidity-v2/outputs/cargo/ast",
53+
"crates/solidity-v2/outputs/cargo/cst",
5454
"crates/solidity-v2/outputs/cargo/common",
5555
"crates/solidity-v2/outputs/cargo/parser",
5656
]
@@ -65,7 +65,7 @@ codegen_runner = { path = "crates/codegen/runner", version = "1.3.1" }
6565
codegen_spec = { path = "crates/codegen/spec", version = "1.3.1" }
6666
codegen_testing = { path = "crates/codegen/testing", version = "1.3.1" }
6767

68-
codegen_v2_ast = { path = "crates/codegen-v2/ast", version = "1.3.1" }
68+
codegen_v2_cst = { path = "crates/codegen-v2/cst", version = "1.3.1" }
6969
codegen_v2_parser = { path = "crates/codegen-v2/parser", version = "1.3.1" }
7070

7171
infra_cli = { path = "crates/infra/cli", version = "1.3.1" }
@@ -103,7 +103,7 @@ solidity_testing_utils = { path = "crates/solidity/testing/utils", version = "1.
103103

104104
solidity_v2_language = { path = "crates/solidity-v2/inputs/language", version = "1.3.1" }
105105

106-
slang_solidity_v2_ast = { path = "crates/solidity-v2/outputs/cargo/ast", version = "1.3.1" }
106+
slang_solidity_v2_cst = { path = "crates/solidity-v2/outputs/cargo/cst", version = "1.3.1" }
107107
slang_solidity_v2_common = { path = "crates/solidity-v2/outputs/cargo/common", version = "1.3.1" }
108108
slang_solidity_v2_parser = { path = "crates/solidity-v2/outputs/cargo/parser", version = "1.3.1" }
109109

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
2-
name = "codegen_v2_ast"
3-
description = "Utilities to generate an AST from a language definition."
2+
name = "codegen_v2_cst"
3+
description = "Utilities to generate a structured CST from a language definition."
44
version.workspace = true
55
rust-version.workspace = true
66
edition.workspace = true
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//! This model abstracts away some details from our language definition in order to
2-
//! facilitate generation of AST structures
2+
//! facilitate generation of CST structures
33
//!
44
//! Note: This is a copy of the model in v1 (crates/codegen/generator/src/ir/model.rs) with
55
//! some small changes

crates/codegen/generator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ publish = false
88
[dependencies]
99
anyhow = { workspace = true }
1010
codegen_ebnf = { workspace = true }
11-
codegen_v2_ast = { workspace = true }
11+
codegen_v2_cst = { workspace = true }
1212
codegen_v2_parser = { workspace = true }
1313
indexmap = { workspace = true }
1414
Inflector = { workspace = true }

crates/codegen/generator/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use std::collections::{BTreeMap, BTreeSet};
99
use std::path::Path;
1010

1111
use anyhow::Result;
12-
use codegen_v2_ast::ir::model::IrModel as IrModelV2;
12+
use codegen_v2_cst::ir::model::IrModel as IrModelV2;
1313
use codegen_v2_parser::ParserModel as ParserModelV2;
1414
use indexmap::IndexSet;
1515
use infra_utils::cargo::CargoWorkspace;

crates/codegen/runner/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ fn main() {
4747
generate_in_place_v2(
4848
&mut CodegenFileSystem::default(),
4949
&SolidityDefinitionV2::create(),
50-
"slang_solidity_v2_ast",
50+
"slang_solidity_v2_cst",
5151
)
5252
},
5353
|| {

crates/solidity-v2/outputs/cargo/ast/src/lib.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)