inkcpp_rb 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +1 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +84 -0
- data/LICENSE +7 -0
- data/README.md +3 -0
- data/Rakefile +16 -0
- data/bin/console +15 -0
- data/bin/setup +10 -0
- data/bin/tapioca +29 -0
- data/ext/inkcpp_rb/extconf.rb +19 -0
- data/ext/inkcpp_rb/inkcpp/.clang-format +99 -0
- data/ext/inkcpp_rb/inkcpp/.github/FUNDING.yml +1 -0
- data/ext/inkcpp_rb/inkcpp/.github/workflows/build.yml +344 -0
- data/ext/inkcpp_rb/inkcpp/.github/workflows/release.yml +49 -0
- data/ext/inkcpp_rb/inkcpp/.gitignore +25 -0
- data/ext/inkcpp_rb/inkcpp/.gitmodules +9 -0
- data/ext/inkcpp_rb/inkcpp/CMakeLists.txt +170 -0
- data/ext/inkcpp_rb/inkcpp/CODE_OF_CONDUCT.md +76 -0
- data/ext/inkcpp_rb/inkcpp/CONTRIBUTING.md +55 -0
- data/ext/inkcpp_rb/inkcpp/Config.cmake.in +2 -0
- data/ext/inkcpp_rb/inkcpp/Documentation/cmake_example/CMakeLists.txt +13 -0
- data/ext/inkcpp_rb/inkcpp/Documentation/cmake_example/main.c +38 -0
- data/ext/inkcpp_rb/inkcpp/Documentation/cmake_example/main.cpp +40 -0
- data/ext/inkcpp_rb/inkcpp/Documentation/cmake_example/test.ink +8 -0
- data/ext/inkcpp_rb/inkcpp/Documentation/cmake_example/test.ink.json +1 -0
- data/ext/inkcpp_rb/inkcpp/Documentation/cmake_example.zip +0 -0
- data/ext/inkcpp_rb/inkcpp/Documentation/unreal/InkCPP_DEMO.zip +0 -0
- data/ext/inkcpp_rb/inkcpp/Documentation/unreal/imgs/CreateThread.png +0 -0
- data/ext/inkcpp_rb/inkcpp/Documentation/unreal/imgs/HandleChoice.png +0 -0
- data/ext/inkcpp_rb/inkcpp/Documentation/unreal/imgs/ListElementOf.png +0 -0
- data/ext/inkcpp_rb/inkcpp/Documentation/unreal/imgs/MinimalRuntime.png +0 -0
- data/ext/inkcpp_rb/inkcpp/Documentation/unreal/imgs/MinimalThread.png +0 -0
- data/ext/inkcpp_rb/inkcpp/Documentation/unreal/imgs/ObseverChange.png +0 -0
- data/ext/inkcpp_rb/inkcpp/Documentation/unreal/imgs/TagListGetValue.png +0 -0
- data/ext/inkcpp_rb/inkcpp/Documentation/unreal/imgs/YieldResume.png +0 -0
- data/ext/inkcpp_rb/inkcpp/Doxyfile +2825 -0
- data/ext/inkcpp_rb/inkcpp/LICENSE.txt +22 -0
- data/ext/inkcpp_rb/inkcpp/Minimal.runsettings +8 -0
- data/ext/inkcpp_rb/inkcpp/README.md +192 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/CMakeLists.txt +67 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/array.h +481 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/avl_array.h +833 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/casting.h +93 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/choice.cpp +54 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/collections/restorable.cpp +124 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/collections/restorable.h +406 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/container_operations.cpp +52 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/container_operations.h +34 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/executioner.h +179 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/functional.cpp +86 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/functions.cpp +54 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/functions.h +40 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/globals_impl.cpp +289 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/globals_impl.h +149 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/header.cpp +44 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/include/choice.h +106 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/include/functional.h +327 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/include/globals.h +196 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/include/list.h +187 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/include/runner.h +291 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/include/snapshot.h +61 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/include/story.h +219 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/include/story_ptr.h +233 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/include/traits.h +270 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/include/types.h +169 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/list_impl.cpp +79 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/list_impl.h +39 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/list_operations.cpp +276 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/list_operations.h +356 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/list_table.cpp +841 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/list_table.h +450 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/numeric_operations.cpp +40 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/numeric_operations.h +529 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/operation_bases.h +164 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/operations.h +100 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/output.cpp +528 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/output.h +153 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/platform.h +22 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/random.h +38 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/runner_impl.cpp +1396 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/runner_impl.h +336 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/simple_restorable_stack.h +335 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/snapshot_impl.cpp +182 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/snapshot_impl.h +91 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/snapshot_interface.h +57 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/stack.cpp +618 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/stack.h +243 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/story_impl.cpp +361 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/story_impl.h +92 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/story_ptr.cpp +75 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/string_operations.cpp +125 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/string_operations.h +67 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/string_table.cpp +149 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/string_table.h +47 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/string_utils.h +207 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/system.cpp +39 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/tuple.hpp +151 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/value.cpp +279 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp/value.h +666 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_c/CMakeLists.txt +62 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_c/include/inkcpp.h +393 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_c/inkcpp.cpp +344 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_c/inkcpp_c.pc.in +10 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_c/tests/ExternalFunction.c +56 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_c/tests/Globals.c +98 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_c/tests/Lists.c +73 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_c/tests/Observer.c +36 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_c/tests/Snapshot.c +65 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_cl/CMakeLists.txt +49 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_cl/inkcpp_cl.cpp +215 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_cl/test.cpp +209 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_cl/test.h +8 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/CMakeLists.txt +37 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/binary_emitter.cpp +446 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/binary_emitter.h +70 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/binary_stream.cpp +166 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/binary_stream.h +79 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/command.cpp +107 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/compiler.cpp +96 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/emitter.cpp +62 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/emitter.h +104 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/include/compilation_results.h +22 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/include/compiler.h +44 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/json.hpp +24596 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/json_compiler.cpp +411 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/json_compiler.h +62 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/list_data.cpp +47 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/list_data.h +70 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/reporter.cpp +107 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_compiler/reporter.h +55 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_py/CMakeLists.txt +19 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_py/example.py +78 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_py/src/module.cpp +317 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_py/tests/conftest.py +53 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_py/tests/test_ExternalFunctions.py +35 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_py/tests/test_Globals.py +40 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_py/tests/test_Lists.py +43 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_py/tests/test_Observer.py +27 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_py/tests/test_Snapshot.py +57 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_py/unreal_example.ink +71 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/Array.cpp +115 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/CMakeLists.txt +117 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/Callstack.cpp +392 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/EmptyStringForDivert.cpp +36 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ExternalFunctionsExecuteProperly.cpp +34 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/FallbackFunction.cpp +77 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/Globals.cpp +73 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/InkyJson.cpp +34 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/LabelCondition.cpp +60 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/Lists.cpp +144 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/LookaheadSafe.cpp +46 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/Main.cpp +7 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/MoveTo.cpp +95 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/NewLines.cpp +76 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/NoEarlyTags.cpp +33 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/Observer.cpp +245 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/Pointer.cpp +191 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/Restorable.cpp +294 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/SpaceAfterBracketChoice.cpp +45 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/Stack.cpp +224 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/Tags.cpp +131 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ThirdTierChoiceAfterBrackets.cpp +38 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/UTF8.cpp +56 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/Value.cpp +210 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/catch.hpp +17970 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/AHF.ink +7 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/ChoiceBracketStory.ink +7 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/EmptyStringForDivert.ink +13 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/ExternalFunctionsExecuteProperly.ink +11 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/FallBack.ink +15 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/GlobalStory.ink +9 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/LabelConditionStory.ink +5 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/LinesStory.ink +42 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/ListLogicStory.ink +40 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/ListStory.ink +8 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/LookaheadSafe.ink +14 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/MoveTo.ink +36 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/NoEarlyTags.ink +19 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/ObserverStory.ink +8 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/SimpleStoryFlow.ink +65 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/TagsStory.ink +22 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/TheIntercept.ink +1686 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/ThirdTierChoiceAfterBracketsStory.ink +13 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/UTF-8-demo.txt +212 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/UTF8Story.ink +218 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/simple-1.1.1-inklecate.json +154 -0
- data/ext/inkcpp_rb/inkcpp/inkcpp_test/ink/simple-1.1.1-inky.json +160 -0
- data/ext/inkcpp_rb/inkcpp/notes/ArchitectureNotes.md +54 -0
- data/ext/inkcpp_rb/inkcpp/notes/ListNotes.md +69 -0
- data/ext/inkcpp_rb/inkcpp/notes/OperationNotes.md +35 -0
- data/ext/inkcpp_rb/inkcpp/notes/TagsNotes.md +24 -0
- data/ext/inkcpp_rb/inkcpp/notes/WhitespaceNotes.md +28 -0
- data/ext/inkcpp_rb/inkcpp/proofing/README.md +3 -0
- data/ext/inkcpp_rb/inkcpp/proofing/inkcpp_runtime_driver +12 -0
- data/ext/inkcpp_rb/inkcpp/pyproject.toml +63 -0
- data/ext/inkcpp_rb/inkcpp/setup.py +166 -0
- data/ext/inkcpp_rb/inkcpp/shared/CMakeLists.txt +14 -0
- data/ext/inkcpp_rb/inkcpp/shared/private/command.h +172 -0
- data/ext/inkcpp_rb/inkcpp/shared/private/header.h +46 -0
- data/ext/inkcpp_rb/inkcpp/shared/public/config.h +53 -0
- data/ext/inkcpp_rb/inkcpp/shared/public/system.h +307 -0
- data/ext/inkcpp_rb/inkcpp/shared/public/version.h +14 -0
- data/ext/inkcpp_rb/inkcpp/tests/TestAllSequenceTypes.ink +59 -0
- data/ext/inkcpp_rb/inkcpp/tests/TestArithmetic.ink +17 -0
- data/ext/inkcpp_rb/inkcpp/tests/TestBasicStringLiterals.ink +8 -0
- data/ext/inkcpp_rb/inkcpp/tests/TestBasicTunnel.ink +10 -0
- data/ext/inkcpp_rb/inkcpp/tests/TestBlanksInInlineSequences.ink +51 -0
- data/ext/inkcpp_rb/inkcpp/tests/TestCallStackEvaluation.ink +15 -0
- data/ext/inkcpp_rb/inkcpp/tests/TestChoiceCount.ink +15 -0
- data/ext/inkcpp_rb/inkcpp/tests/TestChoiceDivertsToDone.ink +6 -0
- data/ext/inkcpp_rb/inkcpp/tests/TestChoiceWithBracketsOnly.ink +9 -0
- data/ext/inkcpp_rb/inkcpp/tests/TestCompareDivertTargets.ink +26 -0
- data/ext/inkcpp_rb/inkcpp/tests/TestComplexTunnels.ink +22 -0
- data/ext/inkcpp_rb/inkcpp/tests/TestConditionalChoiceInWeave.ink +19 -0
- data/ext/inkcpp_rb/inkcpp/tests/TestTunnelOnwardsAfterTunnel.ink +17 -0
- data/ext/inkcpp_rb/inkcpp/unreal/CMakeLists.txt +51 -0
- data/ext/inkcpp_rb/inkcpp/unreal/UE_example.ink +92 -0
- data/ext/inkcpp_rb/inkcpp/unreal/blueprint_filter.js +377 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Resources/Icon128.png +0 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Private/InkAsset.cpp +47 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Private/InkChoice.cpp +40 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Private/InkList.cpp +86 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Private/InkRuntime.cpp +265 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Private/InkThread.cpp +239 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Private/InkVar.cpp +143 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Private/TagList.cpp +95 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Private/inkcpp.cpp +13 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/InkAsset.h +50 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/InkChoice.h +58 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/InkDelegates.h +139 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/InkList.h +102 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/InkRuntime.h +177 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/InkSnapshot.h +30 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/InkThread.h +215 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/InkVar.h +245 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/TagList.h +77 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/inkcpp.h +217 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/inkcpp.Build.cs +62 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp_editor/Private/InkAssetFactory.cpp +237 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp_editor/Private/InkAssetFactory.h +43 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp_editor/Private/inkcpp_editor.cpp +13 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp_editor/Private/inklecate_cmd.cpp.in +24 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp_editor/Public/inkcpp_editor.h +9 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp_editor/inkcpp_editor.Build.cs +61 -0
- data/ext/inkcpp_rb/inkcpp/unreal/inkcpp/inkcpp.uplugin +44 -0
- data/ext/inkcpp_rb/inkcpp/unreal/render.css +1 -0
- data/ext/inkcpp_rb/inkcpp_rb.cpp +321 -0
- data/inkcpp_rb.gemspec +54 -0
- data/rbi/inkcpp_rb.rbi +211 -0
- data/sorbet/config +4 -0
- data/sorbet/rbi/annotations/.gitattributes +1 -0
- data/sorbet/rbi/annotations/minitest.rbi +119 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
- data/sorbet/rbi/gems/erubi@1.13.1.rbi +155 -0
- data/sorbet/rbi/gems/minitest@5.25.4.rbi +1547 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
- data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
- data/sorbet/rbi/gems/prism@1.3.0.rbi +40040 -0
- data/sorbet/rbi/gems/rake-compiler@1.2.8.rbi +9 -0
- data/sorbet/rbi/gems/rake@13.2.1.rbi +3033 -0
- data/sorbet/rbi/gems/rbi@0.2.2.rbi +4527 -0
- data/sorbet/rbi/gems/rice@4.3.3.rbi +44 -0
- data/sorbet/rbi/gems/spoom@1.5.0.rbi +4932 -0
- data/sorbet/rbi/gems/tapioca@0.16.7.rbi +3611 -0
- data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
- data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
- data/sorbet/rbi/gems/yard@0.9.37.rbi +18379 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +400 -0
@@ -0,0 +1,159 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `netrc` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem netrc`.
|
6
|
+
|
7
|
+
|
8
|
+
# source://netrc//lib/netrc.rb#3
|
9
|
+
class Netrc
|
10
|
+
# @return [Netrc] a new instance of Netrc
|
11
|
+
#
|
12
|
+
# source://netrc//lib/netrc.rb#166
|
13
|
+
def initialize(path, data); end
|
14
|
+
|
15
|
+
# source://netrc//lib/netrc.rb#180
|
16
|
+
def [](k); end
|
17
|
+
|
18
|
+
# source://netrc//lib/netrc.rb#188
|
19
|
+
def []=(k, info); end
|
20
|
+
|
21
|
+
# source://netrc//lib/netrc.rb#200
|
22
|
+
def delete(key); end
|
23
|
+
|
24
|
+
# source://netrc//lib/netrc.rb#211
|
25
|
+
def each(&block); end
|
26
|
+
|
27
|
+
# source://netrc//lib/netrc.rb#196
|
28
|
+
def length; end
|
29
|
+
|
30
|
+
# source://netrc//lib/netrc.rb#215
|
31
|
+
def new_item(m, l, p); end
|
32
|
+
|
33
|
+
# Returns the value of attribute new_item_prefix.
|
34
|
+
#
|
35
|
+
# source://netrc//lib/netrc.rb#178
|
36
|
+
def new_item_prefix; end
|
37
|
+
|
38
|
+
# Sets the attribute new_item_prefix
|
39
|
+
#
|
40
|
+
# @param value the value to set the attribute new_item_prefix to.
|
41
|
+
#
|
42
|
+
# source://netrc//lib/netrc.rb#178
|
43
|
+
def new_item_prefix=(_arg0); end
|
44
|
+
|
45
|
+
# source://netrc//lib/netrc.rb#219
|
46
|
+
def save; end
|
47
|
+
|
48
|
+
# source://netrc//lib/netrc.rb#233
|
49
|
+
def unparse; end
|
50
|
+
|
51
|
+
class << self
|
52
|
+
# source://netrc//lib/netrc.rb#42
|
53
|
+
def check_permissions(path); end
|
54
|
+
|
55
|
+
# source://netrc//lib/netrc.rb#33
|
56
|
+
def config; end
|
57
|
+
|
58
|
+
# @yield [self.config]
|
59
|
+
#
|
60
|
+
# source://netrc//lib/netrc.rb#37
|
61
|
+
def configure; end
|
62
|
+
|
63
|
+
# source://netrc//lib/netrc.rb#10
|
64
|
+
def default_path; end
|
65
|
+
|
66
|
+
# source://netrc//lib/netrc.rb#14
|
67
|
+
def home_path; end
|
68
|
+
|
69
|
+
# source://netrc//lib/netrc.rb#85
|
70
|
+
def lex(lines); end
|
71
|
+
|
72
|
+
# source://netrc//lib/netrc.rb#29
|
73
|
+
def netrc_filename; end
|
74
|
+
|
75
|
+
# Returns two values, a header and a list of items.
|
76
|
+
# Each item is a tuple, containing some or all of:
|
77
|
+
# - machine keyword (including trailing whitespace+comments)
|
78
|
+
# - machine name
|
79
|
+
# - login keyword (including surrounding whitespace+comments)
|
80
|
+
# - login
|
81
|
+
# - password keyword (including surrounding whitespace+comments)
|
82
|
+
# - password
|
83
|
+
# - trailing chars
|
84
|
+
# This lets us change individual fields, then write out the file
|
85
|
+
# with all its original formatting.
|
86
|
+
#
|
87
|
+
# source://netrc//lib/netrc.rb#129
|
88
|
+
def parse(ts); end
|
89
|
+
|
90
|
+
# Reads path and parses it as a .netrc file. If path doesn't
|
91
|
+
# exist, returns an empty object. Decrypt paths ending in .gpg.
|
92
|
+
#
|
93
|
+
# source://netrc//lib/netrc.rb#51
|
94
|
+
def read(path = T.unsafe(nil)); end
|
95
|
+
|
96
|
+
# @return [Boolean]
|
97
|
+
#
|
98
|
+
# source://netrc//lib/netrc.rb#112
|
99
|
+
def skip?(s); end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
# source://netrc//lib/netrc.rb#8
|
104
|
+
Netrc::CYGWIN = T.let(T.unsafe(nil), T.untyped)
|
105
|
+
|
106
|
+
# source://netrc//lib/netrc.rb#244
|
107
|
+
class Netrc::Entry < ::Struct
|
108
|
+
# Returns the value of attribute login
|
109
|
+
#
|
110
|
+
# @return [Object] the current value of login
|
111
|
+
def login; end
|
112
|
+
|
113
|
+
# Sets the attribute login
|
114
|
+
#
|
115
|
+
# @param value [Object] the value to set the attribute login to.
|
116
|
+
# @return [Object] the newly set value
|
117
|
+
def login=(_); end
|
118
|
+
|
119
|
+
# Returns the value of attribute password
|
120
|
+
#
|
121
|
+
# @return [Object] the current value of password
|
122
|
+
def password; end
|
123
|
+
|
124
|
+
# Sets the attribute password
|
125
|
+
#
|
126
|
+
# @param value [Object] the value to set the attribute password to.
|
127
|
+
# @return [Object] the newly set value
|
128
|
+
def password=(_); end
|
129
|
+
|
130
|
+
def to_ary; end
|
131
|
+
|
132
|
+
class << self
|
133
|
+
def [](*_arg0); end
|
134
|
+
def inspect; end
|
135
|
+
def keyword_init?; end
|
136
|
+
def members; end
|
137
|
+
def new(*_arg0); end
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
# source://netrc//lib/netrc.rb#250
|
142
|
+
class Netrc::Error < ::StandardError; end
|
143
|
+
|
144
|
+
# source://netrc//lib/netrc.rb#68
|
145
|
+
class Netrc::TokenArray < ::Array
|
146
|
+
# source://netrc//lib/netrc.rb#76
|
147
|
+
def readto; end
|
148
|
+
|
149
|
+
# source://netrc//lib/netrc.rb#69
|
150
|
+
def take; end
|
151
|
+
end
|
152
|
+
|
153
|
+
# source://netrc//lib/netrc.rb#4
|
154
|
+
Netrc::VERSION = T.let(T.unsafe(nil), String)
|
155
|
+
|
156
|
+
# see http://stackoverflow.com/questions/4871309/what-is-the-correct-way-to-detect-if-ruby-is-running-on-windows
|
157
|
+
#
|
158
|
+
# source://netrc//lib/netrc.rb#7
|
159
|
+
Netrc::WINDOWS = T.let(T.unsafe(nil), T.untyped)
|
@@ -0,0 +1,291 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `parallel` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem parallel`.
|
6
|
+
|
7
|
+
|
8
|
+
# source://parallel//lib/parallel/version.rb#2
|
9
|
+
module Parallel
|
10
|
+
class << self
|
11
|
+
# @return [Boolean]
|
12
|
+
#
|
13
|
+
# source://parallel//lib/parallel.rb#243
|
14
|
+
def all?(*args, &block); end
|
15
|
+
|
16
|
+
# @return [Boolean]
|
17
|
+
#
|
18
|
+
# source://parallel//lib/parallel.rb#238
|
19
|
+
def any?(*args, &block); end
|
20
|
+
|
21
|
+
# source://parallel//lib/parallel.rb#234
|
22
|
+
def each(array, options = T.unsafe(nil), &block); end
|
23
|
+
|
24
|
+
# source://parallel//lib/parallel.rb#248
|
25
|
+
def each_with_index(array, options = T.unsafe(nil), &block); end
|
26
|
+
|
27
|
+
# source://parallel//lib/parallel.rb#307
|
28
|
+
def filter_map(*_arg0, **_arg1, &_arg2); end
|
29
|
+
|
30
|
+
# source://parallel//lib/parallel.rb#303
|
31
|
+
def flat_map(*_arg0, **_arg1, &_arg2); end
|
32
|
+
|
33
|
+
# source://parallel//lib/parallel.rb#228
|
34
|
+
def in_processes(options = T.unsafe(nil), &block); end
|
35
|
+
|
36
|
+
# source://parallel//lib/parallel.rb#212
|
37
|
+
def in_threads(options = T.unsafe(nil)); end
|
38
|
+
|
39
|
+
# source://parallel//lib/parallel.rb#252
|
40
|
+
def map(source, options = T.unsafe(nil), &block); end
|
41
|
+
|
42
|
+
# source://parallel//lib/parallel.rb#299
|
43
|
+
def map_with_index(array, options = T.unsafe(nil), &block); end
|
44
|
+
|
45
|
+
# Number of physical processor cores on the current system.
|
46
|
+
#
|
47
|
+
# source://parallel//lib/parallel.rb#312
|
48
|
+
def physical_processor_count; end
|
49
|
+
|
50
|
+
# Number of processors seen by the OS or value considering CPU quota if the process is inside a cgroup,
|
51
|
+
# used for process scheduling
|
52
|
+
#
|
53
|
+
# source://parallel//lib/parallel.rb#342
|
54
|
+
def processor_count; end
|
55
|
+
|
56
|
+
# source://parallel//lib/parallel.rb#346
|
57
|
+
def worker_number; end
|
58
|
+
|
59
|
+
# TODO: this does not work when doing threads in forks, so should remove and yield the number instead if needed
|
60
|
+
#
|
61
|
+
# source://parallel//lib/parallel.rb#351
|
62
|
+
def worker_number=(worker_num); end
|
63
|
+
|
64
|
+
private
|
65
|
+
|
66
|
+
# source://parallel//lib/parallel.rb#384
|
67
|
+
def add_progress_bar!(job_factory, options); end
|
68
|
+
|
69
|
+
# source://parallel//lib/parallel.rb#699
|
70
|
+
def available_processor_count; end
|
71
|
+
|
72
|
+
# source://parallel//lib/parallel.rb#647
|
73
|
+
def call_with_index(item, index, options, &block); end
|
74
|
+
|
75
|
+
# source://parallel//lib/parallel.rb#579
|
76
|
+
def create_workers(job_factory, options, &block); end
|
77
|
+
|
78
|
+
# options is either a Integer or a Hash with :count
|
79
|
+
#
|
80
|
+
# source://parallel//lib/parallel.rb#637
|
81
|
+
def extract_count_from_options(options); end
|
82
|
+
|
83
|
+
# source://parallel//lib/parallel.rb#665
|
84
|
+
def instrument_finish(item, index, result, options); end
|
85
|
+
|
86
|
+
# yield results in the order of the input items
|
87
|
+
# needs to use `options` to store state between executions
|
88
|
+
# needs to use `done` index since a nil result would also be valid
|
89
|
+
#
|
90
|
+
# source://parallel//lib/parallel.rb#674
|
91
|
+
def instrument_finish_in_order(item, index, result, options); end
|
92
|
+
|
93
|
+
# source://parallel//lib/parallel.rb#694
|
94
|
+
def instrument_start(item, index, options); end
|
95
|
+
|
96
|
+
# source://parallel//lib/parallel.rb#357
|
97
|
+
def physical_processor_count_windows; end
|
98
|
+
|
99
|
+
# source://parallel//lib/parallel.rb#613
|
100
|
+
def process_incoming_jobs(read, write, job_factory, options, &block); end
|
101
|
+
|
102
|
+
# source://parallel//lib/parallel.rb#567
|
103
|
+
def replace_worker(job_factory, workers, index, options, blk); end
|
104
|
+
|
105
|
+
# source://parallel//lib/parallel.rb#378
|
106
|
+
def run(command); end
|
107
|
+
|
108
|
+
# source://parallel//lib/parallel.rb#658
|
109
|
+
def with_instrumentation(item, index, options); end
|
110
|
+
|
111
|
+
# source://parallel//lib/parallel.rb#409
|
112
|
+
def work_direct(job_factory, options, &block); end
|
113
|
+
|
114
|
+
# source://parallel//lib/parallel.rb#519
|
115
|
+
def work_in_processes(job_factory, options, &blk); end
|
116
|
+
|
117
|
+
# source://parallel//lib/parallel.rb#453
|
118
|
+
def work_in_ractors(job_factory, options); end
|
119
|
+
|
120
|
+
# source://parallel//lib/parallel.rb#428
|
121
|
+
def work_in_threads(job_factory, options, &block); end
|
122
|
+
|
123
|
+
# source://parallel//lib/parallel.rb#587
|
124
|
+
def worker(job_factory, options, &block); end
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
# source://parallel//lib/parallel.rb#11
|
129
|
+
class Parallel::Break < ::StandardError
|
130
|
+
# @return [Break] a new instance of Break
|
131
|
+
#
|
132
|
+
# source://parallel//lib/parallel.rb#14
|
133
|
+
def initialize(value = T.unsafe(nil)); end
|
134
|
+
|
135
|
+
# Returns the value of attribute value.
|
136
|
+
#
|
137
|
+
# source://parallel//lib/parallel.rb#12
|
138
|
+
def value; end
|
139
|
+
end
|
140
|
+
|
141
|
+
# source://parallel//lib/parallel.rb#8
|
142
|
+
class Parallel::DeadWorker < ::StandardError; end
|
143
|
+
|
144
|
+
# source://parallel//lib/parallel.rb#32
|
145
|
+
class Parallel::ExceptionWrapper
|
146
|
+
# @return [ExceptionWrapper] a new instance of ExceptionWrapper
|
147
|
+
#
|
148
|
+
# source://parallel//lib/parallel.rb#35
|
149
|
+
def initialize(exception); end
|
150
|
+
|
151
|
+
# Returns the value of attribute exception.
|
152
|
+
#
|
153
|
+
# source://parallel//lib/parallel.rb#33
|
154
|
+
def exception; end
|
155
|
+
end
|
156
|
+
|
157
|
+
# source://parallel//lib/parallel.rb#98
|
158
|
+
class Parallel::JobFactory
|
159
|
+
# @return [JobFactory] a new instance of JobFactory
|
160
|
+
#
|
161
|
+
# source://parallel//lib/parallel.rb#99
|
162
|
+
def initialize(source, mutex); end
|
163
|
+
|
164
|
+
# source://parallel//lib/parallel.rb#107
|
165
|
+
def next; end
|
166
|
+
|
167
|
+
# generate item that is sent to workers
|
168
|
+
# just index is faster + less likely to blow up with unserializable errors
|
169
|
+
#
|
170
|
+
# source://parallel//lib/parallel.rb#136
|
171
|
+
def pack(item, index); end
|
172
|
+
|
173
|
+
# source://parallel//lib/parallel.rb#126
|
174
|
+
def size; end
|
175
|
+
|
176
|
+
# unpack item that is sent to workers
|
177
|
+
#
|
178
|
+
# source://parallel//lib/parallel.rb#141
|
179
|
+
def unpack(data); end
|
180
|
+
|
181
|
+
private
|
182
|
+
|
183
|
+
# @return [Boolean]
|
184
|
+
#
|
185
|
+
# source://parallel//lib/parallel.rb#147
|
186
|
+
def producer?; end
|
187
|
+
|
188
|
+
# source://parallel//lib/parallel.rb#151
|
189
|
+
def queue_wrapper(array); end
|
190
|
+
end
|
191
|
+
|
192
|
+
# source://parallel//lib/parallel.rb#20
|
193
|
+
class Parallel::Kill < ::Parallel::Break; end
|
194
|
+
|
195
|
+
# source://parallel//lib/parallel.rb#6
|
196
|
+
Parallel::Stop = T.let(T.unsafe(nil), Object)
|
197
|
+
|
198
|
+
# source://parallel//lib/parallel.rb#23
|
199
|
+
class Parallel::UndumpableException < ::StandardError
|
200
|
+
# @return [UndumpableException] a new instance of UndumpableException
|
201
|
+
#
|
202
|
+
# source://parallel//lib/parallel.rb#26
|
203
|
+
def initialize(original); end
|
204
|
+
|
205
|
+
# Returns the value of attribute backtrace.
|
206
|
+
#
|
207
|
+
# source://parallel//lib/parallel.rb#24
|
208
|
+
def backtrace; end
|
209
|
+
end
|
210
|
+
|
211
|
+
# source://parallel//lib/parallel.rb#156
|
212
|
+
class Parallel::UserInterruptHandler
|
213
|
+
class << self
|
214
|
+
# source://parallel//lib/parallel.rb#181
|
215
|
+
def kill(thing); end
|
216
|
+
|
217
|
+
# kill all these pids or threads if user presses Ctrl+c
|
218
|
+
#
|
219
|
+
# source://parallel//lib/parallel.rb#161
|
220
|
+
def kill_on_ctrl_c(pids, options); end
|
221
|
+
|
222
|
+
private
|
223
|
+
|
224
|
+
# source://parallel//lib/parallel.rb#205
|
225
|
+
def restore_interrupt(old, signal); end
|
226
|
+
|
227
|
+
# source://parallel//lib/parallel.rb#190
|
228
|
+
def trap_interrupt(signal); end
|
229
|
+
end
|
230
|
+
end
|
231
|
+
|
232
|
+
# source://parallel//lib/parallel.rb#157
|
233
|
+
Parallel::UserInterruptHandler::INTERRUPT_SIGNAL = T.let(T.unsafe(nil), Symbol)
|
234
|
+
|
235
|
+
# source://parallel//lib/parallel/version.rb#3
|
236
|
+
Parallel::VERSION = T.let(T.unsafe(nil), String)
|
237
|
+
|
238
|
+
# source://parallel//lib/parallel/version.rb#3
|
239
|
+
Parallel::Version = T.let(T.unsafe(nil), String)
|
240
|
+
|
241
|
+
# source://parallel//lib/parallel.rb#51
|
242
|
+
class Parallel::Worker
|
243
|
+
# @return [Worker] a new instance of Worker
|
244
|
+
#
|
245
|
+
# source://parallel//lib/parallel.rb#55
|
246
|
+
def initialize(read, write, pid); end
|
247
|
+
|
248
|
+
# might be passed to started_processes and simultaneously closed by another thread
|
249
|
+
# when running in isolation mode, so we have to check if it is closed before closing
|
250
|
+
#
|
251
|
+
# source://parallel//lib/parallel.rb#68
|
252
|
+
def close_pipes; end
|
253
|
+
|
254
|
+
# Returns the value of attribute pid.
|
255
|
+
#
|
256
|
+
# source://parallel//lib/parallel.rb#52
|
257
|
+
def pid; end
|
258
|
+
|
259
|
+
# Returns the value of attribute read.
|
260
|
+
#
|
261
|
+
# source://parallel//lib/parallel.rb#52
|
262
|
+
def read; end
|
263
|
+
|
264
|
+
# source://parallel//lib/parallel.rb#61
|
265
|
+
def stop; end
|
266
|
+
|
267
|
+
# Returns the value of attribute thread.
|
268
|
+
#
|
269
|
+
# source://parallel//lib/parallel.rb#53
|
270
|
+
def thread; end
|
271
|
+
|
272
|
+
# Sets the attribute thread
|
273
|
+
#
|
274
|
+
# @param value the value to set the attribute thread to.
|
275
|
+
#
|
276
|
+
# source://parallel//lib/parallel.rb#53
|
277
|
+
def thread=(_arg0); end
|
278
|
+
|
279
|
+
# source://parallel//lib/parallel.rb#73
|
280
|
+
def work(data); end
|
281
|
+
|
282
|
+
# Returns the value of attribute write.
|
283
|
+
#
|
284
|
+
# source://parallel//lib/parallel.rb#52
|
285
|
+
def write; end
|
286
|
+
|
287
|
+
private
|
288
|
+
|
289
|
+
# source://parallel//lib/parallel.rb#91
|
290
|
+
def wait; end
|
291
|
+
end
|