openehr-lang 0.0.2

openEHR LANG 1.0.0: BMM/P_BMM object model (generated from BMM) plus a hand-written ODIN instance parser (the `odin` module — deliberately off the codegen path).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// @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,
}