1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
/// Returns namespace of message-related functions
pub fn ns() -> String {
    format!("{}__diagnotic_messages", crate::NS)
}

/// Mod with functions for building constructors of diagnostic messages
pub mod constructor;

/// Mod with functions for building field getters of diagnostic messages
pub mod field_getter;

/// Mod with utility functions to get name and type of the message field
pub mod fields;

/// Mod with functions for building cast-to-variant function of diagnostic messages
pub mod variant_getter;

/// Mod with functions for building is-a-variant functions of diagnostic messages
pub mod variant_predicate;