pareto 0.76.28 → 0.76.30

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 (524) hide show
  1. package/dist/bin/compile.js +34 -0
  2. package/dist/bin/test.js +28 -0
  3. package/dist/generated/implementation/generic/resolve.d.ts +41 -10
  4. package/dist/generated/implementation/generic/resolve.js +75 -50
  5. package/dist/generated/implementation/generic/unmarshall.d.ts +42 -0
  6. package/dist/generated/implementation/generic/unmarshall.js +237 -0
  7. package/dist/generated/implementation/schemas/module/marshall.d.ts +3 -0
  8. package/dist/generated/implementation/schemas/module/{serializer.js → marshall.js} +3 -3
  9. package/dist/generated/implementation/schemas/module/resolve.d.ts +3 -4
  10. package/dist/generated/implementation/schemas/module/resolve.js +3 -3
  11. package/dist/generated/implementation/schemas/module/unmarshall.d.ts +3 -0
  12. package/dist/generated/implementation/schemas/module/unmarshall.js +81 -0
  13. package/dist/generated/implementation/schemas/schema/marshall.d.ts +37 -0
  14. package/dist/generated/implementation/schemas/schema/marshall.js +1118 -0
  15. package/dist/generated/implementation/schemas/schema/resolve.d.ts +37 -36
  16. package/dist/generated/implementation/schemas/schema/resolve.js +65 -26
  17. package/dist/generated/implementation/schemas/schema/unmarshall.d.ts +37 -0
  18. package/dist/generated/implementation/schemas/schema/unmarshall.js +1043 -0
  19. package/dist/generated/implementation/schemas/unmarshall_errors/marshall.d.ts +6 -0
  20. package/dist/generated/implementation/schemas/unmarshall_errors/marshall.js +197 -0
  21. package/dist/generated/implementation/schemas/unmarshall_errors/unmarshall.d.ts +6 -0
  22. package/dist/generated/implementation/schemas/unmarshall_errors/unmarshall.js +167 -0
  23. package/dist/generated/implementation/schemas/unmarshall_result/marshall.js +3 -0
  24. package/dist/generated/implementation/schemas/unmarshall_result/unmarshall.d.ts +1 -0
  25. package/dist/generated/implementation/schemas/unmarshall_result/{serializer.js → unmarshall.js} +1 -1
  26. package/dist/generated/interface/core/astn_source.d.ts +14 -16
  27. package/dist/generated/interface/core/astn_target.d.ts +15 -15
  28. package/dist/generated/interface/core/resolve.d.ts +6 -6
  29. package/dist/generated/interface/core/resolved.d.ts +46 -46
  30. package/dist/generated/interface/core/unconstrained.d.ts +10 -10
  31. package/dist/generated/interface/core/unresolved.d.ts +84 -87
  32. package/dist/generated/interface/schemas/module/{resolve.d.ts → data_types/resolve.d.ts} +39 -39
  33. package/dist/generated/interface/schemas/{schema → module/data_types}/resolve.js +1 -1
  34. package/dist/generated/interface/schemas/module/{resolved.d.ts → data_types/resolved.d.ts} +7 -7
  35. package/dist/generated/interface/schemas/module/data_types/resolved.js +3 -0
  36. package/dist/generated/interface/schemas/module/data_types/unresolved.d.ts +133 -0
  37. package/dist/generated/interface/schemas/{schema → module/data_types}/unresolved.js +1 -1
  38. package/dist/generated/interface/schemas/module/marshall.d.ts +63 -0
  39. package/dist/generated/interface/schemas/{schema/resolved.js → module/marshall.js} +1 -1
  40. package/dist/generated/interface/schemas/module/{migration_boilerplate.d.ts → migrate_boilerplate.d.ts} +2 -2
  41. package/dist/generated/interface/schemas/module/migrate_boilerplate.js +3 -0
  42. package/dist/generated/interface/schemas/module/unmarshall.d.ts +75 -0
  43. package/dist/generated/interface/schemas/module/{serializer.js → unmarshall.js} +1 -1
  44. package/dist/generated/interface/schemas/module/value_deserializers.d.ts +44 -0
  45. package/dist/generated/interface/schemas/module/value_deserializers.js +3 -0
  46. package/dist/generated/interface/schemas/module/value_serializers.js +3 -0
  47. package/dist/generated/interface/schemas/schema/{resolve.d.ts → data_types/resolve.d.ts} +1269 -1123
  48. package/dist/generated/interface/schemas/{module → schema/data_types}/resolve.js +1 -1
  49. package/dist/generated/interface/schemas/schema/{resolved.d.ts → data_types/resolved.d.ts} +61 -29
  50. package/dist/generated/interface/schemas/schema/data_types/resolved.js +3 -0
  51. package/dist/generated/interface/schemas/schema/data_types/unresolved.d.ts +3786 -0
  52. package/dist/generated/interface/schemas/schema/data_types/unresolved.js +3 -0
  53. package/dist/generated/interface/schemas/schema/{serializer.d.ts → marshall.d.ts} +297 -280
  54. package/dist/generated/interface/schemas/{module/resolved.js → schema/marshall.js} +1 -1
  55. package/dist/generated/interface/schemas/schema/{migration_boilerplate.d.ts → migrate_boilerplate.d.ts} +50 -2
  56. package/dist/generated/interface/schemas/schema/migrate_boilerplate.js +3 -0
  57. package/dist/generated/interface/schemas/schema/unmarshall.d.ts +1299 -0
  58. package/dist/generated/interface/schemas/{module/unresolved.js → schema/unmarshall.js} +1 -1
  59. package/dist/generated/interface/schemas/schema/value_deserializers.d.ts +44 -0
  60. package/dist/generated/interface/schemas/schema/value_deserializers.js +3 -0
  61. package/dist/generated/interface/schemas/schema/value_serializers.d.ts +44 -0
  62. package/dist/generated/interface/schemas/schema/value_serializers.js +3 -0
  63. package/dist/generated/interface/schemas/unmarshall_errors/{unconstrained.d.ts → data_types/unconstrained.d.ts} +46 -23
  64. package/dist/generated/interface/schemas/unmarshall_errors/{unconstrained.js → data_types/unconstrained.js} +1 -1
  65. package/dist/generated/interface/schemas/unmarshall_errors/marshall.d.ts +153 -0
  66. package/dist/generated/interface/schemas/unmarshall_errors/marshall.js +3 -0
  67. package/dist/generated/interface/schemas/unmarshall_errors/{migration_boilerplate.d.ts → migrate_boilerplate.d.ts} +24 -2
  68. package/dist/generated/interface/schemas/unmarshall_errors/migrate_boilerplate.js +3 -0
  69. package/dist/generated/interface/schemas/unmarshall_errors/unmarshall.d.ts +153 -0
  70. package/dist/generated/interface/schemas/{schema/serializer.js → unmarshall_errors/unmarshall.js} +1 -1
  71. package/dist/generated/interface/schemas/unmarshall_errors/value_deserializers.d.ts +44 -0
  72. package/dist/generated/interface/schemas/unmarshall_errors/value_deserializers.js +3 -0
  73. package/dist/generated/interface/schemas/unmarshall_errors/value_serializers.d.ts +44 -0
  74. package/dist/generated/interface/schemas/unmarshall_errors/value_serializers.js +3 -0
  75. package/dist/generated/interface/schemas/unmarshall_result/data_types/unconstrained.d.ts +1 -0
  76. package/dist/generated/interface/schemas/unmarshall_result/{unconstrained.js → data_types/unconstrained.js} +1 -1
  77. package/dist/generated/interface/schemas/unmarshall_result/marshall.d.ts +1 -0
  78. package/dist/generated/interface/schemas/unmarshall_result/marshall.js +7 -0
  79. package/dist/generated/interface/schemas/unmarshall_result/migrate_boilerplate.d.ts +1 -0
  80. package/dist/generated/interface/schemas/unmarshall_result/migrate_boilerplate.js +7 -0
  81. package/dist/generated/interface/schemas/unmarshall_result/unmarshall.d.ts +1 -0
  82. package/dist/generated/interface/schemas/unmarshall_result/unmarshall.js +7 -0
  83. package/dist/generated/interface/schemas/unmarshall_result/value_deserializers.d.ts +44 -0
  84. package/dist/generated/interface/schemas/unmarshall_result/value_deserializers.js +3 -0
  85. package/dist/generated/interface/schemas/unmarshall_result/value_serializers.d.ts +44 -0
  86. package/dist/generated/interface/schemas/unmarshall_result/value_serializers.js +3 -0
  87. package/dist/other/compile_astn.d.ts +3 -0
  88. package/dist/other/compile_astn.js +67 -0
  89. package/dist/other/fp_write_to_console.d.ts +5 -0
  90. package/dist/other/fp_write_to_console.js +38 -0
  91. package/dist/other/load_astn_document.d.ts +11 -0
  92. package/dist/other/load_astn_document.js +84 -0
  93. package/dist/other/load_schema.d.ts +5 -0
  94. package/dist/other/load_schema.js +94 -0
  95. package/dist/other/path.d.ts +3 -0
  96. package/dist/other/path.js +39 -0
  97. package/dist/other/serialize_schemas.d.ts +3 -0
  98. package/dist/other/serialize_schemas.js +67 -0
  99. package/dist/other/test.d.ts +1 -0
  100. package/dist/other/test.js +81 -0
  101. package/dist/other/unmarshall_astn_ast.d.ts +12 -0
  102. package/dist/other/unmarshall_astn_ast.js +422 -0
  103. package/dist/other/validate_instance_against_directory_schema.d.ts +12 -0
  104. package/dist/other/validate_instance_against_directory_schema.js +142 -0
  105. package/dist/resolvers/module.d.ts +3 -4
  106. package/dist/resolvers/module.js +14 -14
  107. package/dist/resolvers/schema.d.ts +24 -23
  108. package/dist/resolvers/schema.js +618 -586
  109. package/dist/shorthands/module.d.ts +3 -3
  110. package/dist/shorthands/module.js +8 -8
  111. package/dist/shorthands/schema.d.ts +53 -10
  112. package/dist/shorthands/schema.js +288 -244
  113. package/dist/temp_unmashall_result_types.d.ts +41 -23
  114. package/dist/temporary_schemas/accounting_ruwe_data/module.astn.d.ts +3 -0
  115. package/dist/temporary_schemas/accounting_ruwe_data/module.astn.js +8 -0
  116. package/dist/temporary_schemas/accounting_ruwe_data/operations.astn.d.ts +3 -0
  117. package/dist/temporary_schemas/accounting_ruwe_data/operations.astn.js +78 -0
  118. package/dist/temporary_schemas/accounting_ruwe_data/schema_tree.astn.d.ts +3 -0
  119. package/dist/temporary_schemas/accounting_ruwe_data/schema_tree.astn.js +36 -0
  120. package/dist/temporary_schemas/accounting_ruwe_data/schemas/alan_light_oldstyle/$.globals.astn.d.ts +3 -0
  121. package/dist/temporary_schemas/accounting_ruwe_data/schemas/alan_light_oldstyle/$.globals.astn.js +8 -0
  122. package/dist/temporary_schemas/accounting_ruwe_data/schemas/alan_light_oldstyle/$.module.astn.d.ts +3 -0
  123. package/dist/temporary_schemas/accounting_ruwe_data/schemas/alan_light_oldstyle/$.module.astn.js +8 -0
  124. package/dist/temporary_schemas/accounting_ruwe_data/schemas/alan_light_oldstyle/$.types.astn.d.ts +8 -0
  125. package/dist/temporary_schemas/accounting_ruwe_data/schemas/alan_light_oldstyle/$.types.astn.js +63 -0
  126. package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding/$.globals.astn.d.ts +3 -0
  127. package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding/$.globals.astn.js +16 -0
  128. package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding/$.module.astn.d.ts +3 -0
  129. package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding/$.module.astn.js +10 -0
  130. package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding/$.resolvers.astn.d.ts +3 -0
  131. package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding/$.resolvers.astn.js +398 -0
  132. package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding/$.signatures.astn.d.ts +3 -0
  133. package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding/$.signatures.astn.js +49 -0
  134. package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding/$.types.astn.d.ts +3 -0
  135. package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding/$.types.astn.js +364 -0
  136. package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding_oude_model/$.globals.astn.d.ts +3 -0
  137. package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding_oude_model/$.globals.astn.js +17 -0
  138. package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding_oude_model/$.module.astn.d.ts +3 -0
  139. package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding_oude_model/$.module.astn.js +8 -0
  140. package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding_oude_model/$.types.astn.d.ts +3 -0
  141. package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding_oude_model/$.types.astn.js +365 -0
  142. package/dist/temporary_schemas/accounting_ruwe_data/schemas/builder_configuration/$.globals.astn.d.ts +3 -0
  143. package/dist/temporary_schemas/accounting_ruwe_data/schemas/builder_configuration/$.globals.astn.js +6 -0
  144. package/dist/temporary_schemas/accounting_ruwe_data/schemas/builder_configuration/$.module.astn.d.ts +3 -0
  145. package/dist/temporary_schemas/accounting_ruwe_data/schemas/builder_configuration/$.module.astn.js +8 -0
  146. package/dist/temporary_schemas/accounting_ruwe_data/schemas/builder_configuration/$.types.astn.d.ts +3 -0
  147. package/dist/temporary_schemas/accounting_ruwe_data/schemas/builder_configuration/$.types.astn.js +48 -0
  148. package/dist/temporary_schemas/accounting_ruwe_data/schemas/csv/$.globals.astn.d.ts +3 -0
  149. package/dist/temporary_schemas/accounting_ruwe_data/schemas/csv/$.globals.astn.js +6 -0
  150. package/dist/temporary_schemas/accounting_ruwe_data/schemas/csv/$.module.astn.d.ts +3 -0
  151. package/dist/temporary_schemas/accounting_ruwe_data/schemas/csv/$.module.astn.js +8 -0
  152. package/dist/temporary_schemas/accounting_ruwe_data/schemas/csv/$.types.astn.d.ts +3 -0
  153. package/dist/temporary_schemas/accounting_ruwe_data/schemas/csv/$.types.astn.js +21 -0
  154. package/dist/temporary_schemas/accounting_ruwe_data/schemas/html/$.globals.astn.d.ts +3 -0
  155. package/dist/temporary_schemas/accounting_ruwe_data/schemas/html/$.globals.astn.js +8 -0
  156. package/dist/temporary_schemas/accounting_ruwe_data/schemas/html/$.module.astn.d.ts +3 -0
  157. package/dist/temporary_schemas/accounting_ruwe_data/schemas/html/$.module.astn.js +8 -0
  158. package/dist/temporary_schemas/accounting_ruwe_data/schemas/html/$.types.astn.d.ts +3 -0
  159. package/dist/temporary_schemas/accounting_ruwe_data/schemas/html/$.types.astn.js +631 -0
  160. package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/annotated/$.globals.astn.d.ts +3 -0
  161. package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/annotated/$.globals.astn.js +10 -0
  162. package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/annotated/$.module.astn.d.ts +3 -0
  163. package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/annotated/$.module.astn.js +8 -0
  164. package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/annotated/$.types.astn.d.ts +3 -0
  165. package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/annotated/$.types.astn.js +53 -0
  166. package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/simple/$.globals.astn.d.ts +3 -0
  167. package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/simple/$.globals.astn.js +10 -0
  168. package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/simple/$.module.astn.d.ts +3 -0
  169. package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/simple/$.module.astn.js +8 -0
  170. package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/simple/$.types.astn.d.ts +3 -0
  171. package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/simple/$.types.astn.js +17 -0
  172. package/dist/temporary_schemas/accounting_ruwe_data/schemas/json_schema/$.globals.astn.d.ts +3 -0
  173. package/dist/temporary_schemas/accounting_ruwe_data/schemas/json_schema/$.globals.astn.js +13 -0
  174. package/dist/temporary_schemas/accounting_ruwe_data/schemas/json_schema/$.module.astn.d.ts +3 -0
  175. package/dist/temporary_schemas/accounting_ruwe_data/schemas/json_schema/$.module.astn.js +8 -0
  176. package/dist/temporary_schemas/accounting_ruwe_data/schemas/json_schema/$.types.astn.d.ts +3 -0
  177. package/dist/temporary_schemas/accounting_ruwe_data/schemas/json_schema/$.types.astn.js +51 -0
  178. package/dist/temporary_schemas/accounting_ruwe_data/schemas/legacy_schema/$.globals.astn.d.ts +3 -0
  179. package/dist/temporary_schemas/accounting_ruwe_data/schemas/legacy_schema/$.globals.astn.js +6 -0
  180. package/dist/temporary_schemas/accounting_ruwe_data/schemas/legacy_schema/$.module.astn.d.ts +3 -0
  181. package/dist/temporary_schemas/accounting_ruwe_data/schemas/legacy_schema/$.module.astn.js +8 -0
  182. package/dist/temporary_schemas/accounting_ruwe_data/schemas/legacy_schema/$.types.astn.d.ts +3 -0
  183. package/dist/temporary_schemas/accounting_ruwe_data/schemas/legacy_schema/$.types.astn.js +74 -0
  184. package/dist/temporary_schemas/accounting_ruwe_data/schemas/railroad_diagram/$.globals.astn.d.ts +3 -0
  185. package/dist/temporary_schemas/accounting_ruwe_data/schemas/railroad_diagram/$.globals.astn.js +8 -0
  186. package/dist/temporary_schemas/accounting_ruwe_data/schemas/railroad_diagram/$.module.astn.d.ts +3 -0
  187. package/dist/temporary_schemas/accounting_ruwe_data/schemas/railroad_diagram/$.module.astn.js +8 -0
  188. package/dist/temporary_schemas/accounting_ruwe_data/schemas/railroad_diagram/$.types.astn.d.ts +3 -0
  189. package/dist/temporary_schemas/accounting_ruwe_data/schemas/railroad_diagram/$.types.astn.js +50 -0
  190. package/dist/temporary_schemas/accounting_ruwe_data/schemas/regular_expression/$.globals.astn.d.ts +3 -0
  191. package/dist/temporary_schemas/accounting_ruwe_data/schemas/regular_expression/$.globals.astn.js +10 -0
  192. package/dist/temporary_schemas/accounting_ruwe_data/schemas/regular_expression/$.module.astn.d.ts +3 -0
  193. package/dist/temporary_schemas/accounting_ruwe_data/schemas/regular_expression/$.module.astn.js +8 -0
  194. package/dist/temporary_schemas/accounting_ruwe_data/schemas/regular_expression/$.types.astn.d.ts +3 -0
  195. package/dist/temporary_schemas/accounting_ruwe_data/schemas/regular_expression/$.types.astn.js +40 -0
  196. package/dist/temporary_schemas/accounting_ruwe_data/schemas/semantic_versioning/$.globals.astn.d.ts +3 -0
  197. package/dist/temporary_schemas/accounting_ruwe_data/schemas/semantic_versioning/$.globals.astn.js +8 -0
  198. package/dist/temporary_schemas/accounting_ruwe_data/schemas/semantic_versioning/$.module.astn.d.ts +3 -0
  199. package/dist/temporary_schemas/accounting_ruwe_data/schemas/semantic_versioning/$.module.astn.js +8 -0
  200. package/dist/temporary_schemas/accounting_ruwe_data/schemas/semantic_versioning/$.types.astn.d.ts +3 -0
  201. package/dist/temporary_schemas/accounting_ruwe_data/schemas/semantic_versioning/$.types.astn.js +18 -0
  202. package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/parse_result/$.globals.astn.d.ts +3 -0
  203. package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/parse_result/$.globals.astn.js +10 -0
  204. package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/parse_result/$.module.astn.d.ts +3 -0
  205. package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/parse_result/$.module.astn.js +8 -0
  206. package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/parse_result/$.types.astn.d.ts +3 -0
  207. package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/parse_result/$.types.astn.js +63 -0
  208. package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/simple/$.globals.astn.d.ts +3 -0
  209. package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/simple/$.globals.astn.js +10 -0
  210. package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/simple/$.module.astn.d.ts +3 -0
  211. package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/simple/$.module.astn.js +8 -0
  212. package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/simple/$.types.astn.d.ts +3 -0
  213. package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/simple/$.types.astn.js +31 -0
  214. package/dist/temporary_schemas/accounting_ruwe_data/schemas.astn.d.ts +3 -0
  215. package/dist/temporary_schemas/accounting_ruwe_data/schemas.astn.js +36 -0
  216. package/dist/temporary_schemas/all.d.ts +3 -0
  217. package/dist/temporary_schemas/all.js +44 -0
  218. package/dist/temporary_schemas/astn/module.astn.d.ts +3 -0
  219. package/dist/temporary_schemas/astn/module.astn.js +8 -0
  220. package/dist/temporary_schemas/astn/operations.astn.d.ts +3 -0
  221. package/dist/temporary_schemas/astn/operations.astn.js +6 -0
  222. package/dist/temporary_schemas/astn/schema_tree.astn.d.ts +3 -0
  223. package/dist/temporary_schemas/astn/schema_tree.astn.js +17 -0
  224. package/dist/temporary_schemas/astn/schemas/ast/$.globals.astn.d.ts +3 -0
  225. package/dist/temporary_schemas/astn/schemas/ast/$.globals.astn.js +6 -0
  226. package/dist/temporary_schemas/astn/schemas/ast/$.module.astn.d.ts +3 -0
  227. package/dist/temporary_schemas/astn/schemas/ast/$.module.astn.js +10 -0
  228. package/dist/temporary_schemas/astn/schemas/ast/$.types.astn.d.ts +3 -0
  229. package/dist/temporary_schemas/astn/schemas/ast/$.types.astn.js +85 -0
  230. package/dist/temporary_schemas/astn/schemas/ide/$.globals.astn.d.ts +3 -0
  231. package/dist/temporary_schemas/astn/schemas/ide/$.globals.astn.js +6 -0
  232. package/dist/temporary_schemas/astn/schemas/ide/$.module.astn.d.ts +3 -0
  233. package/dist/temporary_schemas/astn/schemas/ide/$.module.astn.js +10 -0
  234. package/dist/temporary_schemas/astn/schemas/ide/$.types.astn.d.ts +3 -0
  235. package/dist/temporary_schemas/astn/schemas/ide/$.types.astn.js +25 -0
  236. package/dist/temporary_schemas/astn/schemas/parse_result/$.globals.astn.d.ts +3 -0
  237. package/dist/temporary_schemas/astn/schemas/parse_result/$.globals.astn.js +6 -0
  238. package/dist/temporary_schemas/astn/schemas/parse_result/$.module.astn.d.ts +3 -0
  239. package/dist/temporary_schemas/astn/schemas/parse_result/$.module.astn.js +11 -0
  240. package/dist/temporary_schemas/astn/schemas/parse_result/$.types.astn.d.ts +3 -0
  241. package/dist/temporary_schemas/astn/schemas/parse_result/$.types.astn.js +49 -0
  242. package/dist/temporary_schemas/astn/schemas/target/$.globals.astn.d.ts +3 -0
  243. package/dist/temporary_schemas/astn/schemas/target/$.globals.astn.js +10 -0
  244. package/dist/temporary_schemas/astn/schemas/target/$.module.astn.d.ts +3 -0
  245. package/dist/temporary_schemas/astn/schemas/target/$.module.astn.js +8 -0
  246. package/dist/temporary_schemas/astn/schemas/target/$.types.astn.d.ts +3 -0
  247. package/dist/temporary_schemas/astn/schemas/target/$.types.astn.js +31 -0
  248. package/dist/temporary_schemas/astn/schemas/token/$.globals.astn.d.ts +3 -0
  249. package/dist/temporary_schemas/astn/schemas/token/$.globals.astn.js +6 -0
  250. package/dist/temporary_schemas/astn/schemas/token/$.module.astn.d.ts +3 -0
  251. package/dist/temporary_schemas/astn/schemas/token/$.module.astn.js +8 -0
  252. package/dist/temporary_schemas/astn/schemas/token/$.types.astn.d.ts +3 -0
  253. package/dist/temporary_schemas/astn/schemas/token/$.types.astn.js +75 -0
  254. package/dist/temporary_schemas/astn/schemas.astn.d.ts +3 -0
  255. package/dist/temporary_schemas/astn/schemas.astn.js +17 -0
  256. package/dist/temporary_schemas/exupery/module.astn.d.ts +3 -0
  257. package/dist/temporary_schemas/exupery/module.astn.js +8 -0
  258. package/dist/temporary_schemas/exupery/operations.astn.d.ts +3 -0
  259. package/dist/temporary_schemas/exupery/operations.astn.js +78 -0
  260. package/dist/temporary_schemas/exupery/schema_tree.astn.d.ts +3 -0
  261. package/dist/temporary_schemas/exupery/schema_tree.astn.js +13 -0
  262. package/dist/temporary_schemas/exupery/schemas/implementation/$.globals.astn.d.ts +3 -0
  263. package/dist/temporary_schemas/exupery/schemas/implementation/$.globals.astn.js +10 -0
  264. package/dist/temporary_schemas/exupery/schemas/implementation/$.module.astn.d.ts +3 -0
  265. package/dist/temporary_schemas/exupery/schemas/implementation/$.module.astn.js +12 -0
  266. package/dist/temporary_schemas/exupery/schemas/implementation/$.resolvers.astn.d.ts +3 -0
  267. package/dist/temporary_schemas/exupery/schemas/implementation/$.resolvers.astn.js +156 -0
  268. package/dist/temporary_schemas/exupery/schemas/implementation/$.signatures.astn.d.ts +3 -0
  269. package/dist/temporary_schemas/exupery/schemas/implementation/$.signatures.astn.js +14 -0
  270. package/dist/temporary_schemas/exupery/schemas/implementation/$.types.astn.d.ts +3 -0
  271. package/dist/temporary_schemas/exupery/schemas/implementation/$.types.astn.js +166 -0
  272. package/dist/temporary_schemas/exupery/schemas/interface/$.globals.astn.d.ts +3 -0
  273. package/dist/temporary_schemas/exupery/schemas/interface/$.globals.astn.js +9 -0
  274. package/dist/temporary_schemas/exupery/schemas/interface/$.module.astn.d.ts +3 -0
  275. package/dist/temporary_schemas/exupery/schemas/interface/$.module.astn.js +10 -0
  276. package/dist/temporary_schemas/exupery/schemas/interface/$.resolvers.astn.d.ts +3 -0
  277. package/dist/temporary_schemas/exupery/schemas/interface/$.resolvers.astn.js +83 -0
  278. package/dist/temporary_schemas/exupery/schemas/interface/$.signatures.astn.d.ts +3 -0
  279. package/dist/temporary_schemas/exupery/schemas/interface/$.signatures.astn.js +14 -0
  280. package/dist/temporary_schemas/exupery/schemas/interface/$.types.astn.d.ts +3 -0
  281. package/dist/temporary_schemas/exupery/schemas/interface/$.types.astn.js +83 -0
  282. package/dist/temporary_schemas/exupery/schemas/typescript_light/$.globals.astn.d.ts +3 -0
  283. package/dist/temporary_schemas/exupery/schemas/typescript_light/$.globals.astn.js +9 -0
  284. package/dist/temporary_schemas/exupery/schemas/typescript_light/$.module.astn.d.ts +3 -0
  285. package/dist/temporary_schemas/exupery/schemas/typescript_light/$.module.astn.js +8 -0
  286. package/dist/temporary_schemas/exupery/schemas/typescript_light/$.types.astn.d.ts +3 -0
  287. package/dist/temporary_schemas/exupery/schemas/typescript_light/$.types.astn.js +130 -0
  288. package/dist/temporary_schemas/exupery/schemas.astn.d.ts +3 -0
  289. package/dist/temporary_schemas/exupery/schemas.astn.js +13 -0
  290. package/dist/temporary_schemas/pareto/module.astn.d.ts +3 -0
  291. package/dist/temporary_schemas/pareto/module.astn.js +8 -0
  292. package/dist/temporary_schemas/pareto/operations.astn.d.ts +3 -0
  293. package/dist/temporary_schemas/pareto/operations.astn.js +78 -0
  294. package/dist/temporary_schemas/pareto/schema_tree.astn.d.ts +3 -0
  295. package/dist/temporary_schemas/pareto/schema_tree.astn.js +15 -0
  296. package/dist/temporary_schemas/pareto/schemas/module/$.globals.astn.d.ts +3 -0
  297. package/dist/temporary_schemas/pareto/schemas/module/$.globals.astn.js +6 -0
  298. package/dist/temporary_schemas/pareto/schemas/module/$.module.astn.d.ts +3 -0
  299. package/dist/temporary_schemas/pareto/schemas/module/$.module.astn.js +12 -0
  300. package/dist/temporary_schemas/pareto/schemas/module/$.resolvers.astn.d.ts +3 -0
  301. package/dist/temporary_schemas/pareto/schemas/module/$.resolvers.astn.js +45 -0
  302. package/dist/temporary_schemas/pareto/schemas/module/$.signatures.astn.d.ts +3 -0
  303. package/dist/temporary_schemas/pareto/schemas/module/$.signatures.astn.js +11 -0
  304. package/dist/temporary_schemas/pareto/schemas/module/$.types.astn.d.ts +3 -0
  305. package/dist/temporary_schemas/pareto/schemas/module/$.types.astn.js +20 -0
  306. package/dist/temporary_schemas/pareto/schemas/schema/$.globals.astn.d.ts +3 -0
  307. package/dist/temporary_schemas/pareto/schemas/schema/$.globals.astn.js +6 -0
  308. package/dist/temporary_schemas/pareto/schemas/schema/$.module.astn.d.ts +3 -0
  309. package/dist/temporary_schemas/pareto/schemas/schema/$.module.astn.js +10 -0
  310. package/dist/temporary_schemas/pareto/schemas/schema/$.resolvers.astn.d.ts +3 -0
  311. package/dist/temporary_schemas/pareto/schemas/schema/$.resolvers.astn.js +615 -0
  312. package/dist/temporary_schemas/pareto/schemas/schema/$.signatures.astn.d.ts +3 -0
  313. package/dist/temporary_schemas/pareto/schemas/schema/$.signatures.astn.js +133 -0
  314. package/dist/temporary_schemas/pareto/schemas/schema/$.types.astn.d.ts +3 -0
  315. package/dist/temporary_schemas/pareto/schemas/schema/$.types.astn.js +391 -0
  316. package/dist/temporary_schemas/pareto/schemas/unmarshall_errors/$.globals.astn.d.ts +3 -0
  317. package/dist/temporary_schemas/pareto/schemas/unmarshall_errors/$.globals.astn.js +6 -0
  318. package/dist/temporary_schemas/pareto/schemas/unmarshall_errors/$.module.astn.d.ts +3 -0
  319. package/dist/temporary_schemas/pareto/schemas/unmarshall_errors/$.module.astn.js +8 -0
  320. package/dist/temporary_schemas/pareto/schemas/unmarshall_errors/$.types.astn.d.ts +3 -0
  321. package/dist/temporary_schemas/pareto/schemas/unmarshall_errors/$.types.astn.js +62 -0
  322. package/dist/temporary_schemas/pareto/schemas/unmarshall_result/$.globals.astn.d.ts +3 -0
  323. package/dist/temporary_schemas/pareto/schemas/unmarshall_result/$.globals.astn.js +6 -0
  324. package/dist/temporary_schemas/pareto/schemas/unmarshall_result/$.module.astn.d.ts +3 -0
  325. package/dist/temporary_schemas/pareto/schemas/unmarshall_result/$.module.astn.js +10 -0
  326. package/dist/temporary_schemas/pareto/schemas/unmarshall_result/$.types.astn.d.ts +3 -0
  327. package/dist/temporary_schemas/pareto/schemas/unmarshall_result/$.types.astn.js +136 -0
  328. package/dist/temporary_schemas/pareto/schemas.astn.d.ts +3 -0
  329. package/dist/temporary_schemas/pareto/schemas.astn.js +15 -0
  330. package/dist/temporary_schemas/pareto-fountain-pen/module.astn.d.ts +3 -0
  331. package/dist/temporary_schemas/pareto-fountain-pen/module.astn.js +8 -0
  332. package/dist/temporary_schemas/pareto-fountain-pen/operations.astn.d.ts +3 -0
  333. package/dist/temporary_schemas/pareto-fountain-pen/operations.astn.js +6 -0
  334. package/dist/temporary_schemas/pareto-fountain-pen/schema_tree.astn.d.ts +3 -0
  335. package/dist/temporary_schemas/pareto-fountain-pen/schema_tree.astn.js +15 -0
  336. package/dist/temporary_schemas/pareto-fountain-pen/schemas/block/$.globals.astn.d.ts +3 -0
  337. package/dist/temporary_schemas/pareto-fountain-pen/schemas/block/$.globals.astn.js +8 -0
  338. package/dist/temporary_schemas/pareto-fountain-pen/schemas/block/$.module.astn.d.ts +3 -0
  339. package/dist/temporary_schemas/pareto-fountain-pen/schemas/block/$.module.astn.js +8 -0
  340. package/dist/temporary_schemas/pareto-fountain-pen/schemas/block/$.types.astn.d.ts +3 -0
  341. package/dist/temporary_schemas/pareto-fountain-pen/schemas/block/$.types.astn.js +25 -0
  342. package/dist/temporary_schemas/pareto-fountain-pen/schemas/lines/$.globals.astn.d.ts +3 -0
  343. package/dist/temporary_schemas/pareto-fountain-pen/schemas/lines/$.globals.astn.js +8 -0
  344. package/dist/temporary_schemas/pareto-fountain-pen/schemas/lines/$.module.astn.d.ts +3 -0
  345. package/dist/temporary_schemas/pareto-fountain-pen/schemas/lines/$.module.astn.js +8 -0
  346. package/dist/temporary_schemas/pareto-fountain-pen/schemas/lines/$.types.astn.d.ts +3 -0
  347. package/dist/temporary_schemas/pareto-fountain-pen/schemas/lines/$.types.astn.js +12 -0
  348. package/dist/temporary_schemas/pareto-fountain-pen/schemas/semi_lines/$.globals.astn.d.ts +3 -0
  349. package/dist/temporary_schemas/pareto-fountain-pen/schemas/semi_lines/$.globals.astn.js +8 -0
  350. package/dist/temporary_schemas/pareto-fountain-pen/schemas/semi_lines/$.module.astn.d.ts +3 -0
  351. package/dist/temporary_schemas/pareto-fountain-pen/schemas/semi_lines/$.module.astn.js +8 -0
  352. package/dist/temporary_schemas/pareto-fountain-pen/schemas/semi_lines/$.types.astn.d.ts +3 -0
  353. package/dist/temporary_schemas/pareto-fountain-pen/schemas/semi_lines/$.types.astn.js +15 -0
  354. package/dist/temporary_schemas/pareto-fountain-pen/schemas/text/$.globals.astn.d.ts +3 -0
  355. package/dist/temporary_schemas/pareto-fountain-pen/schemas/text/$.globals.astn.js +8 -0
  356. package/dist/temporary_schemas/pareto-fountain-pen/schemas/text/$.module.astn.d.ts +3 -0
  357. package/dist/temporary_schemas/pareto-fountain-pen/schemas/text/$.module.astn.js +8 -0
  358. package/dist/temporary_schemas/pareto-fountain-pen/schemas/text/$.types.astn.d.ts +3 -0
  359. package/dist/temporary_schemas/pareto-fountain-pen/schemas/text/$.types.astn.js +12 -0
  360. package/dist/temporary_schemas/pareto-fountain-pen/schemas.astn.d.ts +3 -0
  361. package/dist/temporary_schemas/pareto-fountain-pen/schemas.astn.js +15 -0
  362. package/dist/temporary_schemas/pareto-json/module.astn.d.ts +3 -0
  363. package/dist/temporary_schemas/pareto-json/module.astn.js +8 -0
  364. package/dist/temporary_schemas/pareto-json/operations.astn.d.ts +3 -0
  365. package/dist/temporary_schemas/pareto-json/operations.astn.js +6 -0
  366. package/dist/temporary_schemas/pareto-json/schema_tree.astn.d.ts +3 -0
  367. package/dist/temporary_schemas/pareto-json/schema_tree.astn.js +9 -0
  368. package/dist/temporary_schemas/pareto-json/schemas/json/$.globals.astn.d.ts +3 -0
  369. package/dist/temporary_schemas/pareto-json/schemas/json/$.globals.astn.js +10 -0
  370. package/dist/temporary_schemas/pareto-json/schemas/json/$.module.astn.d.ts +3 -0
  371. package/dist/temporary_schemas/pareto-json/schemas/json/$.module.astn.js +8 -0
  372. package/dist/temporary_schemas/pareto-json/schemas/json/$.types.astn.d.ts +3 -0
  373. package/dist/temporary_schemas/pareto-json/schemas/json/$.types.astn.js +25 -0
  374. package/dist/temporary_schemas/pareto-json/schemas.astn.d.ts +3 -0
  375. package/dist/temporary_schemas/pareto-json/schemas.astn.js +9 -0
  376. package/dist/temporary_schemas/pareto-targets/module.astn.d.ts +3 -0
  377. package/dist/temporary_schemas/pareto-targets/module.astn.js +8 -0
  378. package/dist/temporary_schemas/pareto-targets/operations.astn.d.ts +3 -0
  379. package/dist/temporary_schemas/pareto-targets/operations.astn.js +6 -0
  380. package/dist/temporary_schemas/pareto-targets/schema_tree.astn.d.ts +3 -0
  381. package/dist/temporary_schemas/pareto-targets/schema_tree.astn.js +17 -0
  382. package/dist/temporary_schemas/pareto-targets/schemas/alan_light/$.globals.astn.d.ts +3 -0
  383. package/dist/temporary_schemas/pareto-targets/schemas/alan_light/$.globals.astn.js +8 -0
  384. package/dist/temporary_schemas/pareto-targets/schemas/alan_light/$.module.astn.d.ts +3 -0
  385. package/dist/temporary_schemas/pareto-targets/schemas/alan_light/$.module.astn.js +8 -0
  386. package/dist/temporary_schemas/pareto-targets/schemas/alan_light/$.types.astn.d.ts +3 -0
  387. package/dist/temporary_schemas/pareto-targets/schemas/alan_light/$.types.astn.js +59 -0
  388. package/dist/temporary_schemas/pareto-targets/schemas/graphviz/high_level/$.globals.astn.d.ts +3 -0
  389. package/dist/temporary_schemas/pareto-targets/schemas/graphviz/high_level/$.globals.astn.js +8 -0
  390. package/dist/temporary_schemas/pareto-targets/schemas/graphviz/high_level/$.module.astn.d.ts +3 -0
  391. package/dist/temporary_schemas/pareto-targets/schemas/graphviz/high_level/$.module.astn.js +8 -0
  392. package/dist/temporary_schemas/pareto-targets/schemas/graphviz/high_level/$.types.astn.d.ts +3 -0
  393. package/dist/temporary_schemas/pareto-targets/schemas/graphviz/high_level/$.types.astn.js +255 -0
  394. package/dist/temporary_schemas/pareto-targets/schemas/graphviz/low_level/$.globals.astn.d.ts +3 -0
  395. package/dist/temporary_schemas/pareto-targets/schemas/graphviz/low_level/$.globals.astn.js +10 -0
  396. package/dist/temporary_schemas/pareto-targets/schemas/graphviz/low_level/$.module.astn.d.ts +3 -0
  397. package/dist/temporary_schemas/pareto-targets/schemas/graphviz/low_level/$.module.astn.js +8 -0
  398. package/dist/temporary_schemas/pareto-targets/schemas/graphviz/low_level/$.types.astn.d.ts +3 -0
  399. package/dist/temporary_schemas/pareto-targets/schemas/graphviz/low_level/$.types.astn.js +68 -0
  400. package/dist/temporary_schemas/pareto-targets/schemas/lionweb/$.globals.astn.d.ts +3 -0
  401. package/dist/temporary_schemas/pareto-targets/schemas/lionweb/$.globals.astn.js +9 -0
  402. package/dist/temporary_schemas/pareto-targets/schemas/lionweb/$.module.astn.d.ts +3 -0
  403. package/dist/temporary_schemas/pareto-targets/schemas/lionweb/$.module.astn.js +8 -0
  404. package/dist/temporary_schemas/pareto-targets/schemas/lionweb/$.types.astn.d.ts +3 -0
  405. package/dist/temporary_schemas/pareto-targets/schemas/lionweb/$.types.astn.js +41 -0
  406. package/dist/temporary_schemas/pareto-targets/schemas/pareto_documentation/$.globals.astn.d.ts +3 -0
  407. package/dist/temporary_schemas/pareto-targets/schemas/pareto_documentation/$.globals.astn.js +8 -0
  408. package/dist/temporary_schemas/pareto-targets/schemas/pareto_documentation/$.module.astn.d.ts +3 -0
  409. package/dist/temporary_schemas/pareto-targets/schemas/pareto_documentation/$.module.astn.js +11 -0
  410. package/dist/temporary_schemas/pareto-targets/schemas/pareto_documentation/$.types.astn.d.ts +3 -0
  411. package/dist/temporary_schemas/pareto-targets/schemas/pareto_documentation/$.types.astn.js +17 -0
  412. package/dist/temporary_schemas/pareto-targets/schemas.astn.d.ts +3 -0
  413. package/dist/temporary_schemas/pareto-targets/schemas.astn.js +17 -0
  414. package/dist/transformations/module/exupery_implementation.d.ts +4 -4
  415. package/dist/transformations/module/exupery_implementation.js +10 -8
  416. package/dist/transformations/module/exupery_interface.d.ts +2 -2
  417. package/dist/transformations/module/exupery_interface.js +36 -37
  418. package/dist/transformations/module/temp_typescript.d.ts +3 -0
  419. package/dist/transformations/module/temp_typescript.js +56 -0
  420. package/dist/transformations/schema/exupery_implementation/main.d.ts +10 -4
  421. package/dist/transformations/schema/exupery_implementation/main.js +33 -18
  422. package/dist/transformations/schema/exupery_implementation/marshall.d.ts +9 -9
  423. package/dist/transformations/schema/exupery_implementation/marshall.js +43 -39
  424. package/dist/transformations/schema/exupery_implementation/migrate_boilerplate.d.ts +3 -3
  425. package/dist/transformations/schema/exupery_implementation/resolve.d.ts +20 -20
  426. package/dist/transformations/schema/exupery_implementation/resolve.js +141 -133
  427. package/dist/transformations/schema/exupery_implementation/unmarshall.d.ts +15 -0
  428. package/dist/transformations/schema/exupery_implementation/unmarshall.js +159 -0
  429. package/dist/transformations/schema/exupery_interface/main.d.ts +4 -2
  430. package/dist/transformations/schema/exupery_interface/main.js +73 -54
  431. package/dist/transformations/schema/exupery_interface/marshall.d.ts +2 -2
  432. package/dist/transformations/schema/exupery_interface/marshall.js +8 -23
  433. package/dist/transformations/schema/exupery_interface/migrate_boilerplate.d.ts +2 -2
  434. package/dist/transformations/schema/exupery_interface/migrate_boilerplate.js +7 -3
  435. package/dist/transformations/schema/exupery_interface/resolve.d.ts +3 -3
  436. package/dist/transformations/schema/exupery_interface/resolve.js +17 -17
  437. package/dist/transformations/schema/exupery_interface/types.d.ts +6 -6
  438. package/dist/transformations/schema/exupery_interface/types.js +61 -60
  439. package/dist/transformations/schema/exupery_interface/unmarshall.d.ts +2 -2
  440. package/dist/transformations/schema/exupery_interface/unmarshall.js +12 -5
  441. package/dist/transformations/schema/exupery_interface/{serializer.d.ts → value_deserializers.d.ts} +2 -2
  442. package/dist/transformations/schema/exupery_interface/value_deserializers.js +57 -0
  443. package/dist/transformations/schema/exupery_interface/{migration_boilerplate.d.ts → value_serializers.d.ts} +3 -3
  444. package/dist/transformations/schema/exupery_interface/value_serializers.js +57 -0
  445. package/dist/transformations/unmarshall_errors/fountain_pen.d.ts +8 -0
  446. package/dist/transformations/unmarshall_errors/fountain_pen.js +86 -0
  447. package/dist/transformations/unmarshall_result/unmarshall_errors.d.ts +1 -2
  448. package/dist/transformations/unmarshall_result/unmarshall_errors.js +116 -55
  449. package/dist/uptransformers/unmarshall_result/astn_ast.d.ts +7 -6
  450. package/dist/uptransformers/unmarshall_result/astn_ast.js +2 -2
  451. package/package.json +5 -5
  452. package/dist/generated/generic/resolve.d.ts +0 -90
  453. package/dist/generated/generic/resolve.js +0 -251
  454. package/dist/generated/implementation/schemas/module/serializer.d.ts +0 -3
  455. package/dist/generated/implementation/schemas/schema/serializer.d.ts +0 -35
  456. package/dist/generated/implementation/schemas/schema/serializer.js +0 -1100
  457. package/dist/generated/implementation/schemas/unmarshall_errors/serializer.d.ts +0 -5
  458. package/dist/generated/implementation/schemas/unmarshall_errors/serializer.js +0 -175
  459. package/dist/generated/interface/generic/resolve.d.ts +0 -11
  460. package/dist/generated/interface/generic/resolve.js +0 -3
  461. package/dist/generated/interface/schemas/module/migration_boilerplate.js +0 -3
  462. package/dist/generated/interface/schemas/module/serializer.d.ts +0 -106
  463. package/dist/generated/interface/schemas/module/unresolved.d.ts +0 -133
  464. package/dist/generated/interface/schemas/schema/migration_boilerplate.js +0 -3
  465. package/dist/generated/interface/schemas/schema/unresolved.d.ts +0 -3754
  466. package/dist/generated/interface/schemas/unmarshall_errors/migration_boilerplate.js +0 -3
  467. package/dist/generated/interface/schemas/unmarshall_errors/serializer.d.ts +0 -166
  468. package/dist/generated/interface/schemas/unmarshall_errors/serializer.js +0 -3
  469. package/dist/generated/interface/schemas/unmarshall_result/migration_boilerplate.js +0 -7
  470. package/dist/generated/interface/schemas/unmarshall_result/serializer.js +0 -3
  471. package/dist/index.d.ts +0 -1
  472. package/dist/index.js +0 -5
  473. package/dist/transformations/module/pareto_implementation.d.ts +0 -4
  474. package/dist/transformations/module/pareto_implementation.js +0 -42
  475. package/dist/transformations/module/pareto_interface.d.ts +0 -5
  476. package/dist/transformations/module/pareto_interface.js +0 -150
  477. package/dist/transformations/schema/documentation.d.ts +0 -5
  478. package/dist/transformations/schema/documentation.js +0 -72
  479. package/dist/transformations/schema/exupery_implementation/migration_boilerplate.d.ts +0 -14
  480. package/dist/transformations/schema/exupery_implementation/migration_boilerplate.js +0 -113
  481. package/dist/transformations/schema/exupery_implementation/resolver.d.ts +0 -24
  482. package/dist/transformations/schema/exupery_implementation/resolver.js +0 -299
  483. package/dist/transformations/schema/exupery_implementation/serializer.d.ts +0 -14
  484. package/dist/transformations/schema/exupery_implementation/serializer.js +0 -145
  485. package/dist/transformations/schema/exupery_interface/migration_boilerplate.js +0 -43
  486. package/dist/transformations/schema/exupery_interface/resolver.d.ts +0 -12
  487. package/dist/transformations/schema/exupery_interface/resolver.js +0 -115
  488. package/dist/transformations/schema/exupery_interface/serializer.js +0 -62
  489. package/dist/transformations/schema/graphviz.d.ts +0 -8
  490. package/dist/transformations/schema/graphviz.js +0 -103
  491. package/dist/transformations/schema/lionweb.d.ts +0 -14
  492. package/dist/transformations/schema/lionweb.js +0 -226
  493. package/dist/transformations/schema/pareto_implementation/main.d.ts +0 -4
  494. package/dist/transformations/schema/pareto_implementation/main.js +0 -63
  495. package/dist/transformations/schema/pareto_implementation/migration_boilerplate.d.ts +0 -14
  496. package/dist/transformations/schema/pareto_implementation/migration_boilerplate.js +0 -113
  497. package/dist/transformations/schema/pareto_implementation/resolver.d.ts +0 -24
  498. package/dist/transformations/schema/pareto_implementation/resolver.js +0 -299
  499. package/dist/transformations/schema/pareto_interface/main.d.ts +0 -4
  500. package/dist/transformations/schema/pareto_interface/main.js +0 -79
  501. package/dist/transformations/schema/pareto_interface/migration_boilerplate.d.ts +0 -7
  502. package/dist/transformations/schema/pareto_interface/migration_boilerplate.js +0 -51
  503. package/dist/transformations/schema/pareto_interface/resolver.d.ts +0 -12
  504. package/dist/transformations/schema/pareto_interface/resolver.js +0 -115
  505. package/dist/transformations/schema/pareto_interface/types.d.ts +0 -12
  506. package/dist/transformations/schema/pareto_interface/types.js +0 -211
  507. package/dist/transformations/schema/railroad_diagram.d.ts +0 -7
  508. package/dist/transformations/schema/railroad_diagram.js +0 -79
  509. package/dist/transformations/unmarshall/collect_errors.d.ts +0 -4
  510. package/dist/transformations/unmarshall/collect_errors.js +0 -185
  511. package/dist/transformations/unmarshall/dynamic_post_parse.d.ts +0 -7
  512. package/dist/transformations/unmarshall/dynamic_post_parse.js +0 -267
  513. package/dist/transformations/unmarshall/post_parse_types.d.ts +0 -77
  514. package/dist/transformations/unmarshall/post_parse_types.js +0 -3
  515. package/dist/unmarshall/collect_errors.d.ts +0 -38
  516. package/dist/unmarshall/collect_errors.js +0 -185
  517. package/dist/unmarshall/dynamic_post_parse.d.ts +0 -7
  518. package/dist/unmarshall/dynamic_post_parse.js +0 -267
  519. package/dist/unmarshall/post_parse_types.d.ts +0 -77
  520. package/dist/unmarshall/post_parse_types.js +0 -3
  521. /package/dist/{generated/implementation/schemas/unmarshall_result/serializer.d.ts → bin/compile.d.ts} +0 -0
  522. /package/dist/{generated/interface/schemas/unmarshall_result/migration_boilerplate.d.ts → bin/test.d.ts} +0 -0
  523. /package/dist/generated/{interface/schemas/unmarshall_result/unconstrained.d.ts → implementation/schemas/unmarshall_result/marshall.d.ts} +0 -0
  524. /package/dist/generated/interface/schemas/{unmarshall_result/serializer.d.ts → module/value_serializers.d.ts} +0 -0
