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

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

use crate::beom::core::expr_binary_operator::ExprBinaryOperator;
use crate::beom::core::expr_for_all::ExprForAll;
use crate::beom::core::expr_unary_operator::ExprUnaryOperator;

/// Closed subtype set of `EXPR_OPERATOR`, dispatched on each payload's `_type`.
///
/// Abstract parent of operator types.
#[doc(alias = "EXPR_OPERATOR")]
#[derive(Debug, Clone, PartialEq)]
pub enum ExprOperator {
    /// The `EXPR_BINARY_OPERATOR` subtype of `EXPR_OPERATOR`.
    ExprBinaryOperator(ExprBinaryOperator),
    /// The `EXPR_FOR_ALL` subtype of `EXPR_OPERATOR`.
    ExprForAll(ExprForAll),
    /// The `EXPR_UNARY_OPERATOR` subtype of `EXPR_OPERATOR`.
    ExprUnaryOperator(ExprUnaryOperator),
}