Skip to main contentModule data
Source use super::deps::ConstructorContext; ๐ use super::span_to_range; ๐ use alloy_primitives::keccak256; ๐ use foundry_compilers::artifacts::Source; ๐ use foundry_compilers::artifacts::Sources; ๐ use path_slash::PathExt; ๐ use solar::sema::Gcx; ๐ use solar::sema::hir::ContractId; ๐ use solar::sema::hir::SourceId; ๐ use solar::sema::interface::source_map::FileName; ๐ use std::collections::BTreeMap; ๐ use std::collections::HashSet; ๐ use std::path::Path; ๐ use std::path::PathBuf; ๐
- ContractConstructorData
- Keeps data about a contract constructor.
- ContractData ๐
- Keeps data about a single contract definition.
- DEPLOY_HELPERS_DIR ๐
- Directory of the deploy helper sources generated by the preprocessor.
- collect_preprocessor_data ๐
- Collects preprocessor data from referenced contracts.
- create_deploy_helpers ๐
- Creates helper libraries for contracts with a non-empty constructor.
- deploy_helper_path ๐
- Returns a generated helper path that cannot overwrite an existing source unit.
- is_deploy_helper_path
- Returns whether the path points to a deploy helper source generated by the preprocessor.
- reserved_identifiers ๐
- Reserves names only in the sourceโs import closure, which is stable across compiler jobs.
- solidity_string_content ๐
- unique_identifier ๐
- PreprocessorData
- Keeps data about project contracts definitions referenced from tests and scripts.
Contract id -> Contract data definition mapping.