inkcpp_rb 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (273) hide show
  1. checksums.yaml +7 -0
  2. data/.ruby-version +1 -0
  3. data/CHANGELOG.md +1 -0
  4. data/Gemfile +10 -0
  5. data/Gemfile.lock +84 -0
  6. data/LICENSE +7 -0
  7. data/README.md +3 -0
  8. data/Rakefile +16 -0
  9. data/bin/console +15 -0
  10. data/bin/setup +10 -0
  11. data/bin/tapioca +29 -0
  12. data/ext/inkcpp_rb/extconf.rb +19 -0
  13. data/ext/inkcpp_rb/inkcpp/.clang-format +99 -0
  14. data/ext/inkcpp_rb/inkcpp/.github/FUNDING.yml +1 -0
  15. data/ext/inkcpp_rb/inkcpp/.github/workflows/build.yml +344 -0
  16. data/ext/inkcpp_rb/inkcpp/.github/workflows/release.yml +49 -0
  17. data/ext/inkcpp_rb/inkcpp/.gitignore +25 -0
  18. data/ext/inkcpp_rb/inkcpp/.gitmodules +9 -0
  19. data/ext/inkcpp_rb/inkcpp/CMakeLists.txt +170 -0
  20. data/ext/inkcpp_rb/inkcpp/CODE_OF_CONDUCT.md +76 -0
  21. data/ext/inkcpp_rb/inkcpp/CONTRIBUTING.md +55 -0
  22. data/ext/inkcpp_rb/inkcpp/Config.cmake.in +2 -0
  23. data/ext/inkcpp_rb/inkcpp/Documentation/cmake_example/CMakeLists.txt +13 -0
  24. data/ext/inkcpp_rb/inkcpp/Documentation/cmake_example/main.c +38 -0
  25. data/ext/inkcpp_rb/inkcpp/Documentation/cmake_example/main.cpp +40 -0
  26. data/ext/inkcpp_rb/inkcpp/Documentation/cmake_example/test.ink +8 -0
  27. data/ext/inkcpp_rb/inkcpp/Documentation/cmake_example/test.ink.json +1 -0
  28. data/ext/inkcpp_rb/inkcpp/Documentation/cmake_example.zip +0 -0
  29. data/ext/inkcpp_rb/inkcpp/Documentation/unreal/InkCPP_DEMO.zip +0 -0
  30. data/ext/inkcpp_rb/inkcpp/Documentation/unreal/imgs/CreateThread.png +0 -0
  31. data/ext/inkcpp_rb/inkcpp/Documentation/unreal/imgs/HandleChoice.png +0 -0
  32. data/ext/inkcpp_rb/inkcpp/Documentation/unreal/imgs/ListElementOf.png +0 -0
  33. data/ext/inkcpp_rb/inkcpp/Documentation/unreal/imgs/MinimalRuntime.png +0 -0
  34. data/ext/inkcpp_rb/inkcpp/Documentation/unreal/imgs/MinimalThread.png +0 -0
  35. data/ext/inkcpp_rb/inkcpp/Documentation/unreal/imgs/ObseverChange.png +0 -0
  36. data/ext/inkcpp_rb/inkcpp/Documentation/unreal/imgs/TagListGetValue.png +0 -0
  37. data/ext/inkcpp_rb/inkcpp/Documentation/unreal/imgs/YieldResume.png +0 -0
  38. data/ext/inkcpp_rb/inkcpp/Doxyfile +2825 -0
  39. data/ext/inkcpp_rb/inkcpp/LICENSE.txt +22 -0
  40. data/ext/inkcpp_rb/inkcpp/Minimal.runsettings +8 -0
  41. data/ext/inkcpp_rb/inkcpp/README.md +192 -0
  42. data/ext/inkcpp_rb/inkcpp/inkcpp/CMakeLists.txt +67 -0
  43. data/ext/inkcpp_rb/inkcpp/inkcpp/array.h +481 -0
  44. data/ext/inkcpp_rb/inkcpp/inkcpp/avl_array.h +833 -0
  45. data/ext/inkcpp_rb/inkcpp/inkcpp/casting.h +93 -0
  46. data/ext/inkcpp_rb/inkcpp/inkcpp/choice.cpp +54 -0
  47. data/ext/inkcpp_rb/inkcpp/inkcpp/collections/restorable.cpp +124 -0
  48. data/ext/inkcpp_rb/inkcpp/inkcpp/collections/restorable.h +406 -0
  49. data/ext/inkcpp_rb/inkcpp/inkcpp/container_operations.cpp +52 -0
  50. data/ext/inkcpp_rb/inkcpp/inkcpp/container_operations.h +34 -0
  51. data/ext/inkcpp_rb/inkcpp/inkcpp/executioner.h +179 -0
  52. data/ext/inkcpp_rb/inkcpp/inkcpp/functional.cpp +86 -0
  53. data/ext/inkcpp_rb/inkcpp/inkcpp/functions.cpp +54 -0
  54. data/ext/inkcpp_rb/inkcpp/inkcpp/functions.h +40 -0
  55. data/ext/inkcpp_rb/inkcpp/inkcpp/globals_impl.cpp +289 -0
  56. data/ext/inkcpp_rb/inkcpp/inkcpp/globals_impl.h +149 -0
  57. data/ext/inkcpp_rb/inkcpp/inkcpp/header.cpp +44 -0
  58. data/ext/inkcpp_rb/inkcpp/inkcpp/include/choice.h +106 -0
  59. data/ext/inkcpp_rb/inkcpp/inkcpp/include/functional.h +327 -0
  60. data/ext/inkcpp_rb/inkcpp/inkcpp/include/globals.h +196 -0
  61. data/ext/inkcpp_rb/inkcpp/inkcpp/include/list.h +187 -0
  62. data/ext/inkcpp_rb/inkcpp/inkcpp/include/runner.h +291 -0
  63. data/ext/inkcpp_rb/inkcpp/inkcpp/include/snapshot.h +61 -0
  64. data/ext/inkcpp_rb/inkcpp/inkcpp/include/story.h +219 -0
  65. data/ext/inkcpp_rb/inkcpp/inkcpp/include/story_ptr.h +233 -0
  66. data/ext/inkcpp_rb/inkcpp/inkcpp/include/traits.h +270 -0
  67. data/ext/inkcpp_rb/inkcpp/inkcpp/include/types.h +169 -0
  68. data/ext/inkcpp_rb/inkcpp/inkcpp/list_impl.cpp +79 -0
  69. data/ext/inkcpp_rb/inkcpp/inkcpp/list_impl.h +39 -0
  70. data/ext/inkcpp_rb/inkcpp/inkcpp/list_operations.cpp +276 -0
  71. data/ext/inkcpp_rb/inkcpp/inkcpp/list_operations.h +356 -0
  72. data/ext/inkcpp_rb/inkcpp/inkcpp/list_table.cpp +841 -0
  73. data/ext/inkcpp_rb/inkcpp/inkcpp/list_table.h +450 -0
  74. data/ext/inkcpp_rb/inkcpp/inkcpp/numeric_operations.cpp +40 -0
  75. data/ext/inkcpp_rb/inkcpp/inkcpp/numeric_operations.h +529 -0
  76. data/ext/inkcpp_rb/inkcpp/inkcpp/operation_bases.h +164 -0
  77. data/ext/inkcpp_rb/inkcpp/inkcpp/operations.h +100 -0
  78. data/ext/inkcpp_rb/inkcpp/inkcpp/output.cpp +528 -0
  79. data/ext/inkcpp_rb/inkcpp/inkcpp/output.h +153 -0
  80. data/ext/inkcpp_rb/inkcpp/inkcpp/platform.h +22 -0
  81. data/ext/inkcpp_rb/inkcpp/inkcpp/random.h +38 -0
  82. data/ext/inkcpp_rb/inkcpp/inkcpp/runner_impl.cpp +1396 -0
  83. data/ext/inkcpp_rb/inkcpp/inkcpp/runner_impl.h +336 -0
  84. data/ext/inkcpp_rb/inkcpp/inkcpp/simple_restorable_stack.h +335 -0
  85. data/ext/inkcpp_rb/inkcpp/inkcpp/snapshot_impl.cpp +182 -0
  86. data/ext/inkcpp_rb/inkcpp/inkcpp/snapshot_impl.h +91 -0
  87. data/ext/inkcpp_rb/inkcpp/inkcpp/snapshot_interface.h +57 -0
  88. data/ext/inkcpp_rb/inkcpp/inkcpp/stack.cpp +618 -0
  89. data/ext/inkcpp_rb/inkcpp/inkcpp/stack.h +243 -0
  90. data/ext/inkcpp_rb/inkcpp/inkcpp/story_impl.cpp +361 -0
  91. data/ext/inkcpp_rb/inkcpp/inkcpp/story_impl.h +92 -0
  92. data/ext/inkcpp_rb/inkcpp/inkcpp/story_ptr.cpp +75 -0
  93. data/ext/inkcpp_rb/inkcpp/inkcpp/string_operations.cpp +125 -0
  94. data/ext/inkcpp_rb/inkcpp/inkcpp/string_operations.h +67 -0
  95. data/ext/inkcpp_rb/inkcpp/inkcpp/string_table.cpp +149 -0
  96. data/ext/inkcpp_rb/inkcpp/inkcpp/string_table.h +47 -0
  97. data/ext/inkcpp_rb/inkcpp/inkcpp/string_utils.h +207 -0
  98. data/ext/inkcpp_rb/inkcpp/inkcpp/system.cpp +39 -0
  99. data/ext/inkcpp_rb/inkcpp/inkcpp/tuple.hpp +151 -0
  100. data/ext/inkcpp_rb/inkcpp/inkcpp/value.cpp +279 -0
  101. data/ext/inkcpp_rb/inkcpp/inkcpp/value.h +666 -0
  102. data/ext/inkcpp_rb/inkcpp/inkcpp_c/CMakeLists.txt +62 -0
  103. data/ext/inkcpp_rb/inkcpp/inkcpp_c/include/inkcpp.h +393 -0
  104. data/ext/inkcpp_rb/inkcpp/inkcpp_c/inkcpp.cpp +344 -0
  105. data/ext/inkcpp_rb/inkcpp/inkcpp_c/inkcpp_c.pc.in +10 -0
  106. data/ext/inkcpp_rb/inkcpp/inkcpp_c/tests/ExternalFunction.c +56 -0
  107. data/ext/inkcpp_rb/inkcpp/inkcpp_c/tests/Globals.c +98 -0
  108. data/ext/inkcpp_rb/inkcpp/inkcpp_c/tests/Lists.c +73 -0
  109. data/ext/inkcpp_rb/inkcpp/inkcpp_c/tests/Observer.c +36 -0
  110. data/ext/inkcpp_rb/inkcpp/inkcpp_c/tests/Snapshot.c +65 -0
  111. data/ext/inkcpp_rb/inkcpp/inkcpp_cl/CMakeLists.txt +49 -0
  112. data/ext/inkcpp_rb/inkcpp/inkcpp_cl/inkcpp_cl.cpp +215 -0
  113. data/ext/inkcpp_rb/inkcpp/inkcpp_cl/test.cpp +209 -0
  114. data/ext/inkcpp_rb/inkcpp/inkcpp_cl/test.h +8 -0
  115. data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/CMakeLists.txt +37 -0
  116. data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/binary_emitter.cpp +446 -0
  117. data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/binary_emitter.h +70 -0
  118. data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/binary_stream.cpp +166 -0
  119. data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/binary_stream.h +79 -0
  120. data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/command.cpp +107 -0
  121. data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/compiler.cpp +96 -0
  122. data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/emitter.cpp +62 -0
  123. data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/emitter.h +104 -0
  124. data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/include/compilation_results.h +22 -0
  125. data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/include/compiler.h +44 -0
  126. data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/json.hpp +24596 -0
  127. data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/json_compiler.cpp +411 -0
  128. data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/json_compiler.h +62 -0
  129. data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/list_data.cpp +47 -0
  130. data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/list_data.h +70 -0
  131. data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/reporter.cpp +107 -0
  132. data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/reporter.h +55 -0
  133. data/ext/inkcpp_rb/inkcpp/inkcpp_py/CMakeLists.txt +19 -0
  134. data/ext/inkcpp_rb/inkcpp/inkcpp_py/example.py +78 -0
  135. data/ext/inkcpp_rb/inkcpp/inkcpp_py/src/module.cpp +317 -0
  136. data/ext/inkcpp_rb/inkcpp/inkcpp_py/tests/conftest.py +53 -0
  137. data/ext/inkcpp_rb/inkcpp/inkcpp_py/tests/test_ExternalFunctions.py +35 -0
  138. data/ext/inkcpp_rb/inkcpp/inkcpp_py/tests/test_Globals.py +40 -0
  139. data/ext/inkcpp_rb/inkcpp/inkcpp_py/tests/test_Lists.py +43 -0
  140. data/ext/inkcpp_rb/inkcpp/inkcpp_py/tests/test_Observer.py +27 -0
  141. data/ext/inkcpp_rb/inkcpp/inkcpp_py/tests/test_Snapshot.py +57 -0
  142. data/ext/inkcpp_rb/inkcpp/inkcpp_py/unreal_example.ink +71 -0
  143. data/ext/inkcpp_rb/inkcpp/inkcpp_test/Array.cpp +115 -0
  144. data/ext/inkcpp_rb/inkcpp/inkcpp_test/CMakeLists.txt +117 -0
  145. data/ext/inkcpp_rb/inkcpp/inkcpp_test/Callstack.cpp +392 -0
  146. data/ext/inkcpp_rb/inkcpp/inkcpp_test/EmptyStringForDivert.cpp +36 -0
  147. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ExternalFunctionsExecuteProperly.cpp +34 -0
  148. data/ext/inkcpp_rb/inkcpp/inkcpp_test/FallbackFunction.cpp +77 -0
  149. data/ext/inkcpp_rb/inkcpp/inkcpp_test/Globals.cpp +73 -0
  150. data/ext/inkcpp_rb/inkcpp/inkcpp_test/InkyJson.cpp +34 -0
  151. data/ext/inkcpp_rb/inkcpp/inkcpp_test/LabelCondition.cpp +60 -0
  152. data/ext/inkcpp_rb/inkcpp/inkcpp_test/Lists.cpp +144 -0
  153. data/ext/inkcpp_rb/inkcpp/inkcpp_test/LookaheadSafe.cpp +46 -0
  154. data/ext/inkcpp_rb/inkcpp/inkcpp_test/Main.cpp +7 -0
  155. data/ext/inkcpp_rb/inkcpp/inkcpp_test/MoveTo.cpp +95 -0
  156. data/ext/inkcpp_rb/inkcpp/inkcpp_test/NewLines.cpp +76 -0
  157. data/ext/inkcpp_rb/inkcpp/inkcpp_test/NoEarlyTags.cpp +33 -0
  158. data/ext/inkcpp_rb/inkcpp/inkcpp_test/Observer.cpp +245 -0
  159. data/ext/inkcpp_rb/inkcpp/inkcpp_test/Pointer.cpp +191 -0
  160. data/ext/inkcpp_rb/inkcpp/inkcpp_test/Restorable.cpp +294 -0
  161. data/ext/inkcpp_rb/inkcpp/inkcpp_test/SpaceAfterBracketChoice.cpp +45 -0
  162. data/ext/inkcpp_rb/inkcpp/inkcpp_test/Stack.cpp +224 -0
  163. data/ext/inkcpp_rb/inkcpp/inkcpp_test/Tags.cpp +131 -0
  164. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ThirdTierChoiceAfterBrackets.cpp +38 -0
  165. data/ext/inkcpp_rb/inkcpp/inkcpp_test/UTF8.cpp +56 -0
  166. data/ext/inkcpp_rb/inkcpp/inkcpp_test/Value.cpp +210 -0
  167. data/ext/inkcpp_rb/inkcpp/inkcpp_test/catch.hpp +17970 -0
  168. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/AHF.ink +7 -0
  169. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/ChoiceBracketStory.ink +7 -0
  170. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/EmptyStringForDivert.ink +13 -0
  171. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/ExternalFunctionsExecuteProperly.ink +11 -0
  172. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/FallBack.ink +15 -0
  173. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/GlobalStory.ink +9 -0
  174. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/LabelConditionStory.ink +5 -0
  175. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/LinesStory.ink +42 -0
  176. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/ListLogicStory.ink +40 -0
  177. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/ListStory.ink +8 -0
  178. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/LookaheadSafe.ink +14 -0
  179. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/MoveTo.ink +36 -0
  180. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/NoEarlyTags.ink +19 -0
  181. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/ObserverStory.ink +8 -0
  182. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/SimpleStoryFlow.ink +65 -0
  183. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/TagsStory.ink +22 -0
  184. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/TheIntercept.ink +1686 -0
  185. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/ThirdTierChoiceAfterBracketsStory.ink +13 -0
  186. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/UTF-8-demo.txt +212 -0
  187. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/UTF8Story.ink +218 -0
  188. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/simple-1.1.1-inklecate.json +154 -0
  189. data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/simple-1.1.1-inky.json +160 -0
  190. data/ext/inkcpp_rb/inkcpp/notes/ArchitectureNotes.md +54 -0
  191. data/ext/inkcpp_rb/inkcpp/notes/ListNotes.md +69 -0
  192. data/ext/inkcpp_rb/inkcpp/notes/OperationNotes.md +35 -0
  193. data/ext/inkcpp_rb/inkcpp/notes/TagsNotes.md +24 -0
  194. data/ext/inkcpp_rb/inkcpp/notes/WhitespaceNotes.md +28 -0
  195. data/ext/inkcpp_rb/inkcpp/proofing/README.md +3 -0
  196. data/ext/inkcpp_rb/inkcpp/proofing/inkcpp_runtime_driver +12 -0
  197. data/ext/inkcpp_rb/inkcpp/pyproject.toml +63 -0
  198. data/ext/inkcpp_rb/inkcpp/setup.py +166 -0
  199. data/ext/inkcpp_rb/inkcpp/shared/CMakeLists.txt +14 -0
  200. data/ext/inkcpp_rb/inkcpp/shared/private/command.h +172 -0
  201. data/ext/inkcpp_rb/inkcpp/shared/private/header.h +46 -0
  202. data/ext/inkcpp_rb/inkcpp/shared/public/config.h +53 -0
  203. data/ext/inkcpp_rb/inkcpp/shared/public/system.h +307 -0
  204. data/ext/inkcpp_rb/inkcpp/shared/public/version.h +14 -0
  205. data/ext/inkcpp_rb/inkcpp/tests/TestAllSequenceTypes.ink +59 -0
  206. data/ext/inkcpp_rb/inkcpp/tests/TestArithmetic.ink +17 -0
  207. data/ext/inkcpp_rb/inkcpp/tests/TestBasicStringLiterals.ink +8 -0
  208. data/ext/inkcpp_rb/inkcpp/tests/TestBasicTunnel.ink +10 -0
  209. data/ext/inkcpp_rb/inkcpp/tests/TestBlanksInInlineSequences.ink +51 -0
  210. data/ext/inkcpp_rb/inkcpp/tests/TestCallStackEvaluation.ink +15 -0
  211. data/ext/inkcpp_rb/inkcpp/tests/TestChoiceCount.ink +15 -0
  212. data/ext/inkcpp_rb/inkcpp/tests/TestChoiceDivertsToDone.ink +6 -0
  213. data/ext/inkcpp_rb/inkcpp/tests/TestChoiceWithBracketsOnly.ink +9 -0
  214. data/ext/inkcpp_rb/inkcpp/tests/TestCompareDivertTargets.ink +26 -0
  215. data/ext/inkcpp_rb/inkcpp/tests/TestComplexTunnels.ink +22 -0
  216. data/ext/inkcpp_rb/inkcpp/tests/TestConditionalChoiceInWeave.ink +19 -0
  217. data/ext/inkcpp_rb/inkcpp/tests/TestTunnelOnwardsAfterTunnel.ink +17 -0
  218. data/ext/inkcpp_rb/inkcpp/unreal/CMakeLists.txt +51 -0
  219. data/ext/inkcpp_rb/inkcpp/unreal/UE_example.ink +92 -0
  220. data/ext/inkcpp_rb/inkcpp/unreal/blueprint_filter.js +377 -0
  221. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Resources/Icon128.png +0 -0
  222. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Private/InkAsset.cpp +47 -0
  223. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Private/InkChoice.cpp +40 -0
  224. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Private/InkList.cpp +86 -0
  225. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Private/InkRuntime.cpp +265 -0
  226. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Private/InkThread.cpp +239 -0
  227. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Private/InkVar.cpp +143 -0
  228. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Private/TagList.cpp +95 -0
  229. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Private/inkcpp.cpp +13 -0
  230. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/InkAsset.h +50 -0
  231. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/InkChoice.h +58 -0
  232. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/InkDelegates.h +139 -0
  233. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/InkList.h +102 -0
  234. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/InkRuntime.h +177 -0
  235. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/InkSnapshot.h +30 -0
  236. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/InkThread.h +215 -0
  237. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/InkVar.h +245 -0
  238. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/TagList.h +77 -0
  239. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/inkcpp.h +217 -0
  240. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/inkcpp.Build.cs +62 -0
  241. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp_editor/Private/InkAssetFactory.cpp +237 -0
  242. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp_editor/Private/InkAssetFactory.h +43 -0
  243. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp_editor/Private/inkcpp_editor.cpp +13 -0
  244. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp_editor/Private/inklecate_cmd.cpp.in +24 -0
  245. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp_editor/Public/inkcpp_editor.h +9 -0
  246. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp_editor/inkcpp_editor.Build.cs +61 -0
  247. data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/inkcpp.uplugin +44 -0
  248. data/ext/inkcpp_rb/inkcpp/unreal/render.css +1 -0
  249. data/ext/inkcpp_rb/inkcpp_rb.cpp +321 -0
  250. data/inkcpp_rb.gemspec +54 -0
  251. data/rbi/inkcpp_rb.rbi +211 -0
  252. data/sorbet/config +4 -0
  253. data/sorbet/rbi/annotations/.gitattributes +1 -0
  254. data/sorbet/rbi/annotations/minitest.rbi +119 -0
  255. data/sorbet/rbi/gems/.gitattributes +1 -0
  256. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
  257. data/sorbet/rbi/gems/erubi@1.13.1.rbi +155 -0
  258. data/sorbet/rbi/gems/minitest@5.25.4.rbi +1547 -0
  259. data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
  260. data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
  261. data/sorbet/rbi/gems/prism@1.3.0.rbi +40040 -0
  262. data/sorbet/rbi/gems/rake-compiler@1.2.8.rbi +9 -0
  263. data/sorbet/rbi/gems/rake@13.2.1.rbi +3033 -0
  264. data/sorbet/rbi/gems/rbi@0.2.2.rbi +4527 -0
  265. data/sorbet/rbi/gems/rice@4.3.3.rbi +44 -0
  266. data/sorbet/rbi/gems/spoom@1.5.0.rbi +4932 -0
  267. data/sorbet/rbi/gems/tapioca@0.16.7.rbi +3611 -0
  268. data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
  269. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
  270. data/sorbet/rbi/gems/yard@0.9.37.rbi +18379 -0
  271. data/sorbet/tapioca/config.yml +13 -0
  272. data/sorbet/tapioca/require.rb +4 -0
  273. metadata +400 -0
