get_constant

Function get_constant 

Source
pub fn get_constant<'a>(
    codebase: &'a CodebaseMetadata,
    constant_name: &str,
) -> Option<&'a ConstantMetadata>
Expand description

Retrieves the metadata for a global constant.

The namespace lookup is case-insensitive, but the constant name itself is case-sensitive.