@@ -0,0 +1,94 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.$ = void 0;
27
+ //core
28
+ const _ea = __importStar(require("exupery-core-alg"));
29
+ const _ed = __importStar(require("exupery-core-dev"));
30
+ const r_pareto_schema = __importStar(require("../resolvers/schema"));
31
+ const u_pareto_schema = __importStar(require("../generated/implementation/schemas/schema/unmarshall"));
32
+ const parse = __importStar(require("astn/dist/parse/parse"));
33
+ const pareto_standard_operations_1 = require("pareto-standard-operations");
34
+ const op = {
35
+ 'remove first element': pareto_standard_operations_1.impure.list['remove first element'],
36
+ 'remove last element': pareto_standard_operations_1.impure.list['remove last element'],
37
+ };
38
+ // ['resolve error', FIXME resolve errors will now panic!
39
+ const $ = ($) => {
40
+ return _ea.cc(parse.parse($, {
41
+ 'tab size': 4,
42
+ }), ($) => {
43
+ switch ($[0]) {
44
+ case 'failure': return _ea.ss($, ($) => {
45
+ return ['parse error', $];
46
+ });
47
+ case 'success': return _ea.ss($, ($) => {
48
+ const resolved_schema_schema = r_pareto_schema.Type_Specification(u_pareto_schema.Type_Specification($.content, {
49
+ 'value deserializers': {
50
+ 'boolean': ($) => $ === "true",
51
+ 'default number': () => 0,
52
+ 'custom numbers': null
53
+ }
54
+ }), {
55
+ 'location 2 string': ($) => `${$.start.relative.line}:${$.start.relative.column}`,
56
+ 'parameters': {
57
+ 'lookups': null,
58
+ 'values': null,
59
+ }
60
+ });
61
+ const temp_find_schema = ($, schema_path) => {
62
+ const st = $;
63
+ return op['remove first element'](schema_path).transform(($) => {
64
+ const split = $;
65
+ return _ea.cc(st, ($) => {
66
+ switch ($[0]) {
67
+ case 'schema': return _ea.ss($, ($) => _ea.panic(`the selected tree is a schema, not a set, can't do this step: ${split.element} `));
68
+ case 'set': return _ea.ss($, ($) => $.dictionary.__get_entry(split.element).transform(($) => temp_find_schema($, split.array), () => _ea.panic(`schema not found: ${split.element}`)));
69
+ default: return _ea.au($[0]);
70
+ }
71
+ });
72
+ }, () => _ea.cc($, ($) => {
73
+ switch ($[0]) {
74
+ case 'schema': return _ea.ss($, ($) => $);
75
+ case 'set': return _ea.ss($, ($) => _ea.panic("the selected tree is a set, not a schema"));
76
+ default: return _ea.au($[0]);
77
+ }
78
+ }));
79
+ };
80
+ const schema = temp_find_schema(resolved_schema_schema.schema, resolved_schema_schema['schema path']);
81
+ const type = schema.types.dictionary.__get_entry(resolved_schema_schema.type).transform(($) => $, () => {
82
+ schema.types.dictionary.map(($, key) => {
83
+ _ed.log_debug_message(`available type: ${key}`);
84
+ });
85
+ _ea.panic(`root type ${resolved_schema_schema.type} not found`);
86
+ });
87
+ return ['success', type];
88
+ });
89
+ default: return _ea.au($[0]);
90
+ }
91
+ });
92
+ };
93
+ exports.$ = $;
94
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZF9zY2hlbWEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvb3RoZXIvbG9hZF9zY2hlbWEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxNQUFNO0FBQ04sc0RBQXVDO0FBSXZDLHNEQUF1QztBQVN2QyxxRUFBc0Q7QUFFdEQsdUdBQXdGO0FBSXhGLDZEQUE4QztBQUs5QywyRUFBeUQ7QUFHekQsTUFBTSxFQUFFLEdBQUc7SUFDUCxzQkFBc0IsRUFBRSxtQ0FBTSxDQUFDLElBQUksQ0FBQyxzQkFBc0IsQ0FBQztJQUMzRCxxQkFBcUIsRUFBRSxtQ0FBTSxDQUFDLElBQUksQ0FBQyxxQkFBcUIsQ0FBQztDQUM1RCxDQUFBO0FBTUcseURBQX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QUMsQ0FBQTtnQkFFckcsTUFBTSxJQUFJLEdBQUcsTUFBTSxDQUFDLEtBQUssQ0FBQyxVQUFVLENBQUMsV0FBVyxDQUFDLHNCQUFzQixDQUFDLElBQUksQ0FBQyxDQUFDLFNBQVMsQ0FDbkYsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsRUFDUixHQUFHLEVBQUU7b0JBQ0QsTUFBTSxDQUFDLEtBQUssQ0FBQyxVQUFVLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxFQUFFLEdBQUcsRUFBRSxFQUFFO3dCQUNuQyxHQUFHLENBQUMsaUJBQWlCLENBQUMsbUJBQW1CLEdBQUcsRUFBRSxDQUFDLENBQUE7b0JBQ25ELENBQUMsQ0FBQyxDQUFBO29CQUNGLEdBQUcsQ0FBQyxLQUFLLENBQUMsYUFBYSxzQkFBc0IsQ0FBQyxJQUFJLFlBQVksQ0FBQyxDQUFBO2dCQUNuRSxDQUFDLENBQ0osQ0FBQTtnQkFDRCxPQUFPLENBQUMsU0FBUyxFQUFFLElBQUksQ0FBQyxDQUFBO1lBQzVCLENBQUMsQ0FBQyxDQUFBO1lBQ0YsT0FBTyxDQUFDLENBQUMsT0FBTyxHQUFHLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFBO1FBQ2hDLENBQUM7SUFDTCxDQUFDLENBQ0osQ0FBQTtBQUNMLENBQUMsQ0FBQTtBQW5GWSxRQUFBLENBQUMsS0FtRmIifQ==
@@ -0,0 +1,3 @@
1
+ import * as _et from "exupery-core-types";
2
+ export declare const get_base_name: (path: string) => _et.Optional_Value<string>;
3
+ export declare const get_directory_path: (path: string) => _et.Optional_Value<_et.Array<string>>;
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.get_directory_path = exports.get_base_name = void 0;
27
+ const _ea = __importStar(require("exupery-core-alg"));
28
+ const pso = __importStar(require("pareto-standard-operations"));
29
+ const get_base_name = (path) => {
30
+ const temp = _ea.impure.text.split(path, "/");
31
+ return temp.__get_element_at(temp.__get_length() - 1);
32
+ };
33
+ exports.get_base_name = get_base_name;
34
+ const get_directory_path = (path) => {
35
+ const temp = _ea.impure.text.split(path, "/");
36
+ return pso.impure.list['remove last element'](temp).map(($) => $.array);
37
+ };
38
+ exports.get_directory_path = get_directory_path;
39
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF0aC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9vdGhlci9wYXRoLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsc0RBQXVDO0FBR3ZDLGdFQUFpRDtBQUUxQyxNQUFNLGFBQWEsR0FBRyxDQUFDLElBQVksRUFBOEIsRUFBRTtJQUN0RSxNQUFNLElBQUksR0FBRyxHQUFHLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsSUFBSSxFQUFFLEdBQUcsQ0FBQyxDQUFBO0lBRTdDLE9BQU8sSUFBSSxDQUFDLGdCQUFnQixDQUFDLElBQUksQ0FBQyxZQUFZLEVBQUUsR0FBRyxDQUFDLENBQUMsQ0FBQTtBQUN6RCxDQUFDLENBQUE7QUFKWSxRQUFBLGFBQWEsaUJBSXpCO0FBRU0sTUFBTSxrQkFBa0IsR0FBRyxDQUFDLElBQVksRUFBeUMsRUFBRTtJQUN0RixNQUFNLElBQUksR0FBRyxHQUFHLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsSUFBSSxFQUFFLEdBQUcsQ0FBQyxDQUFBO0lBRTdDLE9BQU8sR0FBRyxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMscUJBQXFCLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQTtBQUUzRSxDQUFDLENBQUE7QUFMWSxRQUFBLGtCQUFrQixzQkFLOUIifQ==
@@ -0,0 +1,3 @@
1
+ export declare const $: ($: null, $p: {
2
+ 'path': string;
3
+ }) => void;
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.$ = void 0;
27
+ const _ed = __importStar(require("exupery-core-data"));
28
+ const wtd = __importStar(require("pareto-fountain-pen/dist/other/write_to_disk"));
29
+ const temp_astn_to_fp = __importStar(require("astn/dist/transformations/target/fountain_pen_block"));
30
+ //data
31
+ const all_1 = require("../temporary_schemas/all");
32
+ //resolvers
33
+ const r_module = __importStar(require("../resolvers/module"));
34
+ //marshall
35
+ const m_module = __importStar(require("../generated/implementation/schemas/module/marshall"));
36
+ const $ = ($, $p) => {
37
+ all_1.$.map(($, key) => {
38
+ const generate_and_write_to_disk = ($, $p) => {
39
+ wtd.File(temp_astn_to_fp.Document(m_module.Module(r_module.Module($, {
40
+ 'parameters': {
41
+ 'lookups': null,
42
+ 'values': null,
43
+ },
44
+ 'location 2 string': _ed.location_to_string
45
+ }), {
46
+ 'value serializers': {
47
+ 'boolean': ($) => $ ? "true" : "false",
48
+ 'default number': () => "FIXME NUMBER",
49
+ 'custom numbers': null
50
+ }
51
+ }), {
52
+ 'style': ['verbose', null]
53
+ }), {
54
+ 'directory path': $p.path,
55
+ 'filename': `${$p.key}.astn`,
56
+ 'indentation': " ",
57
+ 'newline': "\n"
58
+ });
59
+ };
60
+ generate_and_write_to_disk($, {
61
+ 'path': $p.path,
62
+ 'key': key,
63
+ });
64
+ });
65
+ };
66
+ exports.$ = $;
67
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWFsaX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Uk7aUJBQ3pCO2FBQ0osQ0FDSixFQUNEO2dCQUNJLE9BQU8sRUFBRSxDQUFDLFNBQVMsRUFBRSxJQUFJLENBQUM7YUFDN0IsQ0FDSixFQUNEO2dCQUNJLGdCQUFnQixFQUFFLEVBQUUsQ0FBQyxJQUFJO2dCQUN6QixVQUFVLEVBQUUsR0FBRyxFQUFFLENBQUMsR0FBRyxPQUFPO2dCQUM1QixhQUFhLEVBQUUsTUFBTTtnQkFDckIsU0FBUyxFQUFFLElBQUk7YUFDbEIsQ0FDSixDQUFBO1FBRUwsQ0FBQyxDQUFBO1FBQ0QsMEJBQTBCLENBQ3RCLENBQUMsRUFDRDtZQUNJLE1BQU0sRUFBRSxFQUFFLENBQUMsSUFBSTtZQUNmLEtBQUssRUFBRSxHQUFHO1NBQ2IsQ0FDSixDQUFBO0lBQ0wsQ0FBQyxDQUFDLENBQUE7QUFHTixDQUFDLENBQUE7QUExRFksUUFBQSxDQUFDLEtBMERiIn0=
@@ -0,0 +1 @@
1
+ export declare const $: ($: null, $p: {}) => void;
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.$ = void 0;
27
+ //core
28
+ const _ea = __importStar(require("exupery-core-alg"));
29
+ const _er = __importStar(require("exupery-core-resources"));
30
+ const _ed = __importStar(require("exupery-core-dev"));
31
+ //data
32
+ const t_ur_ue = __importStar(require("../transformations/unmarshall_result/unmarshall_errors"));
33
+ const t_ue_fp = __importStar(require("../transformations/unmarshall_errors/fountain_pen"));
34
+ const write_to_console = __importStar(require("./fp_write_to_console"));
35
+ const pareto_standard_operations_1 = require("pareto-standard-operations");
36
+ const load_astn_document_1 = require("./load_astn_document");
37
+ const op = {
38
+ 'remove first element': pareto_standard_operations_1.impure.list['remove first element'],
39
+ 'remove last element': pareto_standard_operations_1.impure.list['remove last element'],
40
+ };
41
+ const $ = ($, $p) => {
42
+ const instance_path = "./data/test/pareto_modules/pareto-json.astn";
43
+ _ea.cc(_er.temp_resources.fs['read file sync'](instance_path, true), ($) => {
44
+ switch ($[0]) {
45
+ case 'success': return _ea.ss($, ($) => {
46
+ _ea.cc((0, load_astn_document_1.validate_instance_against_directory_schema)(instance_path, $), ($) => {
47
+ switch ($[0]) {
48
+ case 'parse success': return _ea.ss($, ($) => _ea.cc($, ($) => {
49
+ switch ($[0]) {
50
+ case 'no schema file': return _ea.ss($, ($) => {
51
+ _ed.log_debug_message(`No schema file found: ${$}`);
52
+ });
53
+ case 'schema error': return _ea.ss($, ($) => {
54
+ _ed.log_debug_message(`Schema error: ${$}`);
55
+ });
56
+ case 'unmarshalled': return _ea.ss($, ($) => {
57
+ write_to_console.Block(t_ue_fp.Errors(t_ur_ue.Node($), {
58
+ 'line offset': 1,
59
+ 'column offset': 1,
60
+ }), {
61
+ 'indentation': ' ',
62
+ 'channel': 'error'
63
+ });
64
+ });
65
+ default: return _ea.au($[0]);
66
+ }
67
+ }));
68
+ case 'parse error': return _ea.ss($, ($) => {
69
+ _ed.log_debug_message(`Instance parse error: ${$.type[0]}`);
70
+ });
71
+ default: return _ea.au($[0]);
72
+ }
73
+ });
74
+ });
75
+ case 'error': return _ea.ss($, ($) => _ea.panic(`could not read file: ${instance_path}`));
76
+ default: return _ea.au($[0]);
77
+ }
78
+ });
79
+ };
80
+ exports.$ = $;
81
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9vdGhlci90ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsTUFBTTtBQUNOLHNEQUF1QztBQUV2Qyw0REFBNkM7QUFFN0Msc0RBQXVDO0FBRXZDLE1BQU07QUFDTixnR0FBaUY7QUFDakYsMkZBQTRFO0FBRTVFLHdFQUF5RDtBQUl6RCwyRUFBbUQ7QUFDbkQsNkRBQWlGO0FBRWpGLE1BQU0sRUFBRSxHQUFHO0lBQ1Asc0JBQXNCLEVBQUUsbUNBQU0sQ0FBQyxJQUFJLENBQUMsc0JBQXNCLENBQUM7SUFDM0QscUJBQXFCLEVBQUUsbUNBQU0sQ0FBQyxJQUFJLENBQUMscUJBQXFCLENBQUM7Q0FDNUQsQ0FBQTtBQUVNLE1BQU0sQ0FBQyxHQUtGLENBQUMsQ0FBQyxFQUFFLEVBQUUsRUFBRSxFQUFFO0lBSWxCLE1BQU0sYUFBYSxHQUFHLDZDQUE2QyxDQUFBO0lBRW5FLEdBQUcsQ0FBQyxFQUFFLENBQ0YsR0FBRyxDQUFDLGNBQWMsQ0FBQyxFQUFFLENBQUMsZ0JBQWdCLENBQUMsQ0FBQyxhQUFhLEVBQUUsSUFBSSxDQUFDLEVBQzVELENBQUMsQ0FBQyxFQUFFLEVBQUU7UUFDRixRQUFRLENBQUMsQ0FBQ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BQyxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxHQUFHLENBQUMsS0FBSyxDQUFDLHdCQUF3QixhQUFhLEVBQUUsQ0FBQyxDQUFDLENBQUE7WUFDekYsT0FBTyxDQUFDLENBQUMsT0FBTyxHQUFHLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFBO1FBRWhDLENBQUM7SUFDTCxDQUFDLENBQUMsQ0FBQTtBQUdWLENBQUMsQ0FBQTtBQW5FWSxRQUFBLENBQUMsS0FtRWIifQ==
@@ -0,0 +1,12 @@
1
+ import * as pt from 'exupery-core-types';
2
+ import * as definition from "../generated/interface/schemas/schema/data_types/resolved";
3
+ import * as _in from "astn/dist/generated/interface/schemas/ast/unconstrained";
4
+ import * as _out from "../temp_unmashall_result_types";
5
+ export declare const Optional_Node: ($: pt.Optional_Value<_in.Value>, $p: {
6
+ "definition": definition.Type_Node;
7
+ "document path": string;
8
+ }) => _out.Node;
9
+ export declare const Node: ($: _in.Value, $p: {
10
+ "definition": definition.Type_Node;
11
+ "document path": string;
12
+ }) => _out.Node;