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
18
// @generated by openehr-codegen from BMM (`BMM_OPERATOR`) — DO NOT EDIT.

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

use crate::bmm3::core::feature::bmm_operator_position::BmmOperatorPosition;

/// Definition of a symbolic operator associated with a function.
#[doc(alias = "BMM_OPERATOR")]
#[derive(Debug, Clone, PartialEq)]
pub struct BmmOperator {
    /// Position of operator in syntactic representation.
    pub position: BmmOperatorPosition,
    /// Set of `String` symbols that may be used to represent this operator in a textual representation of a BMM model.
    pub symbols: openehr_base::containers::NonEmptyVec<String>,
    /// Formal name of the operator, e.g. 'minus' etc.
    pub name: String,
}