#[non_exhaustive]pub struct StashGraph {
pub packages: Vec<PackageStash>,
pub inheritance_edges: Vec<PackageInheritanceEdge>,
pub export_declarations: Vec<ExportDeclaration>,
pub dynamic_boundaries: Vec<StashDynamicBoundary>,
}Expand description
HIR-local package stash graph for compiler-substrate proof.
This graph is intentionally parser-core-local. It records package/stash facts with provenance and confidence, but no LSP provider consumes it yet.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.packages: Vec<PackageStash>Package stashes in stable first-seen order.
inheritance_edges: Vec<PackageInheritanceEdge>Inheritance edges in stable source order.
export_declarations: Vec<ExportDeclaration>Static Exporter-style declarations in stable source order.
dynamic_boundaries: Vec<StashDynamicBoundary>Dynamic stash boundaries in stable source order.
Implementations§
Source§impl StashGraph
impl StashGraph
Sourcepub fn export_sets(&self) -> Vec<ExportSet>
pub fn export_sets(&self) -> Vec<ExportSet>
Project static HIR/stash export declarations into canonical export facts.
This is a compiler-substrate projection only. It does not execute Perl, inspect the filesystem, or change workspace/LSP provider behavior.
Sourcepub fn constant_table(&self) -> ConstantTable
pub fn constant_table(&self) -> ConstantTable
Project static constant-like code slots into a compile-time constant table.
The table is a compiler-substrate receipt only. It records facts already present in the stash graph and does not execute Perl, evaluate constant values, or change provider behavior.
Trait Implementations§
Source§impl Clone for StashGraph
impl Clone for StashGraph
Source§fn clone(&self) -> StashGraph
fn clone(&self) -> StashGraph
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StashGraph
impl Debug for StashGraph
Source§impl Default for StashGraph
impl Default for StashGraph
Source§fn default() -> StashGraph
fn default() -> StashGraph
Source§impl PartialEq for StashGraph
impl PartialEq for StashGraph
Source§fn eq(&self, other: &StashGraph) -> bool
fn eq(&self, other: &StashGraph) -> bool
self and other values to be equal, and is used by ==.