]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.layer0/graph/Layer0SCL.pgraph
Work in progress
[simantics/platform.git] / bundles / org.simantics.layer0 / graph / Layer0SCL.pgraph
index 526139c0db35f983d4d9a968c6004ba08e556a83..8d745a354dcfa7059363ec9c873b66d45b2b2f0b 100644 (file)
@@ -2,6 +2,8 @@ L0 = <http://www.simantics.org/Layer0-1.1>
 
 L0.Functions : L0.Library
 
+// The logic of functionApplication assumes that the function is actually ExternalValue
+// but it is not since it would prevent it from being converted with functionApplication
 L0.Function <T L0.Value
     @L0.assert L0.ConvertsToValueWith L0.Functions.functionApplication
 
@@ -57,6 +59,10 @@ L0.SCLModule <T L0.Entity
     >-- L0.SCLModule.definition --> L0.String <R L0.HasProperty : L0.TotalFunction
     @L0.assert L0.SCLModule.definition ""
 
+L0.SCLScript <T L0.Entity
+    >-- L0.SCLScript.definition --> L0.String <R L0.HasProperty : L0.TotalFunction
+    @L0.assert L0.SCLScript.definition ""
+
 L0.Ontology
     >-- L0.Ontology.defaultLocalName --> L0.String <R L0.HasProperty : L0.TotalFunction
     @L0.assert L0.Ontology.defaultLocalName ""