pub struct ImportedCallSite {
pub local_name: String,
pub member_path: String,
pub first_argument: Option<String>,
pub span_start: u32,
}Expand description
A direct call whose root identifier resolves to a runtime ESM import.
Every occurrence is retained. Computed or optional callees and arbitrary value aliases are excluded; origin resolution through re-exports is deferred to analysis.
Fields§
§local_name: StringThe local root import binding used by the callee.
member_path: StringDot-separated static member suffix, empty for a bare imported call.
first_argument: Option<String>Static first string argument, or None for any other argument shape.
span_start: u32Start byte offset of this call site.
Trait Implementations§
Source§impl Clone for ImportedCallSite
impl Clone for ImportedCallSite
Source§impl Debug for ImportedCallSite
impl Debug for ImportedCallSite
impl<'__de> Decode<'__de> for ImportedCallSitewhere
'__de:,
impl Encode for ImportedCallSite
impl Eq for ImportedCallSite
Source§impl PartialEq for ImportedCallSite
impl PartialEq for ImportedCallSite
impl StructuralPartialEq for ImportedCallSite
Auto Trait Implementations§
impl Freeze for ImportedCallSite
impl RefUnwindSafe for ImportedCallSite
impl Send for ImportedCallSite
impl Sync for ImportedCallSite
impl Unpin for ImportedCallSite
impl UnsafeUnpin for ImportedCallSite
impl UnwindSafe for ImportedCallSite
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DecodeOwned for Twhere
T: for<'de> Decode<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.