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 (`ASSIGNMENT`) — DO NOT EDIT.

//! The openEHR `ASSIGNMENT` spec class, generated from the vendored BMM
//! meta-model.

use crate::beom::core::expr_value::ExprValue;
use crate::beom::core::variable_declaration::VariableDeclaration;

/// Meta-type representing the assignment statement, which associates a named variable with an expression, and produces no value.
#[doc(alias = "ASSIGNMENT")]
#[derive(Debug, Clone, PartialEq)]
pub struct Assignment {
    /// The target variable on the notional left-hand side of this assignment.
    pub target: VariableDeclaration,
    /// Source right hand side) of the assignment.
    pub source: ExprValue,
}