pub struct PythonParseResult {
pub nodes: Vec<CodeNode>,
pub imports: Vec<ImportInfo>,
}Expand description
Result of parsing a Python file with the Python-specific parser.
Fields§
§nodes: Vec<CodeNode>All code nodes extracted from the file.
Node kinds are Python-specific (PythonFunction, PythonClass, etc.).
All nodes include position metadata.
imports: Vec<ImportInfo>Import statements found (module path strings).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PythonParseResult
impl RefUnwindSafe for PythonParseResult
impl Send for PythonParseResult
impl Sync for PythonParseResult
impl Unpin for PythonParseResult
impl UnsafeUnpin for PythonParseResult
impl UnwindSafe for PythonParseResult
Blanket Implementations§
impl<T> Allocation for T
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