pub fn module_contract(
db: &dyn SemanticGroup,
module_id: ModuleId,
) -> Option<ContractDeclaration>
Expand description
Returns the contract declaration of a given module if it is a contract module.
pub fn module_contract(
db: &dyn SemanticGroup,
module_id: ModuleId,
) -> Option<ContractDeclaration>
Returns the contract declaration of a given module if it is a contract module.