Skip to main content

resolve_inheritdoc_var

Function resolve_inheritdoc_var 

Source
pub fn resolve_inheritdoc_var(
    gcx: Gcx<'_>,
    contract_id: ContractId,
    var_name: &str,
    base_name: &str,
) -> Option<InheritedDoc>
Expand description

Resolve @inheritdoc BaseContract for a state variable named var_name inside contract_id. Walks the linearised bases to find a matching public variable and returns its natspec if found.