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