diff options
Diffstat (limited to 'src/modelica_ast.rs')
-rw-r--r-- | src/modelica_ast.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modelica_ast.rs b/src/modelica_ast.rs index 9e25b1b..cbb82ea 100644 --- a/src/modelica_ast.rs +++ b/src/modelica_ast.rs @@ -28,6 +28,9 @@ pub struct Component { pub prefix: Option<ComponentPrefix>, pub specifier: String, pub name: String, + pub value: Option<Expr>, + pub units: Option<String>, + pub description: Option<String>, } #[derive(Clone, PartialEq)] |