]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.layer0/graph/Layer0Values.pgraph
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.layer0 / graph / Layer0Values.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>\r
2 \r
3 L0.Value <T L0.Entity\r
4     \r
5 L0.ExternalValue <T L0.Value\r
6 \r
7 L0.ConvertsToValueWith <R L0.HasProperty : L0.FunctionalRelation\r
8     <-- L0.Value\r
9     --> L0.Entity    \r
10 \r
11 L0.HasValueType <R L0.HasProperty : L0.FunctionalRelation\r
12     <-- L0.Value\r
13     --> L0.String\r
14     \r
15 L0.RequiresValueType <R L0.HasProperty : L0.FunctionalRelation\r
16     <-- L0.Relation\r
17     --> L0.String\r
18 \r
19 L0.HasDefaultLiteralType <R L0.DependsOn : L0.FunctionalRelation    \r
20     <-- L0.Relation\r
21     --> L0.Type\r
22     \r
23 L0.HasSubliteralPredicate <R L0.DependsOn\r
24 \r
25 L0.RVIContext <T L0.Entity\r
26 \r
27 L0.SCLValue <T L0.Value\r
28     @L0.tag L0.Abstract\r
29     >-- L0.SCLValue.expression --> L0.String <R L0.HasProperty : L0.TotalFunction\r
30     >-- L0.SCLValue.environment --> L0.SCLValue.Environment <R L0.IsRelatedTo : L0.TotalFunction\r
31     @L0.assert L0.ConvertsToValueWith L0.Functions.computeExpression\r
32 \r
33 L0.scl : L0.Template\r
34     @template %subject %property %expression %valueType\r
35         %subject\r
36             %property _ : L0.SCLValue\r
37               L0.SCLValue.expression %expression\r
38               L0.HasValueType %valueType\r
39 \r
40 L0.SCLValue.Environment <T L0.Entity\r
41     >-- L0.SCLValue.Environment.moduleName --> L0.String <R L0.HasProperty : L0.TotalFunction\r
42     >-- L0.SCLValue.Environment.namespace --> L0.String <R L0.HasProperty : L0.TotalFunction\r
43     >-- L0.SCLValue.Environment.uses --> L0.SCLValue.Environment <R L0.IsRelatedTo\r
44     @L0.assert L0.SCLValue.Environment.namespace ""\r
45     \r
46 L0.Property <T L0.Value\r
47     @L0.tag L0.Abstract\r
48     @L0.tag L0.Deprecated\r
49     @L0.assert L0.ConvertsToValueWith L0.Functions.composedPropertyValue\r
50     \r
51