diff --git a/crates/codegen/runtime/npm/package/wasm/generated/interfaces/nomic-foundation-slang-compilation.d.ts b/crates/codegen/runtime/npm/package/wasm/generated/interfaces/nomic-foundation-slang-compilation.d.ts index 3c1a6831c1..9bf06ecee7 100644 --- a/crates/codegen/runtime/npm/package/wasm/generated/interfaces/nomic-foundation-slang-compilation.d.ts +++ b/crates/codegen/runtime/npm/package/wasm/generated/interfaces/nomic-foundation-slang-compilation.d.ts @@ -7,8 +7,8 @@ export namespace NomicFoundationSlangCompilation { } import type { BindingGraph } from "./nomic-foundation-slang-bindings.js"; export { BindingGraph }; -import type { Node } from "./nomic-foundation-slang-cst.js"; -export { Node }; +import type { NonterminalNode } from "./nomic-foundation-slang-cst.js"; +export { NonterminalNode }; import type { Cursor } from "./nomic-foundation-slang-cst.js"; export { Cursor }; /** @@ -64,7 +64,7 @@ export class File { /** * Returns the syntax tree of this file. */ - get tree(): Node; + get tree(): NonterminalNode; /** * Creates a cursor for traversing the syntax tree of this file. */ diff --git a/crates/solidity/outputs/cargo/crate/generated/public_api.txt b/crates/solidity/outputs/cargo/crate/generated/public_api.txt index 20741305c1..5fd25170bc 100644 --- a/crates/solidity/outputs/cargo/crate/generated/public_api.txt +++ b/crates/solidity/outputs/cargo/crate/generated/public_api.txt @@ -36,7 +36,7 @@ pub struct slang_solidity::compilation::File impl slang_solidity::compilation::File pub fn slang_solidity::compilation::File::create_tree_cursor(&self) -> slang_solidity::cst::Cursor pub fn slang_solidity::compilation::File::id(&self) -> &str -pub fn slang_solidity::compilation::File::tree(&self) -> &slang_solidity::cst::Node +pub fn slang_solidity::compilation::File::tree(&self) -> &alloc::rc::Rc impl core::clone::Clone for slang_solidity::compilation::File pub fn slang_solidity::compilation::File::clone(&self) -> slang_solidity::compilation::File pub struct slang_solidity::compilation::InternalCompilationBuilder diff --git a/crates/solidity/outputs/npm/package/wasm/generated/interfaces/nomic-foundation-slang-compilation.d.ts b/crates/solidity/outputs/npm/package/wasm/generated/interfaces/nomic-foundation-slang-compilation.d.ts index 3c1a6831c1..9bf06ecee7 100644 --- a/crates/solidity/outputs/npm/package/wasm/generated/interfaces/nomic-foundation-slang-compilation.d.ts +++ b/crates/solidity/outputs/npm/package/wasm/generated/interfaces/nomic-foundation-slang-compilation.d.ts @@ -7,8 +7,8 @@ export namespace NomicFoundationSlangCompilation { } import type { BindingGraph } from "./nomic-foundation-slang-bindings.js"; export { BindingGraph }; -import type { Node } from "./nomic-foundation-slang-cst.js"; -export { Node }; +import type { NonterminalNode } from "./nomic-foundation-slang-cst.js"; +export { NonterminalNode }; import type { Cursor } from "./nomic-foundation-slang-cst.js"; export { Cursor }; /** @@ -64,7 +64,7 @@ export class File { /** * Returns the syntax tree of this file. */ - get tree(): Node; + get tree(): NonterminalNode; /** * Creates a cursor for traversing the syntax tree of this file. */ diff --git a/crates/testlang/outputs/npm/package/wasm/generated/interfaces/nomic-foundation-slang-compilation.d.ts b/crates/testlang/outputs/npm/package/wasm/generated/interfaces/nomic-foundation-slang-compilation.d.ts index 3c1a6831c1..9bf06ecee7 100644 --- a/crates/testlang/outputs/npm/package/wasm/generated/interfaces/nomic-foundation-slang-compilation.d.ts +++ b/crates/testlang/outputs/npm/package/wasm/generated/interfaces/nomic-foundation-slang-compilation.d.ts @@ -7,8 +7,8 @@ export namespace NomicFoundationSlangCompilation { } import type { BindingGraph } from "./nomic-foundation-slang-bindings.js"; export { BindingGraph }; -import type { Node } from "./nomic-foundation-slang-cst.js"; -export { Node }; +import type { NonterminalNode } from "./nomic-foundation-slang-cst.js"; +export { NonterminalNode }; import type { Cursor } from "./nomic-foundation-slang-cst.js"; export { Cursor }; /** @@ -64,7 +64,7 @@ export class File { /** * Returns the syntax tree of this file. */ - get tree(): Node; + get tree(): NonterminalNode; /** * Creates a cursor for traversing the syntax tree of this file. */