// @generated by openehr-codegen from BMM (`BMM_LOCAL_ROUTINE`) — DO NOT EDIT.
//! The openEHR `BMM_LOCAL_ROUTINE` spec class, generated from the vendored BMM
//! meta-model.
use crate::bmm3::core::feature::bmm_local::BmmLocal;
use crate::bmm3::statement::bmm_statement_block::BmmStatementBlock;
/// Meta-type for locally declared routine body.
#[doc(alias = "BMM_LOCAL_ROUTINE")]
#[derive(Debug, Clone, PartialEq)]
pub struct BmmLocalRoutine {
/// Local variables of the routine, if there is a body defined.
pub locals: Option<Vec<BmmLocal>>,
/// Body of routine declaration.
pub body: BmmStatementBlock,
}