jsii-rosetta 1.76.0 → 4.9.0-dev.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 (511) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +1 -0
  3. package/README.md +287 -388
  4. package/bin/jsii-rosetta +1 -1
  5. package/lib/ambient/semver-intersect.d.ts +13 -0
  6. package/lib/ambient/semver-intersect.js +2 -0
  7. package/lib/ambient/semver-intersect.js.map +1 -0
  8. package/lib/commands/convert.js.map +1 -0
  9. package/lib/commands/coverage.js.map +1 -0
  10. package/lib/commands/extract.js +2 -2
  11. package/lib/commands/extract.js.map +1 -0
  12. package/lib/commands/infuse.js +2 -2
  13. package/lib/commands/infuse.js.map +1 -0
  14. package/lib/commands/read.js +6 -6
  15. package/lib/commands/read.js.map +1 -0
  16. package/lib/commands/transliterate.js +4 -4
  17. package/lib/commands/transliterate.js.map +1 -0
  18. package/lib/commands/trim-cache.js.map +1 -0
  19. package/lib/find-utils.js +4 -4
  20. package/lib/find-utils.js.map +1 -0
  21. package/lib/fixtures.js +2 -2
  22. package/lib/fixtures.js.map +1 -0
  23. package/lib/index.js.map +1 -0
  24. package/lib/jsii/assemblies.d.ts +1 -1
  25. package/lib/jsii/assemblies.js +14 -11
  26. package/lib/jsii/assemblies.js.map +1 -0
  27. package/lib/jsii/fingerprinting.js +9 -9
  28. package/lib/jsii/fingerprinting.js.map +1 -0
  29. package/lib/jsii/jsii-types.d.ts +4 -4
  30. package/lib/jsii/jsii-types.js +9 -4
  31. package/lib/jsii/jsii-types.js.map +1 -0
  32. package/lib/jsii/jsii-utils.d.ts +1 -1
  33. package/lib/jsii/jsii-utils.js +2 -2
  34. package/lib/jsii/jsii-utils.js.map +1 -0
  35. package/lib/jsii/packages.js.map +1 -0
  36. package/lib/languages/csharp.d.ts +3 -3
  37. package/lib/languages/csharp.js +2 -2
  38. package/lib/languages/csharp.js.map +1 -0
  39. package/lib/languages/default.d.ts +2 -2
  40. package/lib/languages/default.js.map +1 -0
  41. package/lib/languages/go.d.ts +3 -3
  42. package/lib/languages/go.js +20 -16
  43. package/lib/languages/go.js.map +1 -0
  44. package/lib/languages/index.d.ts +1 -1
  45. package/lib/languages/index.js +4 -4
  46. package/lib/languages/index.js.map +1 -0
  47. package/lib/languages/java.d.ts +2 -2
  48. package/lib/languages/java.js +2 -2
  49. package/lib/languages/java.js.map +1 -0
  50. package/lib/languages/python.d.ts +3 -3
  51. package/lib/languages/python.js +1 -1
  52. package/lib/languages/python.js.map +1 -0
  53. package/lib/languages/record-references-version.d.ts +2 -0
  54. package/lib/languages/record-references-version.js +6 -0
  55. package/lib/languages/record-references-version.js.map +1 -0
  56. package/lib/languages/record-references.d.ts +2 -2
  57. package/lib/languages/record-references.js +3 -2
  58. package/lib/languages/record-references.js.map +1 -0
  59. package/lib/languages/target-language.d.ts +0 -2
  60. package/lib/languages/target-language.js +2 -1
  61. package/lib/languages/target-language.js.map +1 -0
  62. package/lib/languages/visualize.d.ts +1 -1
  63. package/lib/languages/visualize.js +1 -1
  64. package/lib/languages/visualize.js.map +1 -0
  65. package/lib/logging.js +1 -1
  66. package/lib/logging.js.map +1 -0
  67. package/lib/main.d.ts +2 -0
  68. package/{bin/jsii-rosetta.js → lib/main.js} +21 -21
  69. package/lib/main.js.map +1 -0
  70. package/lib/markdown/escapes.js.map +1 -0
  71. package/lib/markdown/extract-snippets.d.ts +2 -2
  72. package/lib/markdown/extract-snippets.js +1 -1
  73. package/lib/markdown/extract-snippets.js.map +1 -0
  74. package/lib/markdown/index.js.map +1 -0
  75. package/lib/markdown/javadoc-renderer.js.map +1 -0
  76. package/lib/markdown/markdown-renderer.js.map +1 -0
  77. package/lib/markdown/markdown.js.map +1 -0
  78. package/lib/markdown/replace-code-renderer.d.ts +1 -1
  79. package/lib/markdown/replace-code-renderer.js.map +1 -0
  80. package/lib/markdown/replace-typescript-transform.d.ts +2 -2
  81. package/lib/markdown/replace-typescript-transform.js +1 -1
  82. package/lib/markdown/replace-typescript-transform.js.map +1 -0
  83. package/lib/markdown/structure-renderer.js.map +1 -0
  84. package/lib/markdown/types.js.map +1 -0
  85. package/lib/markdown/xml-comment-renderer.js.map +1 -0
  86. package/lib/o-tree.js +3 -3
  87. package/lib/o-tree.js.map +1 -0
  88. package/lib/renderer.js.map +1 -0
  89. package/lib/rosetta-reader.js.map +1 -0
  90. package/lib/rosetta-translator.d.ts +1 -1
  91. package/lib/rosetta-translator.js +2 -2
  92. package/lib/rosetta-translator.js.map +1 -0
  93. package/lib/snippet-dependencies.js +12 -12
  94. package/lib/snippet-dependencies.js.map +1 -0
  95. package/lib/snippet-selectors.d.ts +1 -1
  96. package/lib/snippet-selectors.js +2 -2
  97. package/lib/snippet-selectors.js.map +1 -0
  98. package/lib/snippet.d.ts +3 -3
  99. package/lib/snippet.js +5 -5
  100. package/lib/snippet.js.map +1 -0
  101. package/lib/strict.js.map +1 -0
  102. package/lib/submodule-reference.d.ts +1 -1
  103. package/lib/submodule-reference.js +11 -11
  104. package/lib/submodule-reference.js.map +1 -0
  105. package/lib/tablets/key.js +3 -3
  106. package/lib/tablets/key.js.map +1 -0
  107. package/lib/tablets/schema.js.map +1 -0
  108. package/lib/tablets/tablets.d.ts +1 -1
  109. package/lib/tablets/tablets.js +13 -13
  110. package/lib/tablets/tablets.js.map +1 -0
  111. package/lib/translate.d.ts +1 -1
  112. package/lib/translate.js +9 -7
  113. package/lib/translate.js.map +1 -0
  114. package/lib/translate_all.js +2 -2
  115. package/lib/translate_all.js.map +1 -0
  116. package/lib/translate_all_worker.js.map +1 -0
  117. package/lib/typescript/ast-utils.d.ts +2 -2
  118. package/lib/typescript/ast-utils.js +2 -4
  119. package/lib/typescript/ast-utils.js.map +1 -0
  120. package/lib/typescript/imports.d.ts +2 -2
  121. package/lib/typescript/imports.js +3 -3
  122. package/lib/typescript/imports.js.map +1 -0
  123. package/lib/typescript/syntax-kind-counter.d.ts +1 -1
  124. package/lib/typescript/syntax-kind-counter.js +1 -2
  125. package/lib/typescript/syntax-kind-counter.js.map +1 -0
  126. package/lib/typescript/ts-compiler.js.map +1 -0
  127. package/lib/typescript/types.d.ts +2 -2
  128. package/lib/typescript/types.js +1 -1
  129. package/lib/typescript/types.js.map +1 -0
  130. package/lib/typescript/visible-spans.js +6 -6
  131. package/lib/typescript/visible-spans.js.map +1 -0
  132. package/lib/util.d.ts +1 -1
  133. package/lib/util.js +2 -2
  134. package/lib/util.js.map +1 -0
  135. package/package.json +68 -37
  136. package/temp.tabl.json +48 -0
  137. package/bin/jsii-rosetta.d.ts +0 -2
  138. package/jest.config.mjs +0 -8
  139. package/jestsetup.js +0 -4
  140. package/test/commands/extract.test.d.ts +0 -2
  141. package/test/commands/extract.test.js +0 -698
  142. package/test/commands/infuse.test.d.ts +0 -2
  143. package/test/commands/infuse.test.js +0 -165
  144. package/test/commands/transliterate.test.d.ts +0 -2
  145. package/test/commands/transliterate.test.js +0 -1636
  146. package/test/commands/trim-cache.test.d.ts +0 -2
  147. package/test/commands/trim-cache.test.js +0 -85
  148. package/test/fixtures.test.d.ts +0 -2
  149. package/test/fixtures.test.js +0 -49
  150. package/test/jsii/assemblies.test.d.ts +0 -2
  151. package/test/jsii/assemblies.test.js +0 -230
  152. package/test/jsii/fake-assembly.d.ts +0 -3
  153. package/test/jsii/fake-assembly.js +0 -21
  154. package/test/jsii/fixtures/rosetta/explicit.ts-fixture +0 -7
  155. package/test/jsii/visible-spans.test.d.ts +0 -2
  156. package/test/jsii/visible-spans.test.js +0 -40
  157. package/test/jsii-imports.test.d.ts +0 -2
  158. package/test/jsii-imports.test.js +0 -438
  159. package/test/markdown/javadoc.test.d.ts +0 -2
  160. package/test/markdown/javadoc.test.js +0 -110
  161. package/test/markdown/roundtrip.test.d.ts +0 -2
  162. package/test/markdown/roundtrip.test.js +0 -126
  163. package/test/markdown/xmldoccomments.test.d.ts +0 -2
  164. package/test/markdown/xmldoccomments.test.js +0 -89
  165. package/test/otree.test.d.ts +0 -2
  166. package/test/otree.test.js +0 -36
  167. package/test/record-references.test.d.ts +0 -2
  168. package/test/record-references.test.js +0 -88
  169. package/test/rosetta/default.ts-fixture +0 -1
  170. package/test/rosetta-translator.test.d.ts +0 -2
  171. package/test/rosetta-translator.test.js +0 -33
  172. package/test/rosetta.test.d.ts +0 -2
  173. package/test/rosetta.test.js +0 -221
  174. package/test/snippet-selectors.test.d.ts +0 -2
  175. package/test/snippet-selectors.test.js +0 -57
  176. package/test/snippet.test.d.ts +0 -2
  177. package/test/snippet.test.js +0 -18
  178. package/test/syntax-counter.test.d.ts +0 -2
  179. package/test/syntax-counter.test.js +0 -60
  180. package/test/testutil.d.ts +0 -64
  181. package/test/testutil.js +0 -104
  182. package/test/translate.test.d.ts +0 -2
  183. package/test/translate.test.js +0 -175
  184. package/test/translations/calls/declaring_default_arguments.cs +0 -4
  185. package/test/translations/calls/declaring_default_arguments.go +0 -6
  186. package/test/translations/calls/declaring_default_arguments.java +0 -11
  187. package/test/translations/calls/declaring_default_arguments.py +0 -2
  188. package/test/translations/calls/default_struct_fields.cs +0 -9
  189. package/test/translations/calls/default_struct_fields.go +0 -7
  190. package/test/translations/calls/default_struct_fields.java +0 -21
  191. package/test/translations/calls/default_struct_fields.py +0 -2
  192. package/test/translations/calls/function_call.cs +0 -1
  193. package/test/translations/calls/function_call.go +0 -1
  194. package/test/translations/calls/function_call.java +0 -1
  195. package/test/translations/calls/function_call.py +0 -1
  196. package/test/translations/calls/list_of_anonymous_structs.cs +0 -9
  197. package/test/translations/calls/list_of_anonymous_structs.go +0 -12
  198. package/test/translations/calls/list_of_anonymous_structs.java +0 -6
  199. package/test/translations/calls/list_of_anonymous_structs.py +0 -9
  200. package/test/translations/calls/literal_map_argument.cs +0 -5
  201. package/test/translations/calls/literal_map_argument.go +0 -7
  202. package/test/translations/calls/literal_map_argument.java +0 -4
  203. package/test/translations/calls/literal_map_argument.py +0 -4
  204. package/test/translations/calls/method_call.cs +0 -1
  205. package/test/translations/calls/method_call.go +0 -1
  206. package/test/translations/calls/method_call.java +0 -1
  207. package/test/translations/calls/method_call.py +0 -1
  208. package/test/translations/calls/self_method_call.cs +0 -1
  209. package/test/translations/calls/self_method_call.go +0 -1
  210. package/test/translations/calls/self_method_call.java +0 -1
  211. package/test/translations/calls/self_method_call.py +0 -1
  212. package/test/translations/calls/shorthand_property.cs +0 -2
  213. package/test/translations/calls/shorthand_property.go +0 -4
  214. package/test/translations/calls/shorthand_property.java +0 -2
  215. package/test/translations/calls/shorthand_property.py +0 -2
  216. package/test/translations/calls/static_function_call.cs +0 -1
  217. package/test/translations/calls/static_function_call.go +0 -1
  218. package/test/translations/calls/static_function_call.java +0 -1
  219. package/test/translations/calls/static_function_call.py +0 -1
  220. package/test/translations/calls/this_argument.cs +0 -1
  221. package/test/translations/calls/this_argument.go +0 -1
  222. package/test/translations/calls/this_argument.java +0 -1
  223. package/test/translations/calls/this_argument.py +0 -1
  224. package/test/translations/calls/translate_object_literals_in_function_call.cs +0 -1
  225. package/test/translations/calls/translate_object_literals_in_function_call.go +0 -4
  226. package/test/translations/calls/translate_object_literals_in_function_call.java +0 -1
  227. package/test/translations/calls/translate_object_literals_in_function_call.py +0 -1
  228. package/test/translations/calls/translate_object_literals_only_one_level_deep.cs +0 -1
  229. package/test/translations/calls/translate_object_literals_only_one_level_deep.go +0 -7
  230. package/test/translations/calls/translate_object_literals_only_one_level_deep.java +0 -1
  231. package/test/translations/calls/translate_object_literals_only_one_level_deep.py +0 -1
  232. package/test/translations/calls/translate_object_literals_second_level_with_newlines.cs +0 -4
  233. package/test/translations/calls/translate_object_literals_second_level_with_newlines.go +0 -7
  234. package/test/translations/calls/translate_object_literals_second_level_with_newlines.java +0 -3
  235. package/test/translations/calls/translate_object_literals_second_level_with_newlines.py +0 -4
  236. package/test/translations/calls/translate_object_literals_with_multiple_newlines.cs +0 -5
  237. package/test/translations/calls/translate_object_literals_with_multiple_newlines.go +0 -5
  238. package/test/translations/calls/translate_object_literals_with_multiple_newlines.java +0 -4
  239. package/test/translations/calls/translate_object_literals_with_multiple_newlines.py +0 -5
  240. package/test/translations/calls/translate_object_literals_with_newlines.cs +0 -4
  241. package/test/translations/calls/translate_object_literals_with_newlines.go +0 -4
  242. package/test/translations/calls/translate_object_literals_with_newlines.java +0 -3
  243. package/test/translations/calls/translate_object_literals_with_newlines.py +0 -4
  244. package/test/translations/calls/will_type_deep_structs_directly_if_type_info_is_available.cs +0 -24
  245. package/test/translations/calls/will_type_deep_structs_directly_if_type_info_is_available.go +0 -24
  246. package/test/translations/calls/will_type_deep_structs_directly_if_type_info_is_available.java +0 -48
  247. package/test/translations/calls/will_type_deep_structs_directly_if_type_info_is_available.py +0 -7
  248. package/test/translations/classes/class_declaration_with_private_fields_and_constructor.cs +0 -9
  249. package/test/translations/classes/class_declaration_with_private_fields_and_constructor.go +0 -9
  250. package/test/translations/classes/class_declaration_with_private_fields_and_constructor.java +0 -7
  251. package/test/translations/classes/class_declaration_with_private_fields_and_constructor.py +0 -4
  252. package/test/translations/classes/class_declaration_with_public_fields_and_constructor.cs +0 -9
  253. package/test/translations/classes/class_declaration_with_public_fields_and_constructor.go +0 -9
  254. package/test/translations/classes/class_declaration_with_public_fields_and_constructor.java +0 -7
  255. package/test/translations/classes/class_declaration_with_public_fields_and_constructor.py +0 -4
  256. package/test/translations/classes/class_implementing_jsii_interface.cs +0 -7
  257. package/test/translations/classes/class_implementing_jsii_interface.go +0 -6
  258. package/test/translations/classes/class_implementing_jsii_interface.java +0 -5
  259. package/test/translations/classes/class_implementing_jsii_interface.py +0 -4
  260. package/test/translations/classes/class_with_different_name.cs +0 -6
  261. package/test/translations/classes/class_with_different_name.go +0 -7
  262. package/test/translations/classes/class_with_different_name.java +0 -4
  263. package/test/translations/classes/class_with_different_name.py +0 -3
  264. package/test/translations/classes/class_with_extends_and_implements.cs +0 -3
  265. package/test/translations/classes/class_with_extends_and_implements.go +0 -3
  266. package/test/translations/classes/class_with_extends_and_implements.java +0 -2
  267. package/test/translations/classes/class_with_inheritance.cs +0 -3
  268. package/test/translations/classes/class_with_inheritance.go +0 -3
  269. package/test/translations/classes/class_with_inheritance.java +0 -2
  270. package/test/translations/classes/class_with_inheritance.py +0 -2
  271. package/test/translations/classes/class_with_inheritance_and_super_class.cs +0 -6
  272. package/test/translations/classes/class_with_inheritance_and_super_class.go +0 -9
  273. package/test/translations/classes/class_with_inheritance_and_super_class.java +0 -5
  274. package/test/translations/classes/class_with_inheritance_and_super_class.py +0 -3
  275. package/test/translations/classes/class_with_method.cs +0 -7
  276. package/test/translations/classes/class_with_method.go +0 -7
  277. package/test/translations/classes/class_with_method.java +0 -5
  278. package/test/translations/classes/class_with_method.py +0 -3
  279. package/test/translations/classes/class_with_props_argument.cs +0 -14
  280. package/test/translations/classes/class_with_props_argument.go +0 -16
  281. package/test/translations/classes/class_with_props_argument.java +0 -26
  282. package/test/translations/classes/class_with_props_argument.py +0 -5
  283. package/test/translations/classes/constructor_with_optional_params.go +0 -10
  284. package/test/translations/classes/constructor_with_optional_params.java +0 -12
  285. package/test/translations/classes/empty_class.cs +0 -3
  286. package/test/translations/classes/empty_class.go +0 -2
  287. package/test/translations/classes/empty_class.java +0 -2
  288. package/test/translations/classes/empty_class.py +0 -2
  289. package/test/translations/classes/invisible_interfaces_do_not_affect_whitespace.cs +0 -11
  290. package/test/translations/classes/invisible_interfaces_do_not_affect_whitespace.go +0 -8
  291. package/test/translations/classes/invisible_interfaces_do_not_affect_whitespace.java +0 -8
  292. package/test/translations/classes/invisible_interfaces_do_not_affect_whitespace.py +0 -5
  293. package/test/translations/classes/whitespace_between_multiple_empty_members.cs +0 -15
  294. package/test/translations/classes/whitespace_between_multiple_empty_members.go +0 -12
  295. package/test/translations/classes/whitespace_between_multiple_empty_members.java +0 -11
  296. package/test/translations/classes/whitespace_between_multiple_empty_members.py +0 -9
  297. package/test/translations/classes/whitespace_between_multiple_members.cs +0 -17
  298. package/test/translations/classes/whitespace_between_multiple_members.go +0 -16
  299. package/test/translations/classes/whitespace_between_multiple_members.java +0 -13
  300. package/test/translations/classes/whitespace_between_multiple_members.py +0 -9
  301. package/test/translations/comments/empty_lines_in_comments.cs +0 -4
  302. package/test/translations/comments/empty_lines_in_comments.go +0 -4
  303. package/test/translations/comments/empty_lines_in_comments.java +0 -4
  304. package/test/translations/comments/empty_lines_in_comments.py +0 -4
  305. package/test/translations/comments/interleave_multiline_comments_with_function_call.cs +0 -7
  306. package/test/translations/comments/interleave_multiline_comments_with_function_call.go +0 -7
  307. package/test/translations/comments/interleave_multiline_comments_with_function_call.java +0 -6
  308. package/test/translations/comments/interleave_multiline_comments_with_function_call.py +0 -7
  309. package/test/translations/comments/interleave_single_line_comments_with_function_call.cs +0 -7
  310. package/test/translations/comments/interleave_single_line_comments_with_function_call.go +0 -7
  311. package/test/translations/comments/interleave_single_line_comments_with_function_call.java +0 -6
  312. package/test/translations/comments/interleave_single_line_comments_with_function_call.py +0 -7
  313. package/test/translations/comments/no_duplication_of_comments.cs +0 -2
  314. package/test/translations/comments/no_duplication_of_comments.go +0 -2
  315. package/test/translations/comments/no_duplication_of_comments.java +0 -2
  316. package/test/translations/comments/no_duplication_of_comments.py +0 -2
  317. package/test/translations/expressions/array_index.cs +0 -3
  318. package/test/translations/expressions/array_index.go +0 -3
  319. package/test/translations/expressions/array_index.java +0 -3
  320. package/test/translations/expressions/array_index.py +0 -3
  321. package/test/translations/expressions/as_expression.cs +0 -1
  322. package/test/translations/expressions/as_expression.go +0 -1
  323. package/test/translations/expressions/as_expression.java +0 -1
  324. package/test/translations/expressions/as_expression.py +0 -1
  325. package/test/translations/expressions/await.cs +0 -1
  326. package/test/translations/expressions/await.go +0 -1
  327. package/test/translations/expressions/await.java +0 -1
  328. package/test/translations/expressions/await.py +0 -1
  329. package/test/translations/expressions/backtick_string_w_o_substitutions.cs +0 -1
  330. package/test/translations/expressions/backtick_string_w_o_substitutions.go +0 -1
  331. package/test/translations/expressions/backtick_string_w_o_substitutions.java +0 -1
  332. package/test/translations/expressions/backtick_string_w_o_substitutions.py +0 -1
  333. package/test/translations/expressions/computed_key.cs +0 -4
  334. package/test/translations/expressions/computed_key.go +0 -8
  335. package/test/translations/expressions/computed_key.java +0 -4
  336. package/test/translations/expressions/computed_key.py +0 -4
  337. package/test/translations/expressions/double_quoted_dict_keys.cs +0 -1
  338. package/test/translations/expressions/double_quoted_dict_keys.go +0 -3
  339. package/test/translations/expressions/double_quoted_dict_keys.java +0 -1
  340. package/test/translations/expressions/double_quoted_dict_keys.py +0 -1
  341. package/test/translations/expressions/ellipsis_at_a_random_place.cs +0 -1
  342. package/test/translations/expressions/ellipsis_at_a_random_place.go +0 -1
  343. package/test/translations/expressions/ellipsis_at_a_random_place.java +0 -1
  344. package/test/translations/expressions/ellipsis_at_a_random_place.py +0 -1
  345. package/test/translations/expressions/enum_access.cs +0 -1
  346. package/test/translations/expressions/enum_access.go +0 -1
  347. package/test/translations/expressions/enum_access.java +0 -1
  348. package/test/translations/expressions/enum_access.py +0 -1
  349. package/test/translations/expressions/enum_like_access.cs +0 -1
  350. package/test/translations/expressions/enum_like_access.go +0 -1
  351. package/test/translations/expressions/enum_like_access.java +0 -1
  352. package/test/translations/expressions/enum_like_access.py +0 -1
  353. package/test/translations/expressions/map-literal.cs +0 -3
  354. package/test/translations/expressions/map-literal.go +0 -3
  355. package/test/translations/expressions/map-literal.java +0 -2
  356. package/test/translations/expressions/map-literal.py +0 -3
  357. package/test/translations/expressions/non_null_expression.cs +0 -1
  358. package/test/translations/expressions/non_null_expression.go +0 -1
  359. package/test/translations/expressions/non_null_expression.java +0 -1
  360. package/test/translations/expressions/non_null_expression.py +0 -1
  361. package/test/translations/expressions/string_interpolation.cs +0 -10
  362. package/test/translations/expressions/string_interpolation.go +0 -6
  363. package/test/translations/expressions/string_interpolation.java +0 -6
  364. package/test/translations/expressions/string_interpolation.py +0 -10
  365. package/test/translations/expressions/string_literal.cs +0 -9
  366. package/test/translations/expressions/string_literal.go +0 -9
  367. package/test/translations/expressions/string_literal.java +0 -1
  368. package/test/translations/expressions/string_literal.py +0 -9
  369. package/test/translations/expressions/struct_assignment.cs +0 -6
  370. package/test/translations/expressions/struct_assignment.go +0 -7
  371. package/test/translations/expressions/struct_assignment.java +0 -12
  372. package/test/translations/expressions/struct_assignment.py +0 -1
  373. package/test/translations/expressions/unary_and_binary_operators.cs +0 -3
  374. package/test/translations/expressions/unary_and_binary_operators.go +0 -3
  375. package/test/translations/expressions/unary_and_binary_operators.java +0 -3
  376. package/test/translations/expressions/unary_and_binary_operators.py +0 -3
  377. package/test/translations/hiding/hide_block_level_statements_using_void_directive.cs +0 -6
  378. package/test/translations/hiding/hide_block_level_statements_using_void_directive.go +0 -5
  379. package/test/translations/hiding/hide_block_level_statements_using_void_directive.java +0 -5
  380. package/test/translations/hiding/hide_block_level_statements_using_void_directive.py +0 -4
  381. package/test/translations/hiding/hide_expression_with_explicit_ellipsis.cs +0 -1
  382. package/test/translations/hiding/hide_expression_with_explicit_ellipsis.go +0 -1
  383. package/test/translations/hiding/hide_expression_with_explicit_ellipsis.java +0 -1
  384. package/test/translations/hiding/hide_expression_with_explicit_ellipsis.py +0 -1
  385. package/test/translations/hiding/hide_halfway_into_class_using_comments.cs +0 -3
  386. package/test/translations/hiding/hide_halfway_into_class_using_comments.go +0 -3
  387. package/test/translations/hiding/hide_halfway_into_class_using_comments.java +0 -3
  388. package/test/translations/hiding/hide_halfway_into_class_using_comments.py +0 -3
  389. package/test/translations/hiding/hide_parameter_sequence.cs +0 -1
  390. package/test/translations/hiding/hide_parameter_sequence.go +0 -1
  391. package/test/translations/hiding/hide_parameter_sequence.java +0 -1
  392. package/test/translations/hiding/hide_parameter_sequence.py +0 -1
  393. package/test/translations/hiding/hide_statements_with_explicit_ellipsis.cs +0 -3
  394. package/test/translations/hiding/hide_statements_with_explicit_ellipsis.go +0 -3
  395. package/test/translations/hiding/hide_statements_with_explicit_ellipsis.java +0 -3
  396. package/test/translations/hiding/hide_statements_with_explicit_ellipsis.py +0 -3
  397. package/test/translations/hiding/hide_top_level_statements_using_void_directive.cs +0 -1
  398. package/test/translations/hiding/hide_top_level_statements_using_void_directive.go +0 -1
  399. package/test/translations/hiding/hide_top_level_statements_using_void_directive.java +0 -1
  400. package/test/translations/hiding/hide_top_level_statements_using_void_directive.py +0 -1
  401. package/test/translations/identifiers/keyword.cs +0 -4
  402. package/test/translations/identifiers/keyword.go +0 -4
  403. package/test/translations/identifiers/keyword.java +0 -4
  404. package/test/translations/identifiers/keyword.py +0 -4
  405. package/test/translations/imports/import_require.cs +0 -2
  406. package/test/translations/imports/import_require.go +0 -2
  407. package/test/translations/imports/import_require.java +0 -2
  408. package/test/translations/imports/import_require.py +0 -2
  409. package/test/translations/imports/import_star_as.cs +0 -2
  410. package/test/translations/imports/import_star_as.go +0 -2
  411. package/test/translations/imports/import_star_as.java +0 -2
  412. package/test/translations/imports/import_star_as.py +0 -2
  413. package/test/translations/imports/multiple-imports.cs +0 -2
  414. package/test/translations/imports/multiple-imports.go +0 -2
  415. package/test/translations/imports/multiple-imports.java +0 -3
  416. package/test/translations/imports/multiple-imports.py +0 -2
  417. package/test/translations/imports/selective_import.cs +0 -4
  418. package/test/translations/imports/selective_import.go +0 -3
  419. package/test/translations/imports/selective_import.java +0 -6
  420. package/test/translations/imports/selective_import.py +0 -3
  421. package/test/translations/imports/submodule-import.cs +0 -15
  422. package/test/translations/imports/submodule-import.go +0 -23
  423. package/test/translations/imports/submodule-import.java +0 -17
  424. package/test/translations/imports/submodule-import.py +0 -15
  425. package/test/translations/interfaces/interface_with_method.cs +0 -4
  426. package/test/translations/interfaces/interface_with_method.go +0 -3
  427. package/test/translations/interfaces/interface_with_method.java +0 -3
  428. package/test/translations/interfaces/interface_with_props.cs +0 -4
  429. package/test/translations/interfaces/interface_with_props.go +0 -3
  430. package/test/translations/interfaces/interface_with_props.java +0 -3
  431. package/test/translations/misc/booleans_render_to_right_primitives.cs +0 -1
  432. package/test/translations/misc/booleans_render_to_right_primitives.go +0 -1
  433. package/test/translations/misc/booleans_render_to_right_primitives.java +0 -1
  434. package/test/translations/misc/booleans_render_to_right_primitives.py +0 -1
  435. package/test/translations/statements/block_without_braces.cs +0 -1
  436. package/test/translations/statements/block_without_braces.go +0 -3
  437. package/test/translations/statements/block_without_braces.java +0 -1
  438. package/test/translations/statements/block_without_braces.py +0 -1
  439. package/test/translations/statements/declare_var.cs +0 -1
  440. package/test/translations/statements/declare_var.go +0 -1
  441. package/test/translations/statements/declare_var.java +0 -1
  442. package/test/translations/statements/declare_var.py +0 -1
  443. package/test/translations/statements/empty_control_block.cs +0 -3
  444. package/test/translations/statements/empty_control_block.go +0 -1
  445. package/test/translations/statements/empty_control_block.java +0 -2
  446. package/test/translations/statements/empty_control_block.py +0 -2
  447. package/test/translations/statements/for_of_loop.cs +0 -4
  448. package/test/translations/statements/for_of_loop.go +0 -3
  449. package/test/translations/statements/for_of_loop.java +0 -3
  450. package/test/translations/statements/for_of_loop.py +0 -2
  451. package/test/translations/statements/if.cs +0 -4
  452. package/test/translations/statements/if.go +0 -3
  453. package/test/translations/statements/if.java +0 -3
  454. package/test/translations/statements/if.py +0 -2
  455. package/test/translations/statements/if_then_else.cs +0 -8
  456. package/test/translations/statements/if_then_else.go +0 -5
  457. package/test/translations/statements/if_then_else.java +0 -5
  458. package/test/translations/statements/if_then_else.py +0 -4
  459. package/test/translations/statements/initialize_object_literal.cs +0 -5
  460. package/test/translations/statements/initialize_object_literal.go +0 -8
  461. package/test/translations/statements/initialize_object_literal.java +0 -4
  462. package/test/translations/statements/initialize_object_literal.py +0 -5
  463. package/test/translations/statements/multiline_if_then_else.cs +0 -9
  464. package/test/translations/statements/multiline_if_then_else.go +0 -6
  465. package/test/translations/statements/multiline_if_then_else.java +0 -6
  466. package/test/translations/statements/multiline_if_then_else.py +0 -5
  467. package/test/translations/statements/statements_and_newlines.cs +0 -26
  468. package/test/translations/statements/statements_and_newlines.go +0 -21
  469. package/test/translations/statements/statements_and_newlines.java +0 -21
  470. package/test/translations/statements/statements_and_newlines.py +0 -16
  471. package/test/translations/statements/vararg_any_call.cs +0 -7
  472. package/test/translations/statements/vararg_any_call.go +0 -13
  473. package/test/translations/statements/vararg_any_call.java +0 -6
  474. package/test/translations/statements/vararg_any_call.py +0 -6
  475. package/test/translations/statements/whitespace_between_statements.cs +0 -3
  476. package/test/translations/statements/whitespace_between_statements.go +0 -3
  477. package/test/translations/statements/whitespace_between_statements.java +0 -3
  478. package/test/translations/statements/whitespace_between_statements.py +0 -3
  479. package/test/translations/statements/whitespace_between_statements_in_a_block.cs +0 -6
  480. package/test/translations/statements/whitespace_between_statements_in_a_block.go +0 -5
  481. package/test/translations/statements/whitespace_between_statements_in_a_block.java +0 -5
  482. package/test/translations/statements/whitespace_between_statements_in_a_block.py +0 -4
  483. package/test/translations/structs/any_type_never_a_struct.cs +0 -3
  484. package/test/translations/structs/any_type_never_a_struct.go +0 -3
  485. package/test/translations/structs/any_type_never_a_struct.java +0 -2
  486. package/test/translations/structs/any_type_never_a_struct.py +0 -3
  487. package/test/translations/structs/infer_struct_from_union.cs +0 -6
  488. package/test/translations/structs/infer_struct_from_union.go +0 -8
  489. package/test/translations/structs/infer_struct_from_union.java +0 -6
  490. package/test/translations/structs/infer_struct_from_union.py +0 -6
  491. package/test/translations/structs/optional_known_struct.cs +0 -3
  492. package/test/translations/structs/optional_known_struct.go +0 -3
  493. package/test/translations/structs/optional_known_struct.java +0 -3
  494. package/test/translations/structs/optional_known_struct.py +0 -3
  495. package/test/translations/structs/struct_starting_with_i.cs +0 -3
  496. package/test/translations/structs/struct_starting_with_i.go +0 -3
  497. package/test/translations/structs/struct_starting_with_i.java +0 -3
  498. package/test/translations/structs/struct_starting_with_i.py +0 -3
  499. package/test/translations/structs/var_new_class_known_struct.cs +0 -3
  500. package/test/translations/structs/var_new_class_known_struct.go +0 -3
  501. package/test/translations/structs/var_new_class_known_struct.java +0 -3
  502. package/test/translations/structs/var_new_class_known_struct.py +0 -3
  503. package/test/translations/structs/var_new_class_unknown_struct.cs +0 -3
  504. package/test/translations/structs/var_new_class_unknown_struct.go +0 -3
  505. package/test/translations/structs/var_new_class_unknown_struct.java +0 -3
  506. package/test/translations/structs/var_new_class_unknown_struct.py +0 -3
  507. package/test/translations.test.d.ts +0 -9
  508. package/test/translations.test.js +0 -112
  509. package/test/util.test.d.ts +0 -2
  510. package/test/util.test.js +0 -25
  511. package/vendor/semver-intersect.d.ts +0 -13
