pub struct JavaScriptIR {
pub module_system: ModuleSystem,
pub has_module_exports: bool,
pub require_calls: Vec<String>,
pub function_calls: Vec<FunctionCall>,
}Expand description
JavaScript-specific IR details.
Fields§
§module_system: ModuleSystem§has_module_exports: bool§require_calls: 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. require calls are excluded
(already captured in require_calls).
Trait Implementations§
Source§impl Clone for JavaScriptIR
impl Clone for JavaScriptIR
Source§fn clone(&self) -> JavaScriptIR
fn clone(&self) -> JavaScriptIR
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JavaScriptIR
impl Debug for JavaScriptIR
Source§impl Default for JavaScriptIR
impl Default for JavaScriptIR
Source§fn default() -> JavaScriptIR
fn default() -> JavaScriptIR
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JavaScriptIR
impl<'de> Deserialize<'de> for JavaScriptIR
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 JavaScriptIR
impl RefUnwindSafe for JavaScriptIR
impl Send for JavaScriptIR
impl Sync for JavaScriptIR
impl Unpin for JavaScriptIR
impl UnsafeUnpin for JavaScriptIR
impl UnwindSafe for JavaScriptIR
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