pub struct PythonIR {
pub has_all_export: bool,
pub is_init_file: bool,
pub type_hints_used: bool,
pub decorators: Vec<String>,
pub function_calls: Vec<FunctionCall>,
}Expand description
Python-specific IR details.
Fields§
§has_all_export: bool§is_init_file: bool§type_hints_used: bool§decorators: Vec<String>§function_calls: Vec<FunctionCall>Function and method call-sites found in this file (v7+).
Deduplicated by callee name — at most one example per unique callee. Hard limit: 500 entries per file.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PythonIR
impl<'de> Deserialize<'de> for PythonIR
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PythonIR
impl RefUnwindSafe for PythonIR
impl Send for PythonIR
impl Sync for PythonIR
impl Unpin for PythonIR
impl UnsafeUnpin for PythonIR
impl UnwindSafe for PythonIR
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