aboutsummaryrefslogtreecommitdiffstats
path: root/src/modelica_ast.rs
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-11-02 19:50:13 -0700
committerbnewbold <bnewbold@robocracy.org>2016-11-02 19:50:13 -0700
commit57c8bea738990b9cd5efcfbc081249025fa5d608 (patch)
treec968254b68766a44e476a4b415d399241ac5b62d /src/modelica_ast.rs
parent7d42b73a02d0b2b8964d6a5a633b9102f52c717b (diff)
downloadmodelthing-57c8bea738990b9cd5efcfbc081249025fa5d608.tar.gz
modelthing-57c8bea738990b9cd5efcfbc081249025fa5d608.zip
push more variable metadata into the model file
Diffstat (limited to 'src/modelica_ast.rs')
-rw-r--r--src/modelica_ast.rs3
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)]