]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.layer0/graph/Layer0List.pgraph
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.layer0 / graph / Layer0List.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>\r
2 \r
3 L0.list : L0.Template \r
4     L0.HasDescription "A builtin template that is only used in graph compilation."\r
5 \r
6 L0.List <T L0.Value\r
7     L0.HasDescription """Represents a list of resources that may contain repetitions."""\r
8     @L0.assert L0.HasValueType "[Resource]"\r
9     @L0.assert L0.ConvertsToValueWith L0.Functions.listResources\r
10 L0.List.Entry <T L0.List\r
11 L0.List.Next <R L0.IsRelatedTo : L0.TotalFunction\r
12     L0.HasDomain L0.List\r
13     L0.HasRange L0.List\r
14 L0.List.Previous <R L0.IsRelatedTo : L0.TotalFunction\r
15     L0.InverseOf L0.List.Next\r
16 L0.List.Element <R L0.IsRelatedTo : L0.TotalFunction\r
17     L0.HasDomain L0.List.Entry