@@ -0,0 +1,435 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `yard-sorbet` gem.
5
+ # Please instead update this file by running `bin/tapioca gem yard-sorbet`.
6
+
7
+
8
+ class YARD::Handlers::Ruby::ClassHandler < ::YARD::Handlers::Ruby::Base
9
+ include ::YARDSorbet::Handlers::StructClassHandler
10
+ end
11
+
12
+ # Types are documentation
13
+ #
14
+ # source://yard-sorbet//lib/yard-sorbet/version.rb#5
15
+ module YARDSorbet; end
16
+
17
+ # Extract & re-add directives to a docstring
18
+ #
19
+ # source://yard-sorbet//lib/yard-sorbet/directives.rb#6
20
+ module YARDSorbet::Directives
21
+ class << self
22
+ # source://yard-sorbet//lib/yard-sorbet/directives.rb#21
23
+ sig { params(docstring: ::String, directives: T::Array[::String]).void }
24
+ def add_directives(docstring, directives); end
25
+
26
+ # source://yard-sorbet//lib/yard-sorbet/directives.rb#10
27
+ sig { params(docstring: T.nilable(::String)).returns([::YARD::Docstring, T::Array[::String]]) }
28
+ def extract_directives(docstring); end
29
+ end
30
+ end
31
+
32
+ # Custom YARD Handlers
33
+ #
34
+ # @see https://rubydoc.info/gems/yard/YARD/Handlers/Base YARD Base Handler documentation
35
+ #
36
+ # source://yard-sorbet//lib/yard-sorbet/handlers.rb#7
37
+ module YARDSorbet::Handlers; end
38
+
39
+ # Applies an `@abstract` tag to `abstract!`/`interface!` modules (if not alerady present).
40
+ #
41
+ # source://yard-sorbet//lib/yard-sorbet/handlers/abstract_dsl_handler.rb#7
42
+ class YARDSorbet::Handlers::AbstractDSLHandler < ::YARD::Handlers::Ruby::Base
43
+ # source://yard-sorbet//lib/yard-sorbet/handlers/abstract_dsl_handler.rb#21
44
+ sig { void }
45
+ def process; end
46
+ end
47
+
48
+ # Extra text for class namespaces
49
+ #
50
+ # source://yard-sorbet//lib/yard-sorbet/handlers/abstract_dsl_handler.rb#18
51
+ YARDSorbet::Handlers::AbstractDSLHandler::CLASS_TAG_TEXT = T.let(T.unsafe(nil), String)
52
+
53
+ # The text accompanying the `@abstract` tag.
54
+ #
55
+ # @see https://github.com/lsegal/yard/blob/main/templates/default/docstring/html/abstract.erb The `@abstract` tag template
56
+ #
57
+ # source://yard-sorbet//lib/yard-sorbet/handlers/abstract_dsl_handler.rb#16
58
+ YARDSorbet::Handlers::AbstractDSLHandler::TAG_TEXT = T.let(T.unsafe(nil), String)
59
+
60
+ # Handle `enums` calls, registering enum values as constants
61
+ #
62
+ # source://yard-sorbet//lib/yard-sorbet/handlers/enums_handler.rb#7
63
+ class YARDSorbet::Handlers::EnumsHandler < ::YARD::Handlers::Ruby::Base
64
+ # source://yard-sorbet//lib/yard-sorbet/handlers/enums_handler.rb#14
65
+ sig { void }
66
+ def process; end
67
+
68
+ private
69
+
70
+ # source://yard-sorbet//lib/yard-sorbet/handlers/enums_handler.rb#29
71
+ sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Boolean) }
72
+ def const_assign_node?(node); end
73
+ end
74
+
75
+ # Extends any modules included via `mixes_in_class_methods`
76
+ #
77
+ # @see https://sorbet.org/docs/abstract#interfaces-and-the-included-hook Sorbet `mixes_in_class_methods` documentation
78
+ #
79
+ # source://yard-sorbet//lib/yard-sorbet/handlers/include_handler.rb#9
80
+ class YARDSorbet::Handlers::IncludeHandler < ::YARD::Handlers::Ruby::Base
81
+ # source://yard-sorbet//lib/yard-sorbet/handlers/include_handler.rb#16
82
+ sig { void }
83
+ def process; end
84
+
85
+ private
86
+
87
+ # source://yard-sorbet//lib/yard-sorbet/handlers/include_handler.rb#28
88
+ sig { returns(::YARD::CodeObjects::NamespaceObject) }
89
+ def included_in; end
90
+ end
91
+
92
+ # Tracks modules that invoke `mixes_in_class_methods` for use in {IncludeHandler}
93
+ #
94
+ # @see https://sorbet.org/docs/abstract#interfaces-and-the-included-hook Sorbet `mixes_in_class_methods` documentation
95
+ #
96
+ # source://yard-sorbet//lib/yard-sorbet/handlers/mixes_in_class_methods_handler.rb#9
97
+ class YARDSorbet::Handlers::MixesInClassMethodsHandler < ::YARD::Handlers::Ruby::Base
98
+ # source://yard-sorbet//lib/yard-sorbet/handlers/mixes_in_class_methods_handler.rb#21
99
+ sig { void }
100
+ def process; end
101
+
102
+ class << self
103
+ # source://yard-sorbet//lib/yard-sorbet/handlers/mixes_in_class_methods_handler.rb#18
104
+ sig { params(code_obj: ::String).returns(T.nilable(T::Array[::String])) }
105
+ def mixed_in_class_methods(code_obj); end
106
+ end
107
+ end
108
+
109
+ # A YARD Handler for Sorbet type declarations
110
+ #
111
+ # source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#7
112
+ class YARDSorbet::Handlers::SigHandler < ::YARD::Handlers::Ruby::Base
113
+ # Swap the method definition docstring and the sig docstring.
114
+ # Parse relevant parts of the `sig` and include them as well.
115
+ #
116
+ # source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#24
117
+ sig { void }
118
+ def process; end
119
+
120
+ private
121
+
122
+ # source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#73
123
+ sig { params(method_objects: T::Array[::YARD::CodeObjects::MethodObject]).void }
124
+ def document_attrs(method_objects); end
125
+
126
+ # An attr* sig can be merged into a previous attr* docstring if it is the only parameter passed to the attr*
127
+ # declaration. This is to avoid needing to rewrite the source code to separate merged and unmerged attr*
128
+ # declarations.
129
+ #
130
+ # source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#60
131
+ sig { params(attr_node: ::YARD::Parser::Ruby::MethodCallNode).returns(T::Boolean) }
132
+ def merged_into_attr?(attr_node); end
133
+
134
+ # source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#76
135
+ sig do
136
+ params(
137
+ attach_to: T.any(::YARD::CodeObjects::MethodObject, ::YARD::Parser::Ruby::MethodCallNode, ::YARD::Parser::Ruby::MethodDefinitionNode),
138
+ docstring: T.nilable(::String),
139
+ include_params: T::Boolean
140
+ ).void
141
+ end
142
+ def parse_node(attach_to, docstring, include_params: T.unsafe(nil)); end
143
+
144
+ # source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#97
145
+ sig { params(node: ::YARD::Parser::Ruby::AstNode, docstring: ::YARD::Docstring).void }
146
+ def parse_params(node, docstring); end
147
+
148
+ # source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#107
149
+ sig { params(node: ::YARD::Parser::Ruby::AstNode, docstring: ::YARD::Docstring).void }
150
+ def parse_return(node, docstring); end
151
+
152
+ # source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#85
153
+ sig { params(docstring: ::YARD::Docstring, include_params: T::Boolean).void }
154
+ def parse_sig(docstring, include_params: T.unsafe(nil)); end
155
+
156
+ # source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#50
157
+ sig { params(attr_node: ::YARD::Parser::Ruby::MethodCallNode).void }
158
+ def process_attr(attr_node); end
159
+
160
+ # source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#36
161
+ sig { params(def_node: ::YARD::Parser::Ruby::MethodDefinitionNode).void }
162
+ def process_def(def_node); end
163
+ end
164
+
165
+ # YARD types that can have docstrings attached to them
166
+ #
167
+ # source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#14
168
+ YARDSorbet::Handlers::SigHandler::Documentable = T.type_alias { T.any(::YARD::CodeObjects::MethodObject, ::YARD::Parser::Ruby::MethodCallNode, ::YARD::Parser::Ruby::MethodDefinitionNode) }
169
+
170
+ # Class-level handler that folds all `const` and `prop` declarations into the constructor documentation
171
+ # this needs to be injected as a module otherwise the default Class handler will overwrite documentation
172
+ #
173
+ # @note this module is included in `YARD::Handlers::Ruby::ClassHandler`
174
+ #
175
+ # source://yard-sorbet//lib/yard-sorbet/handlers/struct_class_handler.rb#10
176
+ module YARDSorbet::Handlers::StructClassHandler
177
+ # source://yard-sorbet//lib/yard-sorbet/handlers/struct_class_handler.rb#14
178
+ sig { void }
179
+ def process; end
180
+
181
+ private
182
+
183
+ # source://yard-sorbet//lib/yard-sorbet/handlers/struct_class_handler.rb#50
184
+ sig do
185
+ params(
186
+ object: ::YARD::CodeObjects::MethodObject,
187
+ props: T::Array[::YARDSorbet::TStructProp],
188
+ docstring: ::YARD::Docstring,
189
+ directives: T::Array[::String]
190
+ ).void
191
+ end
192
+ def decorate_t_struct_init(object, props, docstring, directives); end
193
+
194
+ # Create a virtual `initialize` method with all the `prop`/`const` arguments
195
+ #
196
+ # source://yard-sorbet//lib/yard-sorbet/handlers/struct_class_handler.rb#30
197
+ sig { params(props: T::Array[::YARDSorbet::TStructProp], class_ns: ::YARD::CodeObjects::ClassObject).void }
198
+ def process_t_struct_props(props, class_ns); end
199
+
200
+ # source://yard-sorbet//lib/yard-sorbet/handlers/struct_class_handler.rb#60
201
+ sig { params(props: T::Array[::YARDSorbet::TStructProp]).returns(T::Array[[::String, T.nilable(::String)]]) }
202
+ def to_object_parameters(props); end
203
+ end
204
+
205
+ # Handles all `const`/`prop` calls, creating accessor methods, and compiles them for later usage at the class level
206
+ # in creating a constructor
207
+ #
208
+ # source://yard-sorbet//lib/yard-sorbet/handlers/struct_prop_handler.rb#8
209
+ class YARDSorbet::Handlers::StructPropHandler < ::YARD::Handlers::Ruby::Base
210
+ # source://yard-sorbet//lib/yard-sorbet/handlers/struct_prop_handler.rb#15
211
+ sig { void }
212
+ def process; end
213
+
214
+ private
215
+
216
+ # Add the source and docstring to the method object
217
+ #
218
+ # source://yard-sorbet//lib/yard-sorbet/handlers/struct_prop_handler.rb#28
219
+ sig { params(object: ::YARD::CodeObjects::MethodObject, prop: ::YARDSorbet::TStructProp).void }
220
+ def decorate_object(object, prop); end
221
+
222
+ # source://yard-sorbet//lib/yard-sorbet/handlers/struct_prop_handler.rb#38
223
+ sig { returns(T::Boolean) }
224
+ def immutable?; end
225
+
226
+ # source://yard-sorbet//lib/yard-sorbet/handlers/struct_prop_handler.rb#42
227
+ sig { params(kwd: ::String).returns(T.nilable(::String)) }
228
+ def kw_arg(kwd); end
229
+
230
+ # source://yard-sorbet//lib/yard-sorbet/handlers/struct_prop_handler.rb#45
231
+ sig { params(name: ::String).returns(::YARDSorbet::TStructProp) }
232
+ def make_prop(name); end
233
+
234
+ # source://yard-sorbet//lib/yard-sorbet/handlers/struct_prop_handler.rb#56
235
+ sig { returns(T::Array[::YARD::Parser::Ruby::AstNode]) }
236
+ def params; end
237
+
238
+ # Register the field explicitly as an attribute.
239
+ #
240
+ # source://yard-sorbet//lib/yard-sorbet/handlers/struct_prop_handler.rb#60
241
+ sig { params(object: ::YARD::CodeObjects::MethodObject, name: ::String).void }
242
+ def register_attrs(object, name); end
243
+
244
+ # Store the prop for use in the constructor definition
245
+ #
246
+ # source://yard-sorbet//lib/yard-sorbet/handlers/struct_prop_handler.rb#68
247
+ sig { params(prop: ::YARDSorbet::TStructProp).void }
248
+ def update_state(prop); end
249
+ end
250
+
251
+ # Helper methods for working with `YARD` AST Nodes
252
+ #
253
+ # source://yard-sorbet//lib/yard-sorbet/node_utils.rb#6
254
+ module YARDSorbet::NodeUtils
255
+ class << self
256
+ # Traverse AST nodes in breadth-first order
257
+ #
258
+ # @note This will skip over some node types.
259
+ # @yield [YARD::Parser::Ruby::AstNode]
260
+ #
261
+ # source://yard-sorbet//lib/yard-sorbet/node_utils.rb#21
262
+ sig do
263
+ params(
264
+ node: ::YARD::Parser::Ruby::AstNode,
265
+ _blk: T.proc.params(n: ::YARD::Parser::Ruby::AstNode).void
266
+ ).void
267
+ end
268
+ def bfs_traverse(node, &_blk); end
269
+
270
+ # source://yard-sorbet//lib/yard-sorbet/node_utils.rb#31
271
+ sig { params(node: ::YARD::Parser::Ruby::AstNode).void }
272
+ def delete_node(node); end
273
+
274
+ # Enqueue the eligible children of a node in the BFS queue
275
+ #
276
+ # source://yard-sorbet//lib/yard-sorbet/node_utils.rb#35
277
+ sig { params(queue: ::Thread::Queue, node: ::YARD::Parser::Ruby::AstNode).void }
278
+ def enqueue_children(queue, node); end
279
+
280
+ # Gets the node that a sorbet `sig` can be attached do, bypassing visisbility modifiers and the like
281
+ #
282
+ # source://yard-sorbet//lib/yard-sorbet/node_utils.rb#48
283
+ sig do
284
+ params(
285
+ node: ::YARD::Parser::Ruby::AstNode
286
+ ).returns(T.any(::YARD::Parser::Ruby::MethodCallNode, ::YARD::Parser::Ruby::MethodDefinitionNode))
287
+ end
288
+ def get_method_node(node); end
289
+
290
+ # Find and return the adjacent node (ascending)
291
+ #
292
+ # @raise [IndexError] if the node does not have an adjacent sibling (ascending)
293
+ #
294
+ # source://yard-sorbet//lib/yard-sorbet/node_utils.rb#53
295
+ sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(::YARD::Parser::Ruby::AstNode) }
296
+ def sibling_node(node); end
297
+
298
+ # source://yard-sorbet//lib/yard-sorbet/node_utils.rb#60
299
+ sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Boolean) }
300
+ def sigable_node?(node); end
301
+
302
+ # @see https://github.com/lsegal/yard/blob/main/lib/yard/handlers/ruby/attribute_handler.rb YARD::Handlers::Ruby::AttributeHandler.validated_attribute_names
303
+ #
304
+ # source://yard-sorbet//lib/yard-sorbet/node_utils.rb#71
305
+ sig { params(attr_node: ::YARD::Parser::Ruby::MethodCallNode).returns(T::Array[::String]) }
306
+ def validated_attribute_names(attr_node); end
307
+ end
308
+ end
309
+
310
+ # Command node types that can have type signatures
311
+ #
312
+ # source://yard-sorbet//lib/yard-sorbet/node_utils.rb#10
313
+ YARDSorbet::NodeUtils::ATTRIBUTE_METHODS = T.let(T.unsafe(nil), Array)
314
+
315
+ # Skip these method contents during BFS node traversal, they can have their own nested types via `T.Proc`
316
+ #
317
+ # source://yard-sorbet//lib/yard-sorbet/node_utils.rb#12
318
+ YARDSorbet::NodeUtils::SKIP_METHOD_CONTENTS = T.let(T.unsafe(nil), Array)
319
+
320
+ # Node types that can have type signatures
321
+ #
322
+ # source://yard-sorbet//lib/yard-sorbet/node_utils.rb#14
323
+ YARDSorbet::NodeUtils::SigableNode = T.type_alias { T.any(::YARD::Parser::Ruby::MethodCallNode, ::YARD::Parser::Ruby::MethodDefinitionNode) }
324
+
325
+ # Translate `sig` type syntax to `YARD` type syntax.
326
+ #
327
+ # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#6
328
+ module YARDSorbet::SigToYARD
329
+ class << self
330
+ # @see https://yardoc.org/types.html
331
+ #
332
+ # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#23
333
+ sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
334
+ def convert(node); end
335
+
336
+ private
337
+
338
+ # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#58
339
+ sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(::String) }
340
+ def build_generic_type(node); end
341
+
342
+ # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#67
343
+ sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
344
+ def convert_aref(node); end
345
+
346
+ # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#79
347
+ sig { params(node: ::YARD::Parser::Ruby::AstNode).returns([::String]) }
348
+ def convert_array(node); end
349
+
350
+ # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#87
351
+ sig { params(node: ::YARD::Parser::Ruby::AstNode).returns([::String]) }
352
+ def convert_collection(node); end
353
+
354
+ # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#94
355
+ sig { params(node: ::YARD::Parser::Ruby::AstNode).returns([::String]) }
356
+ def convert_hash(node); end
357
+
358
+ # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#102
359
+ sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
360
+ def convert_list(node); end
361
+
362
+ # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#28
363
+ sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
364
+ def convert_node(node); end
365
+
366
+ # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#40
367
+ sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
368
+ def convert_node_type(node); end
369
+
370
+ # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#107
371
+ sig { params(node: ::YARD::Parser::Ruby::MethodCallNode).returns(T::Array[::String]) }
372
+ def convert_t_method(node); end
373
+
374
+ # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#118
375
+ sig { params(node: ::YARD::Parser::Ruby::AstNode).returns([::String]) }
376
+ def convert_unknown(node); end
377
+ end
378
+ end
379
+
380
+ # Used to store the details of a `T::Struct` `prop` definition
381
+ #
382
+ # source://yard-sorbet//lib/yard-sorbet/t_struct_prop.rb#6
383
+ class YARDSorbet::TStructProp < ::T::Struct
384
+ const :default, T.nilable(::String)
385
+ const :doc, ::String
386
+ const :prop_name, ::String
387
+ const :source, ::String
388
+ const :types, T::Array[::String]
389
+
390
+ class << self
391
+ # source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
392
+ def inherited(s); end
393
+ end
394
+ end
395
+
396
+ # Helper methods for working with `YARD` tags
397
+ #
398
+ # source://yard-sorbet//lib/yard-sorbet/tag_utils.rb#6
399
+ module YARDSorbet::TagUtils
400
+ class << self
401
+ # source://yard-sorbet//lib/yard-sorbet/tag_utils.rb#16
402
+ sig do
403
+ params(
404
+ docstring: ::YARD::Docstring,
405
+ tag_name: ::String,
406
+ name: T.nilable(::String)
407
+ ).returns(T.nilable(::YARD::Tags::Tag))
408
+ end
409
+ def find_tag(docstring, tag_name, name); end
410
+
411
+ # Create or update a `YARD` tag with type information
412
+ #
413
+ # source://yard-sorbet//lib/yard-sorbet/tag_utils.rb#28
414
+ sig do
415
+ params(
416
+ docstring: ::YARD::Docstring,
417
+ tag_name: ::String,
418
+ types: T.nilable(T::Array[::String]),
419
+ name: T.nilable(::String),
420
+ text: ::String
421
+ ).void
422
+ end
423
+ def upsert_tag(docstring, tag_name, types = T.unsafe(nil), name = T.unsafe(nil), text = T.unsafe(nil)); end
424
+ end
425
+ end
426
+
427
+ # The `void` return type, as a constant to reduce array allocations
428
+ #
429
+ # source://yard-sorbet//lib/yard-sorbet/tag_utils.rb#10
430
+ YARDSorbet::TagUtils::VOID_RETURN_TYPE = T.let(T.unsafe(nil), Array)
431
+
432
+ # {https://rubygems.org/gems/yard-sorbet Version history}
433
+ #
434
+ # source://yard-sorbet//lib/yard-sorbet/version.rb#7
435
+ YARDSorbet::VERSION = T.let(T.unsafe(nil), String)