pub struct CallGraphGeneratorContext {Show 15 fields
pub state_var_types: HashMap<(String, String), String>,
pub using_for_directives: HashMap<(Option<String>, String), Vec<String>>,
pub definition_nodes_info: Vec<(usize, NodeInfo, Option<String>)>,
pub all_contracts: HashMap<String, NodeInfo>,
pub contracts_with_explicit_constructors: HashSet<String>,
pub all_libraries: HashMap<String, NodeInfo>,
pub all_interfaces: HashMap<String, NodeInfo>,
pub interface_functions: HashMap<String, Vec<String>>,
pub contract_implements: HashMap<String, Vec<String>>,
pub interface_inherits: HashMap<String, Vec<String>>,
pub contract_inherits: HashMap<String, Vec<String>>,
pub storage_var_nodes: HashMap<(Option<String>, String), usize>,
pub contract_mappings: HashMap<(String, String), MappingInfo>,
pub manifest: Option<Manifest>,
pub binding_registry: Option<BindingRegistry>,
}
Fields§
§state_var_types: HashMap<(String, String), String>
§using_for_directives: HashMap<(Option<String>, String), Vec<String>>
§definition_nodes_info: Vec<(usize, NodeInfo, Option<String>)>
§all_contracts: HashMap<String, NodeInfo>
§contracts_with_explicit_constructors: HashSet<String>
§all_libraries: HashMap<String, NodeInfo>
§all_interfaces: HashMap<String, NodeInfo>
§interface_functions: HashMap<String, Vec<String>>
§contract_implements: HashMap<String, Vec<String>>
§interface_inherits: HashMap<String, Vec<String>>
§contract_inherits: HashMap<String, Vec<String>>
§storage_var_nodes: HashMap<(Option<String>, String), usize>
§contract_mappings: HashMap<(String, String), MappingInfo>
Stores detailed information about declared mappings. Key: (contract_name, mapping_variable_name)
manifest: Option<Manifest>
§binding_registry: Option<BindingRegistry>
Trait Implementations§
Source§impl Clone for CallGraphGeneratorContext
impl Clone for CallGraphGeneratorContext
Source§fn clone(&self) -> CallGraphGeneratorContext
fn clone(&self) -> CallGraphGeneratorContext
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 CallGraphGeneratorContext
impl Debug for CallGraphGeneratorContext
Source§impl Default for CallGraphGeneratorContext
impl Default for CallGraphGeneratorContext
Source§fn default() -> CallGraphGeneratorContext
fn default() -> CallGraphGeneratorContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CallGraphGeneratorContext
impl RefUnwindSafe for CallGraphGeneratorContext
impl Send for CallGraphGeneratorContext
impl Sync for CallGraphGeneratorContext
impl Unpin for CallGraphGeneratorContext
impl UnwindSafe for CallGraphGeneratorContext
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