cairo_lang_semantic::items::function_with_body

Function get_inline_config

Source
pub fn get_inline_config(
    db: &dyn SemanticGroup,
    diagnostics: &mut SemanticDiagnostics,
    attributes: &[Attribute],
) -> Maybe<InlineConfiguration>
Expand description

Get the inline configuration of the given function by parsing its attributes.