pareto 0.59.0 → 0.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/auto.dist/data/boekhouding.data.js +271 -271
  2. package/auto.dist/index.d.ts +1 -1
  3. package/auto.dist/index.js +3 -3
  4. package/auto.dist/public/modules/main/implementations/temp_$compile_$boekhouding.alg.js +23 -20
  5. package/auto.dist/public/modules/pareto__2__fountain__pen/implementations/compilationUnit_$2_$Indented_$Lines.alg.js +8 -8
  6. package/auto.dist/public/modules/{alan__light__intermediate__2__fountain__pen → string__aware__fountain__pen__2__fountain__pen}/auto.api.d.ts +1 -1
  7. package/auto.dist/public/modules/{alan__light__intermediate__2__fountain__pen → string__aware__fountain__pen__2__fountain__pen}/auto.api.js +1 -1
  8. package/auto.dist/public/modules/string__aware__fountain__pen__2__fountain__pen/auto.implementation.d.ts +2 -0
  9. package/auto.dist/public/modules/string__aware__fountain__pen__2__fountain__pen/auto.implementation.js +6 -0
  10. package/auto.dist/public/modules/{alan__light__intermediate__2__fountain__pen → string__aware__fountain__pen__2__fountain__pen}/auto.provided_interface_glossary.d.ts +7 -5
  11. package/auto.dist/public/modules/{alan__light__intermediate__2__fountain__pen → string__aware__fountain__pen__2__fountain__pen}/auto.provided_interface_glossary.js +1 -1
  12. package/auto.dist/public/modules/{alan__light__intermediate__2__fountain__pen → string__aware__fountain__pen__2__fountain__pen}/auto.provided_interface_glossary.shadow.d.ts +3 -3
  13. package/auto.dist/public/modules/{alan__light__intermediate__2__fountain__pen → string__aware__fountain__pen__2__fountain__pen}/auto.provided_interface_glossary.shadow.js +1 -1
  14. package/auto.dist/public/modules/string__aware__fountain__pen__2__fountain__pen/implementations/map.alg.d.ts +0 -0
  15. package/auto.dist/public/modules/string__aware__fountain__pen__2__fountain__pen/implementations/map.alg.js +2 -0
  16. package/auto.dist/public/modules/string__aware__fountain__pen__2__fountain__pen/implementations/map__Block__2__Block.alg.d.ts +2 -0
  17. package/auto.dist/public/modules/string__aware__fountain__pen__2__fountain__pen/implementations/map__Block__2__Block.alg.js +65 -0
  18. package/auto.dist/public/modules/{alan__light__intermediate__2__fountain__pen → string__aware__fountain__pen__2__fountain__pen}/index.js +1 -1
  19. package/auto.dist/public/modules/typescript__intermediate__2__fountain__pen/auto.api.d.ts +1 -1
  20. package/auto.dist/public/modules/typescript__intermediate__2__fountain__pen/auto.implementation.d.ts +1 -1
  21. package/auto.dist/public/modules/typescript__intermediate__2__fountain__pen/auto.implementation.js +4 -4
  22. package/auto.dist/public/modules/typescript__intermediate__2__fountain__pen/auto.provided_interface_glossary.d.ts +42 -42
  23. package/auto.dist/public/modules/typescript__intermediate__2__fountain__pen/auto.provided_interface_glossary.shadow.d.ts +3 -3
  24. package/auto.dist/public/modules/typescript__intermediate__2__fountain__pen/implementations/map__Block__2__Block.alg.d.ts +2 -0
  25. package/auto.dist/public/modules/typescript__intermediate__2__fountain__pen/implementations/map__Block__2__Block.alg.js +95 -0
  26. package/auto.dist/public/modules/typescript__intermediate__2__fountain__pen/implementations/serialize.alg.d.ts +0 -2
  27. package/auto.dist/public/modules/typescript__intermediate__2__fountain__pen/implementations/serialize.alg.js +1 -94
  28. package/auto.dist/public/modules/typescript__naming/implementations/createIdentifier.alg.js +3 -2
  29. package/auto.pareto/$.data.ts +2 -3
  30. package/auto.pareto/auto.dependencies/index.ts +3 -3
  31. package/auto.pareto/auto.dependencies/pareto-pure/$.data.ts +26 -16
  32. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/index.ts +1 -1
  33. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/$.data.ts +6 -8
  34. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/array/api.data.ts +2 -0
  35. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/array/glossary.data.ts +89 -20
  36. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/buildInterfaceInitializers/glossary.data.ts +167 -0
  37. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/dictionary/api.data.ts +18 -13
  38. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/dictionary/glossary.data.ts +16 -3
  39. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/nested/api.data.ts +0 -1
  40. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/nested/glossary.data.ts +0 -6
  41. package/auto.pareto/auto.dependencies/{pareto-standard-library/modules/arithmetic → pareto-pure/auto.dependencies/pareto-standard-library/modules/number}/api.data.ts +0 -1
  42. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/{arithmetic → number}/glossary.data.ts +2 -11
  43. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/optional/api.data.ts +16 -0
  44. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/optional/glossary.data.ts +36 -0
  45. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/resolve/api.data.ts +0 -1
  46. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/resolve/glossary.data.ts +0 -14
  47. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/string/api.data.ts +14 -2
  48. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/string/glossary.data.ts +55 -6
  49. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/tostring/api.data.ts +0 -7
  50. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/tostring/glossary.data.ts +0 -13
  51. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.cosmos_type_system.data.ts +113 -65
  52. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.graphviz.data.ts +668 -0
  53. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/fountain_pen_directory.data.ts +45 -0
  54. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/{alan_light_intermediate.data.ts → fountain_pen_indented_file_with_escaped_strings.data.ts} +2 -0
  55. package/auto.pareto/auto.dependencies/pareto-pure/modules/{alan_light_2_alan_light_intermediate → alan_light_2_fountain_pen_indented_file_with_escaped_strings}/api.data.ts +1 -1
  56. package/auto.pareto/{modules/alan_light_intermediate_2 fountain_pen/glossary.data.ts → auto.dependencies/pareto-pure/modules/alan_light_2_fountain_pen_indented_file_with_escaped_strings/glossary.data.ts} +5 -5
  57. package/auto.pareto/auto.dependencies/pareto-pure/modules/{astn_2_fountain_pen → astn_2_fountain_pen_indented_file_with_escaped_strings}/api.data.ts +1 -1
  58. package/auto.pareto/auto.dependencies/pareto-pure/modules/{astn_2_fountain_pen → astn_2_fountain_pen_indented_file_with_escaped_strings}/glossary.data.ts +5 -5
  59. package/auto.pareto/auto.dependencies/pareto-pure/modules/cosmos_type_system_2_graphviz/api.data.ts +17 -0
  60. package/auto.pareto/auto.dependencies/pareto-pure/modules/cosmos_type_system_2_graphviz/glossary.data.ts +30 -0
  61. package/auto.pareto/auto.dependencies/pareto-pure/modules/cosmos_type_system_2_pareto/api.data.ts +1 -1
  62. package/auto.pareto/auto.dependencies/pareto-pure/modules/cosmos_type_system_2_pareto/glossary.data.ts +6 -6
  63. package/auto.pareto/auto.dependencies/pareto-pure/modules/cosmos_typescript_2_fountain_pen_directory/api.data.ts +17 -0
  64. package/auto.pareto/auto.dependencies/pareto-pure/modules/cosmos_typescript_2_fountain_pen_directory/glossary.data.ts +36 -0
  65. package/auto.pareto/auto.dependencies/pareto-pure/modules/{fountain_pen_2_fountain_pen → fountain_pen_indented_file_2_fountain_pen_indented_file}/api.data.ts +1 -1
  66. package/auto.pareto/auto.dependencies/pareto-pure/modules/{fountain_pen_2_fountain_pen → fountain_pen_indented_file_2_fountain_pen_indented_file}/glossary.data.ts +11 -9
  67. package/auto.pareto/auto.dependencies/pareto-pure/modules/{fountain_pen_2_lines → fountain_pen_lines_2_lines}/api.data.ts +1 -1
  68. package/auto.pareto/auto.dependencies/pareto-pure/modules/{fountain_pen_2_lines → fountain_pen_lines_2_lines}/glossary.data.ts +7 -7
  69. package/auto.pareto/auto.dependencies/pareto-pure/modules/graphviz_2_fountain_pen_indented_file_with_escaped_strings/api.data.ts +20 -0
  70. package/auto.pareto/auto.dependencies/pareto-pure/modules/{alan_light_2_alan_light_intermediate → graphviz_2_fountain_pen_indented_file_with_escaped_strings}/glossary.data.ts +5 -5
  71. package/auto.pareto/auto.dependencies/pareto-pure/modules/{pareto_2_typescript → pareto_2_typescript_intermediate}/api.data.ts +1 -1
  72. package/auto.pareto/auto.dependencies/pareto-pure/modules/{pareto_2_typescript → pareto_2_typescript_intermediate}/glossary.data.ts +6 -6
  73. package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril_2_alan_light/api.data.ts +1 -1
  74. package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril_2_alan_light/glossary.data.ts +5 -5
  75. package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril_2_cosmos_type_system/glossary.data.ts +6 -6
  76. package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril_2_pareto/glossary.data.ts +6 -6
  77. package/auto.pareto/auto.dependencies/pareto-standard-library/$.data.ts +6 -8
  78. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/array/api.data.ts +2 -0
  79. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/array/glossary.data.ts +89 -20
  80. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/buildInterfaceInitializers/glossary.data.ts +167 -0
  81. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/api.data.ts +18 -13
  82. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/glossary.data.ts +16 -3
  83. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/nested/api.data.ts +0 -1
  84. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/nested/glossary.data.ts +0 -6
  85. package/auto.pareto/auto.dependencies/{pareto-pure/auto.dependencies/pareto-standard-library/modules/arithmetic → pareto-standard-library/modules/number}/api.data.ts +0 -1
  86. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/{arithmetic → number}/glossary.data.ts +2 -11
  87. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/optional/api.data.ts +16 -0
  88. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/optional/glossary.data.ts +36 -0
  89. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/resolve/api.data.ts +0 -1
  90. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/resolve/glossary.data.ts +0 -14
  91. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/string/api.data.ts +14 -2
  92. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/string/glossary.data.ts +55 -6
  93. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/api.data.ts +0 -7
  94. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/glossary.data.ts +0 -13
  95. package/auto.pareto/auto.dependencies/pareto-subatomic-library/$.data.ts +2 -0
  96. package/auto.pareto/auto.dependencies/pareto-subatomic-library/glossaries/lines.data.ts +27 -0
  97. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/array/glossary.data.ts +15 -5
  98. package/auto.pareto/{modules/alan_light_intermediate_2 fountain_pen/api.data.ts → auto.dependencies/pareto-subatomic-library/modules/filesystem/api.data.ts} +1 -1
  99. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/filesystem/glossary.data.ts +59 -0
  100. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/string/api.data.ts +1 -3
  101. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/string/glossary.data.ts +22 -10
  102. package/auto.pareto/modules/main/api.data.ts +0 -1
  103. package/auto.pareto/modules/pareto_2_fountain_pen/glossary.data.ts +2 -2
  104. package/auto.pareto/modules/string_aware_fountain_pen_2 fountain_pen/api.data.ts +15 -0
  105. package/auto.pareto/modules/string_aware_fountain_pen_2 fountain_pen/glossary.data.ts +27 -0
  106. package/auto.pareto/modules/typescript_intermediate_2_fountain_pen/api.data.ts +1 -1
  107. package/auto.pareto/modules/typescript_intermediate_2_fountain_pen/glossary.data.ts +4 -4
  108. package/package.json +8 -8
  109. package/auto.dist/public/modules/alan__light__intermediate__2__fountain__pen/auto.implementation.d.ts +0 -2
  110. package/auto.dist/public/modules/alan__light__intermediate__2__fountain__pen/auto.implementation.js +0 -6
  111. package/auto.dist/public/modules/alan__light__intermediate__2__fountain__pen/implementations/map.alg.d.ts +0 -2
  112. package/auto.dist/public/modules/alan__light__intermediate__2__fountain__pen/implementations/map.alg.js +0 -61
  113. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/build/glossary.data.ts +0 -125
  114. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/build/glossary.data.ts +0 -125
  115. /package/auto.dist/public/modules/{alan__light__intermediate__2__fountain__pen → string__aware__fountain__pen__2__fountain__pen}/index.d.ts +0 -0
  116. /package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/{build → buildInterfaceInitializers}/api.data.ts +0 -0
  117. /package/auto.pareto/auto.dependencies/pareto-pure/glossaries/{fountain_pen.data.ts → fountain_pen_indented_file.data.ts} +0 -0
  118. /package/auto.pareto/auto.dependencies/pareto-standard-library/modules/{build → buildInterfaceInitializers}/api.data.ts +0 -0
