pub struct ParseResult {
pub symbols: Vec<SymbolNode>,
pub edges: Vec<Edge>,
pub imports: Vec<RawImport>,
pub exports: Vec<Export>,
}Expand description
Output of parsing a single source file. Phase 1 of two-phase “parse then resolve” — imports are unresolved.
Fields§
§symbols: Vec<SymbolNode>§edges: Vec<Edge>§imports: Vec<RawImport>§exports: Vec<Export>Trait Implementations§
Source§impl Clone for ParseResult
impl Clone for ParseResult
Source§fn clone(&self) -> ParseResult
fn clone(&self) -> ParseResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParseResult
impl Debug for ParseResult
Source§impl Default for ParseResult
impl Default for ParseResult
Source§fn default() -> ParseResult
fn default() -> ParseResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParseResult
impl RefUnwindSafe for ParseResult
impl Send for ParseResult
impl Sync for ParseResult
impl Unpin for ParseResult
impl UnsafeUnpin for ParseResult
impl UnwindSafe for ParseResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more