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

Cleanup from #82. #88

Merged
merged 1 commit into from
Apr 16, 2024
Merged
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
16 changes: 0 additions & 16 deletions crates/wac-graph/src/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,22 +415,6 @@ impl fmt::Debug for Edge {
}
}

/// Represents information about a node in a composition graph.
pub struct NodeInfo<'a> {
/// The item kind of the node.
pub kind: ItemKind,
/// The optional name of the node.
pub name: Option<&'a str>,
/// The package associated with the node.
pub package: Option<PackageId>,
/// The export name of the node.
///
/// If the node is not exported, this field will be `None`.
pub export: Option<&'a str>,
/// Whether or not the node is from a type definition.
pub definition: bool,
}

/// Represents a composition graph.
///
/// A composition graph is a directed acyclic graph (DAG) that represents a WebAssembly composition.
Expand Down
Loading