]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.layer0/graph/Layer0Values.pgraph
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.layer0 / graph / Layer0Values.pgraph
diff --git a/bundles/org.simantics.layer0/graph/Layer0Values.pgraph b/bundles/org.simantics.layer0/graph/Layer0Values.pgraph
new file mode 100644 (file)
index 0000000..7bb446c
--- /dev/null
@@ -0,0 +1,51 @@
+L0 = <http://www.simantics.org/Layer0-1.1>\r
+\r
+L0.Value <T L0.Entity\r
+    \r
+L0.ExternalValue <T L0.Value\r
+\r
+L0.ConvertsToValueWith <R L0.HasProperty : L0.FunctionalRelation\r
+    <-- L0.Value\r
+    --> L0.Entity    \r
+\r
+L0.HasValueType <R L0.HasProperty : L0.FunctionalRelation\r
+    <-- L0.Value\r
+    --> L0.String\r
+    \r
+L0.RequiresValueType <R L0.HasProperty : L0.FunctionalRelation\r
+    <-- L0.Relation\r
+    --> L0.String\r
+\r
+L0.HasDefaultLiteralType <R L0.DependsOn : L0.FunctionalRelation    \r
+    <-- L0.Relation\r
+    --> L0.Type\r
+    \r
+L0.HasSubliteralPredicate <R L0.DependsOn\r
+\r
+L0.RVIContext <T L0.Entity\r
+\r
+L0.SCLValue <T L0.Value\r
+    @L0.tag L0.Abstract\r
+    >-- L0.SCLValue.expression --> L0.String <R L0.HasProperty : L0.TotalFunction\r
+    >-- L0.SCLValue.environment --> L0.SCLValue.Environment <R L0.IsRelatedTo : L0.TotalFunction\r
+    @L0.assert L0.ConvertsToValueWith L0.Functions.computeExpression\r
+\r
+L0.scl : L0.Template\r
+    @template %subject %property %expression %valueType\r
+        %subject\r
+            %property _ : L0.SCLValue\r
+              L0.SCLValue.expression %expression\r
+              L0.HasValueType %valueType\r
+\r
+L0.SCLValue.Environment <T L0.Entity\r
+    >-- L0.SCLValue.Environment.moduleName --> L0.String <R L0.HasProperty : L0.TotalFunction\r
+    >-- L0.SCLValue.Environment.namespace --> L0.String <R L0.HasProperty : L0.TotalFunction\r
+    >-- L0.SCLValue.Environment.uses --> L0.SCLValue.Environment <R L0.IsRelatedTo\r
+    @L0.assert L0.SCLValue.Environment.namespace ""\r
+    \r
+L0.Property <T L0.Value\r
+    @L0.tag L0.Abstract\r
+    @L0.tag L0.Deprecated\r
+    @L0.assert L0.ConvertsToValueWith L0.Functions.composedPropertyValue\r
+    \r
+    
\ No newline at end of file