@@ -1,6 +0,0 @@
1
- import scope.some.module.one.*;
2
- import scope.some.module.Two;
3
- import scope.some.module.someThree.*;
4
- import scope.some.module.four.*;
5
- new Two();
6
- renamed();
@@ -1,3 +0,0 @@
1
- from scope.some_module import one, Two, some_three, four as renamed
2
- Two()
3
- renamed()
@@ -1,15 +0,0 @@
1
- using Amazon.JSII.Tests.CalculatorNamespace;
2
- using Amazon.JSII.Tests.CalculatorNamespace.HomonymousForwardReferences;
3
- using Gen.Providers.Aws;
4
-
5
- // Access without existing type information
6
- var awsKmsKeyExamplekms = new Kms.KmsKey(this, "examplekms", new Struct {
7
- DeletionWindowInDays = 7,
8
- Description = "KMS key 1"
9
- });
10
-
11
- // Accesses two distinct points of the submodule hierarchy
12
- var myClass = new Submodule.MyClass(new SomeStruct { Prop = Submodule.Child.SomeEnum.SOME });
13
-
14
- // Access via a renamed import
15
- Foo.Consumer.Consume(new ConsumerProps { Homonymous = new Homonymous { StringProperty = "yes" } });
@@ -1,23 +0,0 @@
1
- import "github.com/aws/jsii/jsii-calc/go/jsiicalc/submodule"
2
- import "github.com/aws/jsii/jsii-calc/go/jsiicalc/submodule/child"
3
- import "github.com/aws/jsii/jsii-calc/go/jsiicalc"
4
- import "github.com/aws/jsii/jsii-calc/go/jsiicalc/foo"
5
- import "github.com/aws-samples/dummy/gen/providers/aws/kms"
6
-
7
- // Access without existing type information
8
- awsKmsKeyExamplekms := kms.NewKmsKey(this, jsii.String("examplekms"), map[string]interface{}{
9
- "deletionWindowInDays": jsii.Number(7),
10
- "description": jsii.String("KMS key 1"),
11
- })
12
-
13
- // Accesses two distinct points of the submodule hierarchy
14
- myClass := submodule.NewMyClass(&SomeStruct{
15
- Prop: child.SomeEnum_SOME,
16
- })
17
-
18
- // Access via a renamed import
19
- foo.Consumer_Consume(&ConsumerProps{
20
- Homonymous: &Homonymous{
21
- StringProperty: jsii.String("yes"),
22
- },
23
- })
@@ -1,17 +0,0 @@
1
- import software.amazon.jsii.tests.calculator.submodule.*;
2
- import software.amazon.jsii.tests.calculator.submodule.child.*;
3
- import software.amazon.jsii.tests.calculator.homonymousForwardReferences.*;
4
- import software.amazon.jsii.tests.calculator.homonymousForwardReferences.foo.*;
5
- import gen.providers.aws.kms.*;
6
-
7
- // Access without existing type information
8
- Object awsKmsKeyExamplekms = KmsKey.Builder.create(this, "examplekms")
9
- .deletionWindowInDays(7)
10
- .description("KMS key 1")
11
- .build();
12
-
13
- // Accesses two distinct points of the submodule hierarchy
14
- MyClass myClass = MyClass.Builder.create().prop(SomeEnum.SOME).build();
15
-
16
- // Access via a renamed import
17
- Consumer.consume(ConsumerProps.builder().homonymous(Homonymous.builder().stringProperty("yes").build()).build());
@@ -1,15 +0,0 @@
1
- import jsii_calc as calc
2
- from jsii_calc import homonymous_forward_references as ns
3
- import ...gen.providers.aws as aws
4
-
5
- # Access without existing type information
6
- aws_kms_key_examplekms = aws.kms.KmsKey(self, "examplekms",
7
- deletion_window_in_days=7,
8
- description="KMS key 1"
9
- )
10
-
11
- # Accesses two distinct points of the submodule hierarchy
12
- my_class = calc.submodule.MyClass(prop=calc.submodule.child.SomeEnum.SOME)
13
-
14
- # Access via a renamed import
15
- ns.foo.Consumer.consume(homonymous=ns.foo.Homonymous(string_property="yes"))
@@ -1,4 +0,0 @@
1
- interface IThing
2
- {
3
- void DoAThing();
4
- }
@@ -1,3 +0,0 @@
1
- type iThing interface {
2
- doAThing()
3
- }
@@ -1,3 +0,0 @@
1
- public interface IThing {
2
- void doAThing();
3
- }
@@ -1,4 +0,0 @@
1
- interface IThing
2
- {
3
- string ThingArn { get; }
4
- }
@@ -1,3 +0,0 @@
1
- type iThing interface {
2
- thingArn() *string
3
- }
@@ -1,3 +0,0 @@
1
- public interface IThing {
2
- String getThingArn();
3
- }
@@ -1 +0,0 @@
1
- CallFunction(true, false);
@@ -1 +0,0 @@
1
- callFunction(jsii.Boolean(true), jsii.Boolean(false))
@@ -1 +0,0 @@
1
- callFunction(true, false);
@@ -1 +0,0 @@
1
- call_function(True, False)
@@ -1 +0,0 @@
1
- if (x == 3) Console.WriteLine("hello");
@@ -1,3 +0,0 @@
1
- if x == 3 {
2
- fmt.Println("hello")
3
- }
@@ -1 +0,0 @@
1
- if (x == 3) System.out.println("hello");
@@ -1 +0,0 @@
1
- if x == 3: print("hello")
@@ -1 +0,0 @@
1
- Type variable;
@@ -1 +0,0 @@
1
- var variable Type
@@ -1 +0,0 @@
1
- Type variable;
@@ -1 +0,0 @@
1
- # variable: Type
@@ -1,3 +0,0 @@
1
- if (x == 3)
2
- {
3
- }
@@ -1 +0,0 @@
1
- if x == 3 {}
@@ -1,2 +0,0 @@
1
- if (x == 3) {
2
- }
@@ -1,2 +0,0 @@
1
- if x == 3:
2
- pass
@@ -1,4 +0,0 @@
1
- for (var x in xs)
2
- {
3
- Console.WriteLine(x);
4
- }
@@ -1,3 +0,0 @@
1
- for _, x := range xs {
2
- fmt.Println(x)
3
- }
@@ -1,3 +0,0 @@
1
- for (Object x : xs) {
2
- System.out.println(x);
3
- }
@@ -1,2 +0,0 @@
1
- for x in xs:
2
- print(x)
@@ -1,4 +0,0 @@
1
- if (x == 3)
2
- {
3
- Console.WriteLine("bye");
4
- }
@@ -1,3 +0,0 @@
1
- if x == 3 {
2
- fmt.Println("bye")
3
- }
@@ -1,3 +0,0 @@
1
- if (x == 3) {
2
- System.out.println("bye");
3
- }
@@ -1,2 +0,0 @@
1
- if x == 3:
2
- print("bye")
@@ -1,8 +0,0 @@
1
- if (x == 3)
2
- {
3
- Console.WriteLine("bye");
4
- }
5
- else
6
- {
7
- Console.WriteLine("toodels");
8
- }
@@ -1,5 +0,0 @@
1
- if x == 3 {
2
- fmt.Println("bye")
3
- } else {
4
- fmt.Println("toodels")
5
- }
@@ -1,5 +0,0 @@
1
- if (x == 3) {
2
- System.out.println("bye");
3
- } else {
4
- System.out.println("toodels");
5
- }
@@ -1,4 +0,0 @@
1
- if x == 3:
2
- print("bye")
3
- else:
4
- print("toodels")
@@ -1,5 +0,0 @@
1
- IDictionary<string, object> expected = new Dictionary<string, object> {
2
- { "Foo", "Bar" },
3
- { "Baz", 5 },
4
- { "Qux", new [] { "Waldo", "Fred" } }
5
- };
@@ -1,8 +0,0 @@
1
- expected := map[string]interface{}{
2
- "Foo": jsii.String("Bar"),
3
- "Baz": jsii.Number(5),
4
- "Qux": []*string{
5
- jsii.String("Waldo"),
6
- jsii.String("Fred"),
7
- },
8
- }
@@ -1,4 +0,0 @@
1
- Map<String, Object> expected = Map.of(
2
- "Foo", "Bar",
3
- "Baz", 5,
4
- "Qux", List.of("Waldo", "Fred"));
@@ -1,5 +0,0 @@
1
- expected = {
2
- "Foo": "Bar",
3
- "Baz": 5,
4
- "Qux": ["Waldo", "Fred"]
5
- }
@@ -1,9 +0,0 @@
1
- if (x == 3)
2
- {
3
- x += 1;
4
- Console.WriteLine("bye");
5
- }
6
- else
7
- {
8
- Console.WriteLine("toodels");
9
- }
@@ -1,6 +0,0 @@
1
- if x == 3 {
2
- x += 1
3
- fmt.Println("bye")
4
- } else {
5
- fmt.Println("toodels")
6
- }
@@ -1,6 +0,0 @@
1
- if (x == 3) {
2
- x += 1;
3
- System.out.println("bye");
4
- } else {
5
- System.out.println("toodels");
6
- }
@@ -1,5 +0,0 @@
1
- if x == 3:
2
- x += 1
3
- print("bye")
4
- else:
5
- print("toodels")
@@ -1,26 +0,0 @@
1
- public int DoThing()
2
- {
3
- var x = 1; // x seems to be equal to 1
4
- return x + 1;
5
- }
6
-
7
- public boolean DoThing2(int x)
8
- {
9
- if (x == 1)
10
- {
11
- return true;
12
- }
13
- return false;
14
- }
15
-
16
- public int DoThing3()
17
- {
18
- var x = 1;
19
- return x + 1;
20
- }
21
-
22
- public void DoThing4()
23
- {
24
- var x = 1;
25
- x = 85;
26
- }
@@ -1,21 +0,0 @@
1
- func doThing() *f64 {
2
- x := 1 // x seems to be equal to 1
3
- return jsii.Number(x + 1)
4
- }
5
-
6
- func doThing2(x *f64) *bool {
7
- if *x == 1 {
8
- return jsii.Boolean(true)
9
- }
10
- return jsii.Boolean(false)
11
- }
12
-
13
- func doThing3() *f64 {
14
- x := 1
15
- return jsii.Number(x + 1)
16
- }
17
-
18
- func doThing4() {
19
- x := 1
20
- x = 85
21
- }
@@ -1,21 +0,0 @@
1
- public Number doThing() {
2
- Number x = 1; // x seems to be equal to 1
3
- return x + 1;
4
- }
5
-
6
- public boolean doThing2(Number x) {
7
- if (x == 1) {
8
- return true;
9
- }
10
- return false;
11
- }
12
-
13
- public Number doThing3() {
14
- Number x = 1;
15
- return x + 1;
16
- }
17
-
18
- public void doThing4() {
19
- Number x = 1;
20
- x = 85;
21
- }
@@ -1,16 +0,0 @@
1
- def do_thing():
2
- x = 1 # x seems to be equal to 1
3
- return x + 1
4
-
5
- def do_thing2(x):
6
- if x == 1:
7
- return True
8
- return False
9
-
10
- def do_thing3():
11
- x = 1
12
- return x + 1
13
-
14
- def do_thing4():
15
- x = 1
16
- x = 85
@@ -1,7 +0,0 @@
1
- public void Test(params object[] _args)
2
- {
3
- }
4
-
5
- Test(new Dictionary<string, object> { { "Key", "Value" }, { "also", 1337 } });
6
-
7
- Test(new Dictionary<string, string> { { "Key", "Value" } }, new Dictionary<string, int> { { "also", 1337 } });
@@ -1,13 +0,0 @@
1
- func test(..._args interface{}) {
2
- }
3
-
4
- test(map[string]interface{}{
5
- "Key": jsii.String("Value"),
6
- "also": jsii.Number(1337),
7
- })
8
-
9
- test(map[string]*string{
10
- "Key": jsii.String("Value"),
11
- }, map[string]*f64{
12
- "also": jsii.Number(1337),
13
- })
@@ -1,6 +0,0 @@
1
- public void test(Object... _args) {
2
- }
3
-
4
- test(Map.of("Key", "Value", "also", 1337));
5
-
6
- test(Map.of("Key", "Value"), Map.of("also", 1337));
@@ -1,6 +0,0 @@
1
- def test(*_args):
2
- pass
3
-
4
- test({"Key": "Value", "also": 1337})
5
-
6
- test({"Key": "Value"}, {"also": 1337})
@@ -1,3 +0,0 @@
1
- StatementOne();
2
-
3
- StatementTwo();
@@ -1,3 +0,0 @@
1
- statementOne()
2
-
3
- statementTwo()
@@ -1,3 +0,0 @@
1
- statementOne();
2
-
3
- statementTwo();
@@ -1,3 +0,0 @@
1
- statement_one()
2
-
3
- statement_two()
@@ -1,6 +0,0 @@
1
- if (condition)
2
- {
3
- StatementOne();
4
-
5
- StatementTwo();
6
- }
@@ -1,5 +0,0 @@
1
- if condition {
2
- statementOne()
3
-
4
- statementTwo()
5
- }
@@ -1,5 +0,0 @@
1
- if (condition) {
2
- statementOne();
3
-
4
- statementTwo();
5
- }
@@ -1,4 +0,0 @@
1
- if condition:
2
- statement_one()
3
-
4
- statement_two()
@@ -1,3 +0,0 @@
1
- FunctionThatTakesAnAny(new Dictionary<string, int> {
2
- { "argument", 5 }
3
- });
@@ -1,3 +0,0 @@
1
- functionThatTakesAnAny(map[string]*f64{
2
- "argument": jsii.Number(5),
3
- })
@@ -1,2 +0,0 @@
1
- functionThatTakesAnAny(Map.of(
2
- "argument", 5));
@@ -1,3 +0,0 @@
1
- function_that_takes_an_any({
2
- "argument": 5
3
- })
@@ -1,6 +0,0 @@
1
- Takes(new MyProps {
2
- Struct = new SomeStruct {
3
- Enabled = false,
4
- Option = "option"
5
- }
6
- });
@@ -1,8 +0,0 @@
1
- takes(&myProps{
2
- Struct: &someStruct{
3
- Enabled: jsii.Boolean(false),
4
- Option: jsii.String("option"),
5
- },
6
- })
7
-
8
-
@@ -1,6 +0,0 @@
1
- takes(MyProps.builder()
2
- .struct(SomeStruct.builder()
3
- .enabled(false)
4
- .option("option")
5
- .build())
6
- .build());
@@ -1,6 +0,0 @@
1
- takes(
2
- struct=SomeStruct(
3
- enabled=False,
4
- option="option"
5
- )
6
- )
@@ -1,3 +0,0 @@
1
- new Vpc(this, "Something", new VpcProps {
2
- Argument = 5
3
- });
@@ -1,3 +0,0 @@
1
- NewVpc(this, jsii.String("Something"), &vpcProps{
2
- Argument: jsii.Number(5),
3
- })
@@ -1,3 +0,0 @@
1
- Vpc.Builder.create(this, "Something")
2
- .argument(5)
3
- .build();
@@ -1,3 +0,0 @@
1
- Vpc(self, "Something",
2
- argument=5
3
- )
@@ -1,3 +0,0 @@
1
- new Integration(this, "Something", new IntegrationOptions {
2
- Argument = 5
3
- });
@@ -1,3 +0,0 @@
1
- NewIntegration(this, jsii.String("Something"), &integrationOptions{
2
- Argument: jsii.Number(5),
3
- })
@@ -1,3 +0,0 @@
1
- Integration.Builder.create(this, "Something")
2
- .argument(5)
3
- .build();
@@ -1,3 +0,0 @@
1
- Integration(self, "Something",
2
- argument=5
3
- )
@@ -1,3 +0,0 @@
1
- var vpc = new Vpc(this, "Something", new VpcProps {
2
- Argument = 5
3
- });
@@ -1,3 +0,0 @@
1
- vpc := NewVpc(this, jsii.String("Something"), &vpcProps{
2
- Argument: jsii.Number(5),
3
- })
@@ -1,3 +0,0 @@
1
- Vpc vpc = Vpc.Builder.create(this, "Something")
2
- .argument(5)
3
- .build();
@@ -1,3 +0,0 @@
1
- vpc = Vpc(self, "Something",
2
- argument=5
3
- )
@@ -1,3 +0,0 @@
1
- var vpc = new Vpc(this, "Something", new Struct {
2
- Argument = 5
3
- });
@@ -1,3 +0,0 @@
1
- vpc := NewVpc(this, jsii.String("Something"), map[string]*f64{
2
- "argument": jsii.Number(5),
3
- })
@@ -1,3 +0,0 @@
1
- Object vpc = Vpc.Builder.create(this, "Something")
2
- .argument(5)
3
- .build();
@@ -1,3 +0,0 @@
1
- vpc = Vpc(self, "Something",
2
- argument=5
3
- )