@@ -1,125 +0,0 @@
1
- import * as pd from 'pareto-core-data'
2
-
3
- import {
4
- aInterfaceMethod,
5
- aInterfaceReference,
6
- array, dictionary, ref, typeParameter, group, sInf, member,
7
- sfunction,
8
- sInterfaceMethod, sInterfaceReference, streamconsumer, string, taggedUnion, type, typeReference, aInterface, sInterface, parametrizedType,
9
- infInit
10
- } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
11
-
12
- import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
13
- const d = pd.d
14
-
15
- export const $: g_glossary.D.Glossary = {
16
- 'glossary parameters': d({}),
17
- 'imports': d({
18
- }),
19
- 'root': {
20
- 'namespaces': d({}),
21
- 'data types': d({
22
- "Simple Array": parametrizedType({ "Type": null }, array(ref(typeParameter("Type")))),
23
-
24
- "Simple Dictionary": parametrizedType({ "Type": null }, dictionary(ref(typeParameter("Type")))),
25
- "Simple String": type(string()),
26
-
27
- "Array": parametrizedType({ "Type": null, "EndType": null }, group({
28
- "array": member(array(ref(typeParameter("Type")))),
29
- "end": member(ref(typeParameter("EndType"))),
30
- })),
31
- "Dictionary": parametrizedType({ "Type": null, "EndType": null }, group({
32
- "dictionary": member(dictionary(ref(typeParameter("Type")))),
33
- "end": member(ref(typeParameter("EndType"))),
34
- })),
35
- "String": parametrizedType({ "EndType": null }, group({
36
- "string": member(string()),
37
- "end": member(ref(typeParameter("EndType"))),
38
- })),
39
- "KeyValuePair": parametrizedType({ "Type": null }, group({
40
- "key": member(string()),
41
- "value": member(ref(typeParameter("Type"))),
42
- })),
43
-
44
- "DictionaryBuildStrategy": type(taggedUnion({
45
- "ignore": group({}),
46
- "overwrite": group({}),
47
- })),
48
- "Startstring": type(string()),
49
- }),
50
- },
51
- 'interface types': d({
52
- "Array": aInterface(aInterfaceMethod(typeReference("Array", {
53
- "Type": typeParameter("Type"),
54
- "EndType": typeParameter("EndType")
55
- })), { "Type": null, "EndType": null }),
56
- "Dictionary": aInterface(aInterfaceMethod(typeReference("Dictionary", {
57
- "Type": typeParameter("Type"),
58
- "EndType": typeParameter("EndType")
59
- })), { "Type": null, "EndType": null }),
60
- "Elements": aInterface(streamconsumer(
61
- aInterfaceMethod(typeParameter("Type")),
62
- aInterfaceMethod(typeParameter("EndType")),
63
- ), { "Type": null, "EndType": null }),
64
- "Entries": aInterface(streamconsumer(
65
- aInterfaceMethod(typeReference("KeyValuePair", { "Type": typeParameter("Type") })),
66
- aInterfaceMethod(typeParameter("EndType")),
67
- ), { "Type": null, "EndType": null }),
68
- "DuplicatesHandler": aInterface(streamconsumer(
69
- aInterfaceMethod(typeReference("Simple String")),
70
- aInterfaceMethod(null),
71
- )),
72
- "StringConsumer": aInterface(aInterfaceMethod(typeReference("String", { "EndType": typeParameter("EndType") })), { "EndType": null }),
73
- "StringStreamConsumer": aInterface(streamconsumer(
74
- aInterfaceMethod(typeReference("Simple String")),
75
- aInterfaceMethod(typeParameter("EndType")),
76
- ), { "EndType": null }),
77
- "Add": sInterface(sInterfaceMethod(typeReference("KeyValuePair", { "Type": typeParameter("Type") })), { "Type": null }),
78
- "Push": sInterface(sInterfaceMethod(typeParameter("Type")), { "Type": null }),
79
- }),
80
- 'algorithm types': d({
81
- "CreateArrayBuilder": infInit(aInterfaceReference("Elements", {
82
- "Type": typeParameter("Type"),
83
- "EndType": typeParameter("EndType"),
84
- }), {
85
- "handler": aInterfaceReference("Array", {
86
- "Type": typeParameter("Type"),
87
- "EndType": typeParameter("EndType"),
88
- }),
89
- }, { "Type": null, "EndType": null }),
90
- "CreateUnsafeDictionaryBuilder": infInit(aInterfaceReference("Entries", {
91
- "Type": typeParameter("Type"),
92
- "EndType": typeParameter("EndType"),
93
- }), {
94
- "handler": aInterfaceReference("Dictionary", {
95
- "Type": typeParameter("Type"),
96
- "EndType": typeParameter("EndType")
97
- }),
98
- }, { "Type": null, "EndType": null }),
99
- "CreateSafeDictionaryBuilder": infInit(aInterfaceReference("Entries", {
100
- "Type": typeParameter("Type"),
101
- "EndType": typeParameter("EndType"),
102
- }), {
103
- "handler": aInterfaceReference("Dictionary", {
104
- "Type": typeParameter("Type"),
105
- "EndType": typeParameter("EndType")
106
- }),
107
- "duplicatesHandler": aInterfaceReference("DuplicatesHandler"),
108
-
109
- }, { "Type": null, "EndType": null }),
110
- "CreateStringBuilder": infInit(aInterfaceReference("StringStreamConsumer", { "EndType": typeParameter("EndType") }), {
111
- "handler": aInterfaceReference("StringConsumer", { "EndType": typeParameter("EndType") }),
112
- }, { "EndType": null }),
113
- // "BuildArray": sfunction(typeReference("Simple Array", {
114
- // "Type": typeParameter("Type"),
115
- // }), sInf(sInterfaceReference("Push", { "Type": typeParameter("Type") })), { "Type": null }),
116
- // "BuildUnsafeDictionary": sfunction(typeReference("Simple Dictionary", {
117
- // "Type": typeParameter("Type"),
118
- // }), sInf(sInterfaceReference("Add", { "Type": typeParameter("Type") })), { "Type": null }),
119
- // "BuildSafeDictionary": sfunction(typeReference("Simple Dictionary", {
120
- // "Type": typeParameter("Type"),
121
- // }), sInf(sInterfaceReference("Add", { "Type": typeParameter("Type") })), { "Type": null }),
122
-
123
- }),
124
-
125
- }
@@ -1,125 +0,0 @@
1
- import * as pd from 'pareto-core-data'
2
-
3
- import {
4
- aInterfaceMethod,
5
- aInterfaceReference,
6
- array, dictionary, ref, typeParameter, group, sInf, member,
7
- sfunction,
8
- sInterfaceMethod, sInterfaceReference, streamconsumer, string, taggedUnion, type, typeReference, aInterface, sInterface, parametrizedType,
9
- infInit
10
- } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
11
-
12
- import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
13
- const d = pd.d
14
-
15
- export const $: g_glossary.D.Glossary = {
16
- 'glossary parameters': d({}),
17
- 'imports': d({
18
- }),
19
- 'root': {
20
- 'namespaces': d({}),
21
- 'data types': d({
22
- "Simple Array": parametrizedType({ "Type": null }, array(ref(typeParameter("Type")))),
23
-
24
- "Simple Dictionary": parametrizedType({ "Type": null }, dictionary(ref(typeParameter("Type")))),
25
- "Simple String": type(string()),
26
-
27
- "Array": parametrizedType({ "Type": null, "EndType": null }, group({
28
- "array": member(array(ref(typeParameter("Type")))),
29
- "end": member(ref(typeParameter("EndType"))),
30
- })),
31
- "Dictionary": parametrizedType({ "Type": null, "EndType": null }, group({
32
- "dictionary": member(dictionary(ref(typeParameter("Type")))),
33
- "end": member(ref(typeParameter("EndType"))),
34
- })),
35
- "String": parametrizedType({ "EndType": null }, group({
36
- "string": member(string()),
37
- "end": member(ref(typeParameter("EndType"))),
38
- })),
39
- "KeyValuePair": parametrizedType({ "Type": null }, group({
40
- "key": member(string()),
41
- "value": member(ref(typeParameter("Type"))),
42
- })),
43
-
44
- "DictionaryBuildStrategy": type(taggedUnion({
45
- "ignore": group({}),
46
- "overwrite": group({}),
47
- })),
48
- "Startstring": type(string()),
49
- }),
50
- },
51
- 'interface types': d({
52
- "Array": aInterface(aInterfaceMethod(typeReference("Array", {
53
- "Type": typeParameter("Type"),
54
- "EndType": typeParameter("EndType")
55
- })), { "Type": null, "EndType": null }),
56
- "Dictionary": aInterface(aInterfaceMethod(typeReference("Dictionary", {
57
- "Type": typeParameter("Type"),
58
- "EndType": typeParameter("EndType")
59
- })), { "Type": null, "EndType": null }),
60
- "Elements": aInterface(streamconsumer(
61
- aInterfaceMethod(typeParameter("Type")),
62
- aInterfaceMethod(typeParameter("EndType")),
63
- ), { "Type": null, "EndType": null }),
64
- "Entries": aInterface(streamconsumer(
65
- aInterfaceMethod(typeReference("KeyValuePair", { "Type": typeParameter("Type") })),
66
- aInterfaceMethod(typeParameter("EndType")),
67
- ), { "Type": null, "EndType": null }),
68
- "DuplicatesHandler": aInterface(streamconsumer(
69
- aInterfaceMethod(typeReference("Simple String")),
70
- aInterfaceMethod(null),
71
- )),
72
- "StringConsumer": aInterface(aInterfaceMethod(typeReference("String", { "EndType": typeParameter("EndType") })), { "EndType": null }),
73
- "StringStreamConsumer": aInterface(streamconsumer(
74
- aInterfaceMethod(typeReference("Simple String")),
75
- aInterfaceMethod(typeParameter("EndType")),
76
- ), { "EndType": null }),
77
- "Add": sInterface(sInterfaceMethod(typeReference("KeyValuePair", { "Type": typeParameter("Type") })), { "Type": null }),
78
- "Push": sInterface(sInterfaceMethod(typeParameter("Type")), { "Type": null }),
79
- }),
80
- 'algorithm types': d({
81
- "CreateArrayBuilder": infInit(aInterfaceReference("Elements", {
82
- "Type": typeParameter("Type"),
83
- "EndType": typeParameter("EndType"),
84
- }), {
85
- "handler": aInterfaceReference("Array", {
86
- "Type": typeParameter("Type"),
87
- "EndType": typeParameter("EndType"),
88
- }),
89
- }, { "Type": null, "EndType": null }),
90
- "CreateUnsafeDictionaryBuilder": infInit(aInterfaceReference("Entries", {
91
- "Type": typeParameter("Type"),
92
- "EndType": typeParameter("EndType"),
93
- }), {
94
- "handler": aInterfaceReference("Dictionary", {
95
- "Type": typeParameter("Type"),
96
- "EndType": typeParameter("EndType")
97
- }),
98
- }, { "Type": null, "EndType": null }),
99
- "CreateSafeDictionaryBuilder": infInit(aInterfaceReference("Entries", {
100
- "Type": typeParameter("Type"),
101
- "EndType": typeParameter("EndType"),
102
- }), {
103
- "handler": aInterfaceReference("Dictionary", {
104
- "Type": typeParameter("Type"),
105
- "EndType": typeParameter("EndType")
106
- }),
107
- "duplicatesHandler": aInterfaceReference("DuplicatesHandler"),
108
-
109
- }, { "Type": null, "EndType": null }),
110
- "CreateStringBuilder": infInit(aInterfaceReference("StringStreamConsumer", { "EndType": typeParameter("EndType") }), {
111
- "handler": aInterfaceReference("StringConsumer", { "EndType": typeParameter("EndType") }),
112
- }, { "EndType": null }),
113
- // "BuildArray": sfunction(typeReference("Simple Array", {
114
- // "Type": typeParameter("Type"),
115
- // }), sInf(sInterfaceReference("Push", { "Type": typeParameter("Type") })), { "Type": null }),
116
- // "BuildUnsafeDictionary": sfunction(typeReference("Simple Dictionary", {
117
- // "Type": typeParameter("Type"),
118
- // }), sInf(sInterfaceReference("Add", { "Type": typeParameter("Type") })), { "Type": null }),
119
- // "BuildSafeDictionary": sfunction(typeReference("Simple Dictionary", {
120
- // "Type": typeParameter("Type"),
121
- // }), sInf(sInterfaceReference("Add", { "Type": typeParameter("Type") })), { "Type": null }),
122
-
123
- }),
124
-
125
- }