datex-core 0.0.12

The DATEX Core Rust implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[derive(Debug, Clone, Default)]
pub struct CompileMetadata {
    is_outer_context: bool,
}

impl CompileMetadata {
    pub fn outer() -> Self {
        CompileMetadata {
            is_outer_context: true,
        }
    }
    pub fn is_outer_context(&self) -> bool {
        self.is_outer_context
    }
}