pub trait ParseResult: Send + Sync {
// Required methods
fn dependencies(&self) -> Vec<&dyn Dependency>;
fn workspace_root(&self) -> Option<&Path>;
fn uri(&self) -> &Uri;
fn as_any(&self) -> &dyn Any;
}Expand description
Parse result trait containing dependencies and metadata.
Implementations hold ecosystem-specific dependency types but expose them through trait object interfaces.
Required Methods§
Sourcefn dependencies(&self) -> Vec<&dyn Dependency>
fn dependencies(&self) -> Vec<&dyn Dependency>
All dependencies found in the manifest
Sourcefn workspace_root(&self) -> Option<&Path>
fn workspace_root(&self) -> Option<&Path>
Workspace root path (for monorepo support)