ParseResult

Trait ParseResult 

Source
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§

Source

fn dependencies(&self) -> Vec<&dyn Dependency>

All dependencies found in the manifest

Source

fn workspace_root(&self) -> Option<&Path>

Workspace root path (for monorepo support)

Source

fn uri(&self) -> &Uri

Document URI

Source

fn as_any(&self) -> &dyn Any

Downcast to concrete type for ecosystem-specific operations

Implementors§