tree-sitter 0.0.1 → 0.1.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.
- checksums.yaml +4 -4
- data/README.md +29 -8
- data/Rakefile +19 -4
- data/ext/tree-sitter/Makefile +24 -0
- data/ext/tree-sitter/document.c +149 -0
- data/ext/tree-sitter/document.h +17 -0
- data/ext/tree-sitter/extconf.rb +55 -15
- data/ext/tree-sitter/node.c +300 -0
- data/ext/tree-sitter/node.h +34 -0
- data/ext/tree-sitter/out/document.o +0 -0
- data/ext/tree-sitter/out/get_changed_ranges.o +0 -0
- data/ext/tree-sitter/out/language.o +0 -0
- data/ext/tree-sitter/out/lexer.o +0 -0
- data/ext/tree-sitter/out/libruntime.a +0 -0
- data/ext/tree-sitter/out/node.o +0 -0
- data/ext/tree-sitter/out/parser.o +0 -0
- data/ext/tree-sitter/out/python/parser.c +65600 -0
- data/ext/tree-sitter/out/python/parser.o +0 -0
- data/ext/tree-sitter/out/python/scanner.cc +164 -0
- data/ext/tree-sitter/out/python/scanner.o +0 -0
- data/ext/tree-sitter/out/stack.o +0 -0
- data/ext/tree-sitter/out/string_input.o +0 -0
- data/ext/tree-sitter/out/tree.o +0 -0
- data/ext/tree-sitter/out/utf16.o +0 -0
- data/ext/tree-sitter/out/utf8proc.o +0 -0
- data/ext/tree-sitter/tree-sitter.c +4 -109
- data/ext/tree-sitter/tree-sitter.h +4 -0
- data/ext/tree-sitter/tree-sitter/LICENSE +7 -0
- data/ext/tree-sitter/tree-sitter/README.md +13 -13
- data/ext/tree-sitter/tree-sitter/appveyor.yml +24 -0
- data/ext/tree-sitter/tree-sitter/docs/Gemfile +2 -0
- data/ext/tree-sitter/tree-sitter/docs/Gemfile.lock +239 -0
- data/ext/tree-sitter/tree-sitter/docs/_config.yml +1 -0
- data/ext/tree-sitter/tree-sitter/docs/_layouts/table-of-contents.html +74 -0
- data/ext/tree-sitter/tree-sitter/docs/creating-parsers.md +360 -0
- data/ext/tree-sitter/tree-sitter/docs/css/style.css +13 -0
- data/ext/tree-sitter/tree-sitter/docs/index.md +10 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/PRESUBMIT.py +10 -2
- data/ext/tree-sitter/tree-sitter/externals/gyp/buildbot/aosp_manifest.xml +466 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/buildbot/buildbot_run.py +91 -30
- data/ext/tree-sitter/tree-sitter/externals/gyp/gyp +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/gyptest.py +3 -3
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/MSVSNew.py +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/MSVSSettings.py +11 -5
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/MSVSSettings_test.py +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/MSVSUtil.py +18 -15
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/MSVSVersion.py +53 -20
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/__init__.py +4 -6
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/__init__.pyc +0 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/common.py +69 -2
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/common.pyc +0 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/flock_tool.py +6 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/__init__.pyc +0 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/analyzer.py +569 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/android.py +133 -111
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/cmake.py +3 -3
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/eclipse.py +112 -22
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/gypd.py +3 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/make.py +45 -14
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/make.pyc +0 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/msvs.py +170 -98
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/ninja.py +300 -71
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/ninja_test.py +12 -9
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/xcode.py +46 -12
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/xcode.pyc +0 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/input.py +379 -335
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/input.pyc +0 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/input_test.py +7 -7
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/mac_tool.py +94 -3
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/msvs_emulation.py +131 -40
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/simple_copy.py +46 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/win_tool.py +28 -5
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/xcode_emulation.py +185 -88
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/xcode_emulation.pyc +0 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/xcode_ninja.py +268 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/xcodeproj_file.py +53 -46
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/xcodeproj_file.pyc +0 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-bare/gyptest-bare.py +1 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-depfile/depfile.gyp +25 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-depfile/gyptest-all.py +20 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-depfile/input.txt +1 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions-none/gyptest-none.py +1 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/gyptest-all.py +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/gyptest-default.py +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/gyptest-generated-header.py +6 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/src/subdir1/program.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/actions/src/subdir3/generate_main.py +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/additional-targets/gyptest-additional.py +8 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/common.gypi +6 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/gyptest-analyzer.py +356 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/subdir/subdir.gyp +36 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/subdir/subdir2/subdir2.gyp +15 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/subdir2/subdir.gyp +18 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/subdir2/subdir.includes.gypi +9 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/test.gyp +113 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/test2.gyp +25 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/test2.includes.gypi +13 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/test2.includes.includes.gypi +9 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/test2.toplevel_includes.gypi +15 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/test3.gyp +77 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/test4.gyp +80 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/test5.gyp +25 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/android/32or64.c +13 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/android/file.in +1 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/android/gyptest-host-multilib.py +32 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/android/gyptest-make-functions.py +24 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/android/gyptest-noalias.py +21 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/android/gyptest-settings-list.py +24 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/android/gyptest-settings.py +24 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/android/gyptest-space-filenames.py +19 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/android/hello.c +12 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/android/hello.gyp +15 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/android/host_32or64.gyp +38 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/android/make_functions.gyp +31 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/android/settings-list.gyp +18 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/android/settings.gyp +18 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/android/space_filenames.gyp +18 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/android/writefile.c +18 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/assembly/src/program.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/build-option/gyptest-build.py +11 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/build-option/hello.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/prog1.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/subdir2/prog2.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/subdir2/subdir3/prog3.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/subdir2/subdir3/subdir4/prog4.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/builddir/src/subdir2/subdir3/subdir4/subdir5/prog5.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/cflags/cflags.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/cflags/gyptest-cflags.py +15 -55
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/compilable/src/program.cpp +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/{compiler.gyp → compiler-exe.gyp} +0 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/compiler-shared-lib.gyp +16 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/gyptest-compiler-env-toolchain.py +78 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/gyptest-compiler-env.py +9 -11
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/gyptest-compiler-global-settings.py +5 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/my_nm.py +8 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/my_readelf.py +8 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/conditions/elseif/elseif.gyp +43 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/conditions/elseif/elseif_bad1.gyp +20 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/conditions/elseif/elseif_bad2.gyp +22 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/conditions/elseif/elseif_bad3.gyp +23 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/conditions/elseif/elseif_conditions.gypi +15 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/conditions/elseif/gyptest_elseif.py +33 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/conditions/elseif/program.cc +10 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/basics/configurations.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/basics/gyptest-configurations.py +6 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/inheritance/configurations.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/inheritance/duplicates.gyp +27 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/inheritance/duplicates.gypd.golden +12 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/inheritance/gyptest-duplicates.py +34 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/inheritance/gyptest-inheritance.py +6 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/target_platform/front.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/x64/configurations.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/gyptest-all.py +3 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/gyptest-default.py +3 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/gyptest-samedir.py +1 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/gyptest-slash.py +1 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/copies/gyptest-updir.py +1 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/cxxflags/cxxflags.cc +4 -4
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/cxxflags/cxxflags.gyp +0 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/cxxflags/gyptest-cxxflags.py +13 -33
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/defines-escaping/defines-escaping.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/defines/defines.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/gyptest-extra-targets.py +2 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/gyptest-lib-only.py +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependency-copy/src/file1.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/dependency-copy/src/file2.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/empty-target/empty-target.gyp +12 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/empty-target/gyptest-empty-target.py +18 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/errors/dependency_cycle.gyp +23 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/errors/file_cycle0.gyp +17 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/errors/file_cycle1.gyp +13 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/errors/gyptest-errors.py +10 -2
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/exclusion/hello.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/external-cross-compile/src/program.cc +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/actions/subdir1/program.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/gyptest-copies.py +3 -2
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/rules/subdir1/program.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/prog1.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/subdir2/deeper/deeper.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/subdir2/prog2.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/generator-output/src/subdir3/prog3.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/gyp-defines/gyptest-multiple-values.py +2 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/hello/hello.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/hello/hello2.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/home_dot_gyp/src/printfoo.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/include_dirs/src/includes.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/include_dirs/src/subdir/subdir_includes.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/intermediate_dir/gyptest-intermediate-dir.py +2 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/Images.xcassets/AppIcon.appiconset/Contents.json +58 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/Images.xcassets/image.imageset/Contents.json +23 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/Images.xcassets/image.imageset/super_sylvain.png +0 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/Images.xcassets/image.imageset/super_sylvain@2x.png +0 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/Images.xcassets/image.imageset/super_sylvain@3x.png +0 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/test-assets-catalog.gyp +45 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/test-crosscompile.gyp +47 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/test.gyp +0 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/tool_main.cc +7 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ActionExtension/ActionViewController.h +9 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ActionExtension/ActionViewController.m +31 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ActionExtension/Info.plist +42 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ActionExtension/MainInterface.storyboard +63 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ExtensionContainer/AppDelegate.h +12 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ExtensionContainer/AppDelegate.m +19 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ExtensionContainer/Base.lproj/Main.storyboard +25 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ExtensionContainer/Images.xcassets/AppIcon.appiconset/Contents.json +53 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ExtensionContainer/Images.xcassets/LaunchImage.launchimage/Contents.json +51 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ExtensionContainer/Info.plist +32 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ExtensionContainer/ViewController.h +11 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ExtensionContainer/ViewController.m +24 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ExtensionContainer/main.m +13 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/extension.gyp +85 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-app-ios-assets-catalog.py +57 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-app-ios.py +7 -7
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-archs.py +22 -70
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-crosscompile.py +34 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-extension.py +28 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-watch.py +36 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-xcode-ninja.py +25 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchApp/Images.xcassets/AppIcon.appiconset/Contents.json +62 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchApp/Images.xcassets/LaunchImage.launchimage/Contents.json +24 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchApp/Info.plist +35 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchApp/Interface.storyboard +15 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchContainer/AppDelegate.h +12 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchContainer/AppDelegate.m +19 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchContainer/Base.lproj/Main.storyboard +25 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchContainer/Images.xcassets/AppIcon.appiconset/Contents.json +53 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchContainer/Images.xcassets/LaunchImage.launchimage/Contents.json +51 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchContainer/Info.plist +32 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchContainer/ViewController.h +11 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchContainer/ViewController.m +24 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchContainer/main.m +13 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchKitExtension/Images.xcassets/MyImage.imageset/Contents.json +20 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchKitExtension/Info.plist +38 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchKitExtension/InterfaceController.h +10 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchKitExtension/InterfaceController.m +25 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchKitExtension/MainInterface.storyboard +63 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/watch.gyp +105 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/lib/TestGyp.py +349 -46
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/lib/TestMac.py +73 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/lib/TestWin.py +101 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/library/gyptest-shared.py +6 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/library/gyptest-static.py +6 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/library/src/program.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/link-dependency/gyptest-link-dependency.py +23 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/link-dependency/main.c +7 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/link-dependency/mymalloc.c +12 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/link-dependency/test.gyp +37 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/link-objects/base.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/Images.xcassets/AppIcon.appiconset/Contents.json +58 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/Images.xcassets/image.imageset/Contents.json +23 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/Images.xcassets/image.imageset/super_sylvain.png +0 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/Images.xcassets/image.imageset/super_sylvain@2x.png +0 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/Images.xcassets/image.imageset/super_sylvain@3x.png +0 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/test-assets-catalog.gyp +43 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/file_a.cc +8 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/file_a.h +10 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/file_b.cc +8 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/file_b.h +10 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/file_c.cc +11 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/file_d.cc +11 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/test-archs-multiarch.gyp +20 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/test-dependencies.gyp +92 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/test-valid-archs.gyp +28 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/clang-cxx-library/libc++.cc +2 -2
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/clang-cxx-library/libstdc++.cc +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-action-envvars.py +6 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-app-assets-catalog.py +120 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-app-error.py +2 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-app.py +8 -20
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-archs.py +39 -33
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-cflags.py +1 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-clang-cxx-library.py +3 -4
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-global-settings.py +7 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-installname.py +1 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-ldflags-passed-to-libtool.py +1 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-ldflags.py +6 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-libraries.py +6 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-libtool-zero.py +26 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-loadable-module-bundle-product-extension.py +31 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-loadable-module.py +1 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-objc-gc.py +24 -18
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-postbuild-copy-bundle.py +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-postbuild-fail.py +1 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-prefixheader.py +1 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-rpath.py +5 -4
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-strip.py +13 -5
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-swift-library.py +62 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-type-envvars.py +3 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-xcode-env-order.py +2 -6
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-xcode-support-actions.py +25 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/libtool-zero/mylib.c +7 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/{errors/duplicate_basenames.gyp → mac/libtool-zero/test.gyp} +6 -4
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/loadable-module-bundle-product-extension/src.cc +7 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/loadable-module-bundle-product-extension/test.gyp +24 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/swift-library/Info.plist +28 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/swift-library/file.swift +9 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/swift-library/test.gyp +21 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_bundle_executable.sh +1 -2
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_bundle_loadable_module.sh +1 -2
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_bundle_shared_library.sh +1 -2
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_check_sdkroot.sh +47 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_nonbundle_executable.sh +2 -2
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_nonbundle_loadable_module.sh +1 -2
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_nonbundle_none.sh +1 -2
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_nonbundle_shared_library.sh +1 -2
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_nonbundle_static_library.sh +1 -2
- data/ext/tree-sitter/tree-sitter/{out/Release/linker.lock → externals/gyp/test/mac/xcode-support-actions/source.c} +0 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-support-actions/test.gyp +26 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/make/main.cc +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/make/noload/main.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/ar/gyptest-make_global_settings_ar.py +123 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/ar/make_global_settings_ar.gyp +29 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/basics/gyptest-make_global_settings.py +2 -2
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/full-toolchain/bar.cc +1 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/full-toolchain/foo.c +1 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/full-toolchain/gyptest-make_global_settings.py +48 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/full-toolchain/make_global_settings.gyp +22 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/full-toolchain/my_nm.py +8 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/full-toolchain/my_readelf.py +8 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/ld/gyptest-make_global_settings_ld.py +130 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/ld/make_global_settings_ld.gyp +29 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/many-actions/gyptest-many-actions-unsorted.py +1 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/buildevents/gyptest-ninja-warnings.py +2 -2
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/config_attrs/hello.c +2 -2
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/external_builder/hello.cpp +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/filters/gyptest-filters-2010.py +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/list_excluded/hello.cpp +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/multiple_actions_error_handling/action_fail.py +7 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/multiple_actions_error_handling/action_succeed.py +7 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/multiple_actions_error_handling/actions.gyp +40 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/multiple_actions_error_handling/gyptest.py +26 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/props/hello.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/shared_output/hello.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/shared_output/there/there.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/uldi2010/hello.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/multiple-targets/gyptest-all.py +0 -3
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/multiple-targets/gyptest-default.py +0 -3
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/multiple-targets/src/prog1.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/multiple-targets/src/prog2.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/action-rule-hash/gyptest-action-rule-hash.py +32 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/action-rule-hash/subdir/action-rule-hash.gyp +29 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/action-rule-hash/subdir/emit.py +13 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/action_dependencies/gyptest-action-dependencies.py +3 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/chained-dependency/chained.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/chained-dependency/gyptest-chained-dependency.py +4 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/empty-and-non-empty-duplicate-name/gyptest-empty-and-non-empty-duplicate-name.py +23 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/empty-and-non-empty-duplicate-name/subdir/included.gyp +19 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/empty-and-non-empty-duplicate-name/test.gyp +19 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/normalize-paths-win/gyptest-normalize-paths.py +4 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/normalize-paths-win/normalize-paths.gyp +12 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/solibs_avoid_relinking/gyptest-solibs-avoid-relinking.py +5 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/use-console/foo.bar +5 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/use-console/gyptest-use-console.py +29 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/use-console/use-console.gyp +60 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/no-cpp/gyptest-no-cpp.py +1 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/product/hello.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/prune_targets/gyptest-prune-targets.py +3 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/gyptest-dirname.py +17 -3
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/src/subdir/a/b/c.gencc +2 -5
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/src/subdir/foo/bar/baz.gencc +2 -5
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/src/subdir/input-rule-dirname.gyp +62 -14
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/src/subdir/main.cc +2 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/src/subdir/nodir.gencc +8 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-rebuild/src/main.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules-use-built-dependencies/gyptest-use-built-dependencies.py +1 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/gyptest-all.py +7 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/gyptest-default.py +7 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/actions.gyp +1 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/special-variables.gyp +0 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir1/program.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir2/both_rule_and_action_input.gyp +50 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir2/program.c +12 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir3/program.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir4/build-asm.gyp +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir4/program.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/gyptest-shared.py +27 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/gyptest-static.py +29 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/src/double-shared.gyp +6 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/src/double-static.gyp +1 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/src/prog1.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/src/prog2.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/src/prog3.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-target-name-different-directory/gyptest-all.py +5 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/sibling/gyptest-all.py +6 -3
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/sibling/gyptest-relocate.py +6 -3
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/sibling/src/prog1/prog1.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/sibling/src/prog2/prog2.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/standalone-static-library/prog.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/subdirectory/gyptest-SYMROOT-all.py +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/subdirectory/gyptest-SYMROOT-default.py +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/subdirectory/src/prog1.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/subdirectory/src/subdir/prog2.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/subdirectory/src/subdir/subdir2/prog3.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/toolsets/main.cc +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/toplevel-dir/gyptest-toplevel-dir.py +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/toplevel-dir/src/sub1/prog1.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/toplevel-dir/src/sub2/prog2.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/gyptest-commands-repeated-multidir.py +23 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/repeated_multidir/dir_1/test_1.gyp +13 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/repeated_multidir/dir_2/test_2.gyp +13 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/repeated_multidir/main.gyp +16 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/repeated_multidir/print_cwd_basename.py +10 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/repeated_multidir/repeated_command_common.gypi +25 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/variables/latelate/src/program.cc +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/command-quote/command-quote.gyp +0 -5
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/command-quote/subdir/and/another/in-subdir.gyp +0 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/calling-convention-cdecl.def +6 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/calling-convention-fastcall.def +6 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/calling-convention-stdcall.def +6 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/calling-convention-vectorcall.def +6 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/calling-convention.cc +6 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/calling-convention.gyp +66 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/enable-enhanced-instruction-set.cc +28 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/enable-enhanced-instruction-set.gyp +68 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/floating-point-model-fast.cc +19 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/floating-point-model-precise.cc +19 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/floating-point-model-strict.cc +19 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/floating-point-model.gyp +43 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/enable-winrt/dllmain.cc +30 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/enable-winrt/enable-winrt.gyp +39 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/generator-output-different-drive/prog.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-calling-convention.py +22 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-enable-enhanced-instruction-set.py +44 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-floating-point-model.py +22 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-base-address.py +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-enable-winrt.py +35 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-pdb-no-output.py +25 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-pdb-output.py +0 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-profile.py +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-restat-importlib.py +6 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-safeseh.py +40 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-shard.py +3 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-macro-targetext.py +26 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-macro-targetfilename.py +32 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-macro-targetpath.py +30 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-midl-excluded.py +22 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-midl-includedirs.py +21 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-midl-rules.py +4 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-ml-safeseh.py +22 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-system-include.py +21 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-excluded/bad.idl +6 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-excluded/copy-file.py +11 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-excluded/idl-excluded.gyp +58 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-excluded/program.cc +7 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-includedirs/hello.cc +7 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-includedirs/idl-includedirs.gyp +26 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-includedirs/subdir/bar.idl +13 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-includedirs/subdir/foo.idl +14 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-rules/Window.idl +9 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-rules/basic-idl.gyp +67 -42
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-rules/idl_compiler.py +17 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/large-pdb/main.cc +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/pdb-output.gyp +13 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/safeseh.gyp +47 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/safeseh_hello.cc +11 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/safeseh_zero.asm +10 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/update_pgd.py +3 -3
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/ml-safeseh/a.asm +10 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/ml-safeseh/hello.cc +11 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/ml-safeseh/ml-safeseh.gyp +24 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/precompiled/hello.c +1 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/shard/hello.cc +7 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/shard/shard.gyp +11 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/shard/shard_ref.gyp +41 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/system-include/bar/header.h +0 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/system-include/common/commonheader.h +0 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/system-include/foo/header.h +0 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/system-include/main.cc +4 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/system-include/test.gyp +26 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/containing-gyp.gyp +0 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/input-output-macros.gyp +0 -1
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/targetext.gyp +59 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/targetfilename.gyp +59 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/targetpath.gyp +59 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/win-tool/copies_readonly_files.gyp +29 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/win/win-tool/gyptest-win-tool-handles-readonly-files.py +55 -0
- data/ext/tree-sitter/tree-sitter/externals/gyp/tools/emacs/gyp.el +36 -13
- data/ext/tree-sitter/tree-sitter/externals/gyp/tools/pretty_sln.py +4 -3
- data/ext/tree-sitter/tree-sitter/externals/utf8proc/CMakeLists.txt +4 -2
- data/ext/tree-sitter/tree-sitter/externals/utf8proc/MANIFEST +3 -3
- data/ext/tree-sitter/tree-sitter/externals/utf8proc/Makefile +11 -6
- data/ext/tree-sitter/tree-sitter/externals/utf8proc/NEWS.md +69 -0
- data/ext/tree-sitter/tree-sitter/externals/utf8proc/README.md +4 -2
- data/ext/tree-sitter/tree-sitter/externals/utf8proc/bench/bench.c +2 -2
- data/ext/tree-sitter/tree-sitter/externals/utf8proc/data/Makefile +12 -9
- data/ext/tree-sitter/tree-sitter/externals/utf8proc/data/data_generator.rb +125 -42
- data/ext/tree-sitter/tree-sitter/externals/utf8proc/test/custom.c +27 -0
- data/ext/tree-sitter/tree-sitter/externals/utf8proc/test/iterate.c +8 -2
- data/ext/tree-sitter/tree-sitter/externals/utf8proc/test/printproperty.c +5 -7
- data/ext/tree-sitter/tree-sitter/externals/utf8proc/utf8proc.c +209 -98
- data/ext/tree-sitter/tree-sitter/externals/utf8proc/utf8proc.h +126 -28
- data/ext/tree-sitter/tree-sitter/externals/utf8proc/utf8proc_data.c +12976 -15342
- data/ext/tree-sitter/tree-sitter/include/tree_sitter/compiler.h +2 -0
- data/ext/tree-sitter/tree-sitter/include/tree_sitter/parser.h +73 -74
- data/ext/tree-sitter/tree-sitter/include/tree_sitter/runtime.h +29 -20
- data/ext/tree-sitter/tree-sitter/project.gyp +13 -24
- data/ext/tree-sitter/tree-sitter/script/benchmark +76 -0
- data/ext/tree-sitter/tree-sitter/script/build-fuzzers +66 -0
- data/ext/tree-sitter/tree-sitter/script/ci +2 -1
- data/ext/tree-sitter/tree-sitter/script/configure.cmd +3 -0
- data/ext/tree-sitter/tree-sitter/script/fetch-fixtures +13 -9
- data/ext/tree-sitter/tree-sitter/script/fetch-fixtures.cmd +26 -0
- data/ext/tree-sitter/tree-sitter/script/reproduce +1 -0
- data/ext/tree-sitter/tree-sitter/script/run-fuzzer +57 -0
- data/ext/tree-sitter/tree-sitter/script/test +47 -8
- data/ext/tree-sitter/tree-sitter/script/test.cmd +2 -0
- data/ext/tree-sitter/tree-sitter/script/trim-whitespace +1 -1
- data/ext/tree-sitter/tree-sitter/script/util/scan-build.sh +24 -0
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_item.cc +60 -41
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_item.h +6 -7
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_item_transitions.cc +108 -101
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_item_transitions.h +1 -4
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_table_builder.cc +537 -0
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_table_builder.h +57 -0
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/lookahead_set.cc +93 -19
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/lookahead_set.h +90 -5
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/parse_item.cc +77 -29
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/parse_item.h +4 -9
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/parse_item_set_builder.cc +229 -94
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/parse_item_set_builder.h +9 -3
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/parse_table_builder.cc +893 -0
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/parse_table_builder.h +38 -0
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/rule_can_be_blank.cc +34 -35
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/rule_can_be_blank.h +1 -1
- data/ext/tree-sitter/tree-sitter/src/compiler/compile.cc +23 -40
- data/ext/tree-sitter/tree-sitter/src/compiler/compile_error.h +6 -0
- data/ext/tree-sitter/tree-sitter/src/compiler/generate_code/c_code.cc +301 -124
- data/ext/tree-sitter/tree-sitter/src/compiler/generate_code/c_code.h +12 -4
- data/ext/tree-sitter/tree-sitter/{doc → src/compiler}/grammar-schema.json +34 -42
- data/ext/tree-sitter/tree-sitter/src/compiler/grammar.h +24 -5
- data/ext/tree-sitter/tree-sitter/src/compiler/lex_table.cc +2 -31
- data/ext/tree-sitter/tree-sitter/src/compiler/lex_table.h +6 -30
- data/ext/tree-sitter/tree-sitter/src/compiler/lexical_grammar.h +15 -3
- data/ext/tree-sitter/tree-sitter/src/compiler/parse_grammar.cc +143 -105
- data/ext/tree-sitter/tree-sitter/src/compiler/parse_grammar.h +2 -1
- data/ext/tree-sitter/tree-sitter/src/compiler/parse_table.cc +71 -174
- data/ext/tree-sitter/tree-sitter/src/compiler/parse_table.h +23 -41
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/expand_repeats.cc +67 -34
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/expand_repeats.h +0 -2
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/expand_tokens.cc +53 -61
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/expand_tokens.h +9 -3
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/extract_choices.cc +37 -43
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/extract_choices.h +1 -1
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/extract_tokens.cc +248 -125
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/extract_tokens.h +3 -2
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/flatten_grammar.cc +114 -70
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/flatten_grammar.h +2 -2
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/initial_syntax_grammar.h +4 -3
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/intern_symbols.cc +113 -50
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/intern_symbols.h +2 -2
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/interned_grammar.h +7 -6
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/normalize_rules.cc +5 -3
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/parse_regex.cc +95 -76
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/parse_regex.h +1 -1
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/prepare_grammar.cc +9 -7
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/prepare_grammar.h +2 -5
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/token_description.cc +59 -45
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/token_description.h +1 -1
- data/ext/tree-sitter/tree-sitter/src/compiler/rule.cc +284 -6
- data/ext/tree-sitter/tree-sitter/src/compiler/rule.h +124 -25
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/blank.h +5 -14
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/character_set.cc +35 -84
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/character_set.h +19 -26
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/choice.cc +3 -69
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/choice.h +6 -13
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/metadata.cc +128 -71
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/metadata.h +48 -17
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/named_symbol.h +6 -12
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/pattern.h +6 -12
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/repeat.cc +5 -34
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/repeat.h +7 -13
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/seq.cc +6 -47
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/seq.h +8 -14
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/string.h +6 -12
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/symbol.h +53 -32
- data/ext/tree-sitter/tree-sitter/src/compiler/syntax_grammar.cc +24 -22
- data/ext/tree-sitter/tree-sitter/src/compiler/syntax_grammar.h +36 -21
- data/ext/tree-sitter/tree-sitter/src/compiler/util/make_visitor.h +31 -0
- data/ext/tree-sitter/tree-sitter/src/runtime/alloc.h +1 -1
- data/ext/tree-sitter/tree-sitter/src/runtime/array.h +25 -36
- data/ext/tree-sitter/tree-sitter/src/runtime/document.c +61 -34
- data/ext/tree-sitter/tree-sitter/src/runtime/document.h +3 -0
- data/ext/tree-sitter/tree-sitter/src/runtime/error_costs.h +5 -19
- data/ext/tree-sitter/tree-sitter/src/runtime/get_changed_ranges.c +355 -0
- data/ext/tree-sitter/tree-sitter/src/runtime/get_changed_ranges.h +20 -0
- data/ext/tree-sitter/tree-sitter/src/runtime/language.c +33 -31
- data/ext/tree-sitter/tree-sitter/src/runtime/language.h +27 -3
- data/ext/tree-sitter/tree-sitter/src/runtime/length.h +5 -21
- data/ext/tree-sitter/tree-sitter/src/runtime/lexer.c +61 -17
- data/ext/tree-sitter/tree-sitter/src/runtime/lexer.h +4 -5
- data/ext/tree-sitter/tree-sitter/src/runtime/node.c +93 -89
- data/ext/tree-sitter/tree-sitter/src/runtime/node.h +1 -1
- data/ext/tree-sitter/tree-sitter/src/runtime/parser.c +850 -743
- data/ext/tree-sitter/tree-sitter/src/runtime/parser.h +13 -8
- data/ext/tree-sitter/tree-sitter/src/runtime/point.h +9 -4
- data/ext/tree-sitter/tree-sitter/src/runtime/reduce_action.h +2 -0
- data/ext/tree-sitter/tree-sitter/src/runtime/reusable_node.h +14 -18
- data/ext/tree-sitter/tree-sitter/src/runtime/stack.c +424 -302
- data/ext/tree-sitter/tree-sitter/src/runtime/stack.h +75 -72
- data/ext/tree-sitter/tree-sitter/src/runtime/string_input.c +4 -10
- data/ext/tree-sitter/tree-sitter/src/runtime/tree.c +401 -252
- data/ext/tree-sitter/tree-sitter/src/runtime/tree.h +71 -57
- data/ext/tree-sitter/tree-sitter/src/runtime/utf16.c +5 -0
- data/ext/tree-sitter/tree-sitter/test/benchmarks.cc +122 -0
- data/ext/tree-sitter/tree-sitter/{spec/compiler/build_tables/lex_item_spec.cc → test/compiler/build_tables/lex_item_test.cc} +141 -143
- data/ext/tree-sitter/tree-sitter/test/compiler/build_tables/parse_item_set_builder_test.cc +134 -0
- data/ext/tree-sitter/tree-sitter/{spec/compiler/build_tables/rule_can_be_blank_spec.cc → test/compiler/build_tables/rule_can_be_blank_test.cc} +16 -19
- data/ext/tree-sitter/tree-sitter/test/compiler/prepare_grammar/expand_repeats_test.cc +170 -0
- data/ext/tree-sitter/tree-sitter/test/compiler/prepare_grammar/expand_tokens_test.cc +89 -0
- data/ext/tree-sitter/tree-sitter/test/compiler/prepare_grammar/extract_choices_test.cc +77 -0
- data/ext/tree-sitter/tree-sitter/test/compiler/prepare_grammar/extract_tokens_test.cc +459 -0
- data/ext/tree-sitter/tree-sitter/test/compiler/prepare_grammar/flatten_grammar_test.cc +130 -0
- data/ext/tree-sitter/tree-sitter/test/compiler/prepare_grammar/intern_symbols_test.cc +101 -0
- data/ext/tree-sitter/tree-sitter/test/compiler/prepare_grammar/parse_regex_test.cc +334 -0
- data/ext/tree-sitter/tree-sitter/{spec/compiler/rules/character_set_spec.cc → test/compiler/rules/character_set_test.cc} +15 -27
- data/ext/tree-sitter/tree-sitter/test/compiler/rules/rule_test.cc +90 -0
- data/ext/tree-sitter/tree-sitter/{spec/compiler/util/string_helpers_spec.cc → test/compiler/util/string_helpers_test.cc} +1 -1
- data/ext/tree-sitter/tree-sitter/test/fixtures/error_corpus/c_errors.txt +166 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/error_corpus/javascript_errors.txt +179 -0
- data/ext/tree-sitter/tree-sitter/{spec → test}/fixtures/error_corpus/json_errors.txt +10 -7
- data/ext/tree-sitter/tree-sitter/{spec → test}/fixtures/error_corpus/python_errors.txt +0 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/aliased_inlined_rules/corpus.txt +13 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/aliased_inlined_rules/grammar.json +59 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/aliased_inlined_rules/readme.md +1 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/aliased_rules/corpus.txt +18 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/aliased_rules/grammar.json +71 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/aliased_unit_reductions/corpus.txt +12 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/aliased_unit_reductions/grammar.json +70 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/aliased_unit_reductions/readme.md +5 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/anonymous_tokens_with_escaped_chars/corpus.txt +32 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/anonymous_tokens_with_escaped_chars/grammar.json +14 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/anonymous_tokens_with_escaped_chars/readme.md +1 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/associativity_left/corpus.txt +8 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/associativity_left/grammar.json +31 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/associativity_missing/expected_error.txt +13 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/associativity_missing/grammar.json +27 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/associativity_right/corpus.txt +8 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/associativity_right/grammar.json +31 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/conflict_in_repeat_rule/expected_error.txt +14 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/conflict_in_repeat_rule/grammar.json +76 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/conflict_in_repeat_rule/readme.md +1 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/conflict_in_repeat_rule_after_external_token/expected_error.txt +14 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/conflict_in_repeat_rule_after_external_token/grammar.json +82 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/conflict_in_repeat_rule_after_external_token/readme.md +1 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/conflicting_precedence/expected_error.txt +15 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/conflicting_precedence/grammar.json +58 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/dynamic_precedence/corpus.txt +25 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/dynamic_precedence/grammar.json +73 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/dynamic_precedence/readme.md +1 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/epsilon_rules/expected_error.txt +4 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/epsilon_rules/grammar.json +15 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_and_internal_anonymous_tokens/corpus.txt +41 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_and_internal_anonymous_tokens/grammar.json +35 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_and_internal_anonymous_tokens/readme.md +1 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_and_internal_anonymous_tokens/scanner.c +36 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_and_internal_tokens/corpus.txt +41 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_and_internal_tokens/grammar.json +36 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_and_internal_tokens/readme.md +1 -0
- data/ext/tree-sitter/tree-sitter/{spec/fixtures/external_scanners/shared_external_tokens.c → test/fixtures/test_grammars/external_and_internal_tokens/scanner.c} +21 -14
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_extra_tokens/corpus.txt +10 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_extra_tokens/grammar.json +25 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_extra_tokens/scanner.c +49 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_tokens/corpus.txt +22 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_tokens/grammar.json +57 -0
- data/ext/tree-sitter/tree-sitter/{spec/fixtures/external_scanners/percent_strings.c → test/fixtures/test_grammars/external_tokens/scanner.c} +19 -17
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/inline_rules/corpus.txt +20 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/inline_rules/grammar.json +76 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/inlined_aliased_rules/corpus.txt +18 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/inlined_aliased_rules/grammar.json +75 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/inlined_aliased_rules/readme.md +1 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/inverted_external_token/corpus.txt +32 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/inverted_external_token/grammar.json +55 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/inverted_external_token/readme.md +1 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/inverted_external_token/scanner.c +48 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/invisible_start_rule/expected_error.txt +1 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/invisible_start_rule/grammar.json +23 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/lexical_conflicts_due_to_state_merging/corpus.txt +33 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/lexical_conflicts_due_to_state_merging/grammar.json +65 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/lexical_conflicts_due_to_state_merging/readme.md +20 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/nested_inlined_rules/corpus.txt +12 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/nested_inlined_rules/grammar.json +54 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/nested_inlined_rules/readme.md +1 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/partially_resolved_conflict/expected_error.txt +14 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/partially_resolved_conflict/grammar.json +58 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/partially_resolved_conflict/readme.txt +1 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_single_child_missing/expected_error.txt +15 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_single_child_missing/grammar.json +63 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_single_child_missing/readme.md +15 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_single_child_negative/corpus.txt +12 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_single_child_negative/grammar.json +63 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_single_child_negative/readme.md +1 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_single_child_positive/corpus.txt +13 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_single_child_positive/grammar.json +63 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_single_child_positive/readme.md +1 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_subsequence/corpus.txt +24 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_subsequence/grammar.json +135 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/readme.md +3 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/readme_grammar/corpus.txt +13 -0
- data/{test/tree-sitter/fixtures/arithmetic → ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/readme_grammar}/grammar.json +3 -3
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/start_rule_is_blank/corpus.txt +7 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/start_rule_is_blank/grammar.json +6 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/start_rule_is_token/corpus.txt +6 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/start_rule_is_token/grammar.json +6 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/unused_rules/corpus.txt +9 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/unused_rules/grammar.json +73 -0
- data/ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/unused_rules/readme.md +1 -0
- data/ext/tree-sitter/tree-sitter/test/fuzz/README.md +43 -0
- data/ext/tree-sitter/tree-sitter/test/fuzz/fuzzer.cc +27 -0
- data/ext/tree-sitter/tree-sitter/test/fuzz/gen-dict.py +31 -0
- data/ext/tree-sitter/tree-sitter/{spec → test}/helpers/dedent.h +0 -0
- data/ext/tree-sitter/tree-sitter/{spec → test}/helpers/encoding_helpers.cc +9 -3
- data/ext/tree-sitter/tree-sitter/{spec → test}/helpers/encoding_helpers.h +0 -0
- data/ext/tree-sitter/tree-sitter/test/helpers/file_helpers.cc +100 -0
- data/ext/tree-sitter/tree-sitter/test/helpers/file_helpers.h +15 -0
- data/ext/tree-sitter/tree-sitter/test/helpers/load_language.cc +239 -0
- data/ext/tree-sitter/tree-sitter/test/helpers/load_language.h +14 -0
- data/ext/tree-sitter/tree-sitter/{spec → test}/helpers/point_helpers.cc +2 -5
- data/ext/tree-sitter/tree-sitter/{spec → test}/helpers/point_helpers.h +0 -0
- data/ext/tree-sitter/tree-sitter/test/helpers/random_helpers.cc +59 -0
- data/ext/tree-sitter/tree-sitter/test/helpers/random_helpers.h +14 -0
- data/ext/tree-sitter/tree-sitter/{spec → test}/helpers/read_test_entries.cc +38 -38
- data/ext/tree-sitter/tree-sitter/test/helpers/read_test_entries.h +22 -0
- data/ext/tree-sitter/tree-sitter/{spec → test}/helpers/record_alloc.cc +7 -13
- data/ext/tree-sitter/tree-sitter/{spec → test}/helpers/record_alloc.h +2 -2
- data/ext/tree-sitter/tree-sitter/{spec → test}/helpers/scope_sequence.cc +0 -0
- data/ext/tree-sitter/tree-sitter/{spec → test}/helpers/scope_sequence.h +0 -0
- data/ext/tree-sitter/tree-sitter/{spec → test}/helpers/spy_input.cc +39 -15
- data/ext/tree-sitter/tree-sitter/{spec → test}/helpers/spy_input.h +4 -4
- data/ext/tree-sitter/tree-sitter/{spec → test}/helpers/spy_logger.cc +0 -0
- data/ext/tree-sitter/tree-sitter/{spec → test}/helpers/spy_logger.h +0 -0
- data/ext/tree-sitter/tree-sitter/{spec → test}/helpers/stderr_logger.cc +0 -0
- data/ext/tree-sitter/tree-sitter/{spec → test}/helpers/stderr_logger.h +0 -0
- data/ext/tree-sitter/tree-sitter/test/helpers/stream_methods.cc +224 -0
- data/ext/tree-sitter/tree-sitter/{spec → test}/helpers/stream_methods.h +32 -15
- data/ext/tree-sitter/tree-sitter/test/helpers/tree_helpers.cc +99 -0
- data/ext/tree-sitter/tree-sitter/{spec → test}/helpers/tree_helpers.h +3 -1
- data/ext/tree-sitter/tree-sitter/test/integration/fuzzing-examples.cc +67 -0
- data/ext/tree-sitter/tree-sitter/test/integration/real_grammars.cc +142 -0
- data/ext/tree-sitter/tree-sitter/test/integration/test_grammars.cc +79 -0
- data/ext/tree-sitter/tree-sitter/{spec/runtime/document_spec.cc → test/runtime/document_test.cc} +150 -32
- data/ext/tree-sitter/tree-sitter/test/runtime/language_test.cc +55 -0
- data/ext/tree-sitter/tree-sitter/{spec/runtime/node_spec.cc → test/runtime/node_test.cc} +222 -127
- data/ext/tree-sitter/tree-sitter/{spec/runtime/parser_spec.cc → test/runtime/parser_test.cc} +126 -85
- data/ext/tree-sitter/tree-sitter/{spec/runtime/stack_spec.cc → test/runtime/stack_test.cc} +201 -164
- data/ext/tree-sitter/tree-sitter/test/runtime/tree_test.cc +475 -0
- data/ext/tree-sitter/tree-sitter/{spec/spec_helper.h → test/test_helper.h} +3 -3
- data/ext/tree-sitter/tree-sitter/{spec/specs.cc → test/tests.cc} +4 -3
- data/ext/tree-sitter/tree-sitter/tests.gyp +77 -23
- data/lib/tree-sitter.rb +4 -0
- data/lib/tree-sitter/node.rb +27 -0
- data/lib/tree-sitter/version.rb +3 -1
- data/test/test_helper.rb +4 -0
- data/test/tree-sitter/fixtures/parsers/python/parser.c +65600 -0
- data/test/tree-sitter/fixtures/parsers/python/scanner.cc +164 -0
- data/test/tree-sitter/test_basic.rb +2 -0
- data/test/tree-sitter/test_document.rb +101 -1
- data/test/tree-sitter/test_node.rb +73 -0
- data/tree-sitter.gemspec +4 -2
- metadata +445 -217
- data/ext/tree-sitter/tree-sitter/Makefile +0 -360
- data/ext/tree-sitter/tree-sitter/compiler.target.mk +0 -238
- data/ext/tree-sitter/tree-sitter/externals/gyp/pylintrc +0 -307
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/gyptest-fail-shared.py +0 -18
- data/ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/gyptest-fail-static.py +0 -18
- data/ext/tree-sitter/tree-sitter/gyp-mac-tool +0 -511
- data/ext/tree-sitter/tree-sitter/out/Release/libcompiler.a +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/libruntime.a +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/externals/json-parser/json.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/externals/utf8proc/utf8proc.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/build_lex_table.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/build_parse_table.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/build_tables.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/lex_conflict_manager.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/lex_item.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/lex_item_transitions.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/lookahead_set.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/parse_item.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/parse_item_set_builder.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/recovery_tokens.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/rule_can_be_blank.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/compile.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/generate_code/c_code.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/lex_table.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/parse_grammar.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/parse_table.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/precedence_range.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/expand_repeats.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/expand_tokens.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/extract_choices.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/extract_tokens.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/flatten_grammar.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/intern_symbols.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/is_token.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/normalize_rules.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/parse_regex.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/prepare_grammar.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/token_description.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rule.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/blank.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/built_in_symbols.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/character_range.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/character_set.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/choice.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/metadata.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/named_symbol.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/pattern.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/repeat.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/rules.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/seq.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/string.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/symbol.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/visitor.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/syntax_grammar.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/util/string_helpers.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/variable.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/externals/utf8proc/utf8proc.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/document.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/error_costs.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/language.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/lexer.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/node.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/parser.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/stack.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/string_input.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/tree.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/utf16.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/build_tables/distinctive_tokens_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/build_tables/lex_conflict_manager_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/build_tables/lex_item_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/build_tables/parse_item_set_builder_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/build_tables/rule_can_be_blank_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/expand_repeats_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/expand_tokens_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/extract_choices_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/extract_tokens_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/flatten_grammar_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/intern_symbols_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/parse_regex_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/rules/character_set_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/rules/choice_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/rules/repeat_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/util/string_helpers_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/encoding_helpers.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/load_language.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/point_helpers.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/random_helpers.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/read_test_entries.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/record_alloc.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/rule_helpers.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/scope_sequence.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/spy_input.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/spy_logger.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/stderr_logger.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/stream_methods.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/tree_helpers.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/integration/compile_grammar_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/integration/corpus_specs.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/runtime/document_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/runtime/node_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/runtime/parser_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/runtime/stack_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/runtime/tree_spec.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/specs.o +0 -0
- data/ext/tree-sitter/tree-sitter/out/Release/tests +0 -0
- data/ext/tree-sitter/tree-sitter/project.Makefile +0 -6
- data/ext/tree-sitter/tree-sitter/runtime.target.mk +0 -174
- data/ext/tree-sitter/tree-sitter/spec/compiler/build_tables/distinctive_tokens_spec.cc +0 -34
- data/ext/tree-sitter/tree-sitter/spec/compiler/build_tables/lex_conflict_manager_spec.cc +0 -88
- data/ext/tree-sitter/tree-sitter/spec/compiler/build_tables/parse_item_set_builder_spec.cc +0 -133
- data/ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/expand_repeats_spec.cc +0 -152
- data/ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/expand_tokens_spec.cc +0 -109
- data/ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/extract_choices_spec.cc +0 -106
- data/ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/extract_tokens_spec.cc +0 -251
- data/ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/flatten_grammar_spec.cc +0 -89
- data/ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/intern_symbols_spec.cc +0 -89
- data/ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/parse_regex_spec.cc +0 -245
- data/ext/tree-sitter/tree-sitter/spec/compiler/rules/choice_spec.cc +0 -53
- data/ext/tree-sitter/tree-sitter/spec/compiler/rules/repeat_spec.cc +0 -22
- data/ext/tree-sitter/tree-sitter/spec/fixtures/error_corpus/c_errors.txt +0 -130
- data/ext/tree-sitter/tree-sitter/spec/fixtures/error_corpus/javascript_errors.txt +0 -157
- data/ext/tree-sitter/tree-sitter/spec/fixtures/external_scanners/extra_external_tokens.c +0 -42
- data/ext/tree-sitter/tree-sitter/spec/helpers/equals_pointer.h +0 -37
- data/ext/tree-sitter/tree-sitter/spec/helpers/load_language.cc +0 -206
- data/ext/tree-sitter/tree-sitter/spec/helpers/load_language.h +0 -12
- data/ext/tree-sitter/tree-sitter/spec/helpers/random_helpers.cc +0 -35
- data/ext/tree-sitter/tree-sitter/spec/helpers/random_helpers.h +0 -8
- data/ext/tree-sitter/tree-sitter/spec/helpers/read_test_entries.h +0 -15
- data/ext/tree-sitter/tree-sitter/spec/helpers/rule_helpers.cc +0 -55
- data/ext/tree-sitter/tree-sitter/spec/helpers/rule_helpers.h +0 -21
- data/ext/tree-sitter/tree-sitter/spec/helpers/stream_methods.cc +0 -140
- data/ext/tree-sitter/tree-sitter/spec/helpers/tree_helpers.cc +0 -50
- data/ext/tree-sitter/tree-sitter/spec/integration/compile_grammar_spec.cc +0 -847
- data/ext/tree-sitter/tree-sitter/spec/integration/corpus_specs.cc +0 -185
- data/ext/tree-sitter/tree-sitter/spec/runtime/tree_spec.cc +0 -439
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/build_lex_table.cc +0 -195
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/build_lex_table.h +0 -18
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/build_parse_table.cc +0 -604
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/build_parse_table.h +0 -22
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/build_tables.cc +0 -27
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/build_tables.h +0 -24
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/conflict_type.h +0 -16
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_conflict_manager.cc +0 -55
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_conflict_manager.h +0 -31
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/recovery_tokens.cc +0 -89
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/recovery_tokens.h +0 -19
- data/ext/tree-sitter/tree-sitter/src/compiler/build_tables/remove_duplicate_states.h +0 -65
- data/ext/tree-sitter/tree-sitter/src/compiler/compile.h +0 -16
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/is_token.cc +0 -30
- data/ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/is_token.h +0 -14
- data/ext/tree-sitter/tree-sitter/src/compiler/rules.h +0 -28
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/blank.cc +0 -36
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/built_in_symbols.cc +0 -19
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/built_in_symbols.h +0 -16
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/character_range.cc +0 -36
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/character_range.h +0 -25
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/named_symbol.cc +0 -35
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/pattern.cc +0 -36
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/rules.cc +0 -108
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/string.cc +0 -35
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/symbol.cc +0 -82
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/visitor.cc +0 -44
- data/ext/tree-sitter/tree-sitter/src/compiler/rules/visitor.h +0 -234
- data/ext/tree-sitter/tree-sitter/src/compiler/variable.cc +0 -11
- data/ext/tree-sitter/tree-sitter/src/compiler/variable.h +0 -27
- data/ext/tree-sitter/tree-sitter/src/runtime/error_costs.c +0 -28
- data/ext/tree-sitter/tree-sitter/src/runtime/tree_path.h +0 -217
- data/ext/tree-sitter/tree-sitter/tests.Makefile +0 -6
- data/ext/tree-sitter/tree-sitter/tests.target.mk +0 -176
- data/test/tree-sitter/fixtures/ruby/grammar.json +0 -4803
- data/test/tree-sitter/test_grammar.rb +0 -34
@@ -0,0 +1,164 @@
|
|
1
|
+
#include <tree_sitter/parser.h>
|
2
|
+
#include <vector>
|
3
|
+
|
4
|
+
namespace {
|
5
|
+
|
6
|
+
using std::vector;
|
7
|
+
|
8
|
+
enum TokenType {
|
9
|
+
NEWLINE,
|
10
|
+
INDENT,
|
11
|
+
DEDENT,
|
12
|
+
};
|
13
|
+
|
14
|
+
struct Scanner {
|
15
|
+
Scanner() {
|
16
|
+
deserialize(NULL, 0);
|
17
|
+
}
|
18
|
+
|
19
|
+
unsigned serialize(char *buffer) {
|
20
|
+
size_t i = 0;
|
21
|
+
buffer[i++] = queued_dedent_count;
|
22
|
+
|
23
|
+
vector<uint16_t>::iterator
|
24
|
+
iter = indent_length_stack.begin() + 1,
|
25
|
+
end = indent_length_stack.end();
|
26
|
+
for (; iter != end && i < TREE_SITTER_SERIALIZATION_BUFFER_SIZE; ++iter) {
|
27
|
+
buffer[i++] = *iter;
|
28
|
+
}
|
29
|
+
|
30
|
+
return i;
|
31
|
+
}
|
32
|
+
|
33
|
+
void deserialize(const char *buffer, unsigned length) {
|
34
|
+
queued_dedent_count = 0;
|
35
|
+
indent_length_stack.clear();
|
36
|
+
indent_length_stack.push_back(0);
|
37
|
+
|
38
|
+
if (length > 0) {
|
39
|
+
size_t i = 0;
|
40
|
+
queued_dedent_count = buffer[i++];
|
41
|
+
while (i < length) indent_length_stack.push_back(buffer[i++]);
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
void advance(TSLexer *lexer) {
|
46
|
+
lexer->advance(lexer, false);
|
47
|
+
}
|
48
|
+
|
49
|
+
bool scan(TSLexer *lexer, const bool *valid_symbols) {
|
50
|
+
if (valid_symbols[DEDENT] && queued_dedent_count > 0) {
|
51
|
+
queued_dedent_count--;
|
52
|
+
lexer->result_symbol = DEDENT;
|
53
|
+
return true;
|
54
|
+
}
|
55
|
+
|
56
|
+
while (lexer->lookahead == ' ' || lexer->lookahead == '\t' || lexer->lookahead == '\r') {
|
57
|
+
lexer->advance(lexer, true);
|
58
|
+
}
|
59
|
+
|
60
|
+
if (lexer->lookahead == 0) {
|
61
|
+
if (valid_symbols[DEDENT] && indent_length_stack.size() > 1) {
|
62
|
+
indent_length_stack.pop_back();
|
63
|
+
lexer->result_symbol = DEDENT;
|
64
|
+
return true;
|
65
|
+
}
|
66
|
+
|
67
|
+
if (valid_symbols[NEWLINE]) {
|
68
|
+
lexer->result_symbol = NEWLINE;
|
69
|
+
return true;
|
70
|
+
}
|
71
|
+
|
72
|
+
return false;
|
73
|
+
}
|
74
|
+
|
75
|
+
if (lexer->lookahead != '\n') return false;
|
76
|
+
advance(lexer);
|
77
|
+
lexer->mark_end(lexer);
|
78
|
+
|
79
|
+
bool next_token_is_comment = false;
|
80
|
+
uint32_t indent_length = 0;
|
81
|
+
for (;;) {
|
82
|
+
if (lexer->lookahead == '\n') {
|
83
|
+
indent_length = 0;
|
84
|
+
advance(lexer);
|
85
|
+
} else if (lexer->lookahead == ' ') {
|
86
|
+
indent_length++;
|
87
|
+
advance(lexer);
|
88
|
+
} else if (lexer->lookahead == '\r') {
|
89
|
+
indent_length = 0;
|
90
|
+
advance(lexer);
|
91
|
+
} else if (lexer->lookahead == '\t') {
|
92
|
+
indent_length += 8;
|
93
|
+
advance(lexer);
|
94
|
+
} else {
|
95
|
+
next_token_is_comment = lexer->lookahead == '#';
|
96
|
+
break;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
if (!next_token_is_comment) {
|
101
|
+
if (indent_length > indent_length_stack.back()) {
|
102
|
+
indent_length_stack.push_back(indent_length);
|
103
|
+
lexer->result_symbol = INDENT;
|
104
|
+
return true;
|
105
|
+
}
|
106
|
+
|
107
|
+
if (indent_length < indent_length_stack.back()) {
|
108
|
+
indent_length_stack.pop_back();
|
109
|
+
while (indent_length < indent_length_stack.back()) {
|
110
|
+
indent_length_stack.pop_back();
|
111
|
+
queued_dedent_count++;
|
112
|
+
}
|
113
|
+
|
114
|
+
if (valid_symbols[DEDENT]) {
|
115
|
+
lexer->result_symbol = DEDENT;
|
116
|
+
return true;
|
117
|
+
} else {
|
118
|
+
queued_dedent_count++;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
if (valid_symbols[NEWLINE]) {
|
124
|
+
lexer->result_symbol = NEWLINE;
|
125
|
+
return true;
|
126
|
+
}
|
127
|
+
|
128
|
+
return false;
|
129
|
+
}
|
130
|
+
|
131
|
+
vector<uint16_t> indent_length_stack;
|
132
|
+
uint32_t queued_dedent_count;
|
133
|
+
};
|
134
|
+
|
135
|
+
}
|
136
|
+
|
137
|
+
extern "C" {
|
138
|
+
|
139
|
+
void *tree_sitter_python_external_scanner_create() {
|
140
|
+
return new Scanner();
|
141
|
+
}
|
142
|
+
|
143
|
+
bool tree_sitter_python_external_scanner_scan(void *payload, TSLexer *lexer,
|
144
|
+
const bool *valid_symbols) {
|
145
|
+
Scanner *scanner = static_cast<Scanner *>(payload);
|
146
|
+
return scanner->scan(lexer, valid_symbols);
|
147
|
+
}
|
148
|
+
|
149
|
+
unsigned tree_sitter_python_external_scanner_serialize(void *payload, char *buffer) {
|
150
|
+
Scanner *scanner = static_cast<Scanner *>(payload);
|
151
|
+
return scanner->serialize(buffer);
|
152
|
+
}
|
153
|
+
|
154
|
+
void tree_sitter_python_external_scanner_deserialize(void *payload, const char *buffer, unsigned length) {
|
155
|
+
Scanner *scanner = static_cast<Scanner *>(payload);
|
156
|
+
scanner->deserialize(buffer, length);
|
157
|
+
}
|
158
|
+
|
159
|
+
void tree_sitter_python_external_scanner_destroy(void *payload) {
|
160
|
+
Scanner *scanner = static_cast<Scanner *>(payload);
|
161
|
+
delete scanner;
|
162
|
+
}
|
163
|
+
|
164
|
+
}
|
@@ -1,7 +1,107 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'test_helper'
|
2
4
|
|
3
5
|
class TreeSitter::DocumentTest < Minitest::Test
|
4
6
|
def test_that_it_creates_documents
|
5
|
-
|
7
|
+
document = TreeSitter::Document.new('a + b * 5', language: 'tree_sitter_python')
|
8
|
+
|
9
|
+
assert document
|
10
|
+
end
|
11
|
+
|
12
|
+
def test_that_it_requires_language_key
|
13
|
+
assert_raises TypeError do
|
14
|
+
TreeSitter::Document.new('a + b * 5', {})
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
def test_that_it_does_not_accept_non_string_inputs
|
19
|
+
assert_raises TypeError do
|
20
|
+
TreeSitter::Document.new(123, language: 'tree_sitter_python')
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_that_it_does_not_accept_non_string_languages
|
25
|
+
assert_raises TypeError do
|
26
|
+
TreeSitter::Document.new('a + b * 5', language: 123)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
def test_that_it_accepts_string_languages
|
31
|
+
document = TreeSitter::Document.new('a + b * 5', language: 'tree_sitter_python')
|
32
|
+
document.language = 'tree_sitter_python'
|
33
|
+
|
34
|
+
assert_raises TypeError do
|
35
|
+
document.language = 123
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
def test_that_unknown_languages_error
|
40
|
+
assert_raises TreeSitter::DocumentError do
|
41
|
+
TreeSitter::Document.new('a + b * 5', language: 'tree_sitter_blah')
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
def test_that_it_accepts_string_inputs
|
46
|
+
document = TreeSitter::Document.new('a + b * 5', language: 'tree_sitter_python')
|
47
|
+
document.input_string = 'b * 10'
|
48
|
+
|
49
|
+
assert_raises TypeError do
|
50
|
+
document.input_string = 123
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
def test_that_it_parses_valid_input
|
55
|
+
python = <<~PYTHON
|
56
|
+
def first_function(arg):
|
57
|
+
bubbles
|
58
|
+
def second_function(arg):
|
59
|
+
"""
|
60
|
+
a long
|
61
|
+
string
|
62
|
+
"""
|
63
|
+
|
64
|
+
first_function(
|
65
|
+
arg=(1, 2, 3)
|
66
|
+
)
|
67
|
+
PYTHON
|
68
|
+
document = TreeSitter::Document.new(python, language: 'tree_sitter_python')
|
69
|
+
|
70
|
+
tree = <<~TREE.gsub(/\s+/m, ' ').strip
|
71
|
+
(module
|
72
|
+
(function_definition
|
73
|
+
(identifier)
|
74
|
+
(parameters (identifier))
|
75
|
+
(expression_statement (identifier)))
|
76
|
+
(function_definition
|
77
|
+
(identifier)
|
78
|
+
(parameters (identifier))
|
79
|
+
(expression_statement (string)))
|
80
|
+
(expression_statement
|
81
|
+
(call
|
82
|
+
(identifier)
|
83
|
+
(argument_list
|
84
|
+
(keyword_argument
|
85
|
+
(identifier)
|
86
|
+
(tuple
|
87
|
+
(integer)
|
88
|
+
(integer)
|
89
|
+
(integer)))))))
|
90
|
+
TREE
|
91
|
+
assert_equal tree, document.root_node.to_s
|
92
|
+
|
93
|
+
document.input_string = 'a + b * 5'
|
94
|
+
document.parse
|
95
|
+
|
96
|
+
tree = <<~TREE.gsub(/\s+/m, ' ').strip
|
97
|
+
(module
|
98
|
+
(expression_statement
|
99
|
+
(binary_operator
|
100
|
+
(identifier)
|
101
|
+
(binary_operator
|
102
|
+
(identifier)
|
103
|
+
(integer)))))
|
104
|
+
TREE
|
105
|
+
assert_equal tree, document.root_node.to_s
|
6
106
|
end
|
7
107
|
end
|
@@ -0,0 +1,73 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'test_helper'
|
4
|
+
|
5
|
+
class TreeSitter::NodeTest < Minitest::Test
|
6
|
+
def setup
|
7
|
+
@python = <<~PYTHON
|
8
|
+
def first_function(arg):
|
9
|
+
bubbles
|
10
|
+
def second_function(arg):
|
11
|
+
"""
|
12
|
+
a long
|
13
|
+
string
|
14
|
+
"""
|
15
|
+
|
16
|
+
first_function(
|
17
|
+
arg=(1, 2, 3)
|
18
|
+
)
|
19
|
+
PYTHON
|
20
|
+
@document = TreeSitter::Document.new(@python, language: 'tree_sitter_python')
|
21
|
+
end
|
22
|
+
|
23
|
+
def test_gets_node_type
|
24
|
+
assert_equal 'module', @document.root_node.node_type
|
25
|
+
end
|
26
|
+
|
27
|
+
def test_gets_children
|
28
|
+
assert_equal 3, @document.root_node.named_child_count
|
29
|
+
assert_equal 3, @document.root_node.named_children.count
|
30
|
+
assert_equal [
|
31
|
+
'function_definition',
|
32
|
+
'function_definition',
|
33
|
+
'expression_statement',
|
34
|
+
], @document.root_node.children.map(&:node_type)
|
35
|
+
end
|
36
|
+
|
37
|
+
def test_gets_children_node_type
|
38
|
+
first_function = @document.root_node.children[0]
|
39
|
+
|
40
|
+
assert_equal 5, first_function.child_count
|
41
|
+
assert_equal 5, first_function.children.count
|
42
|
+
|
43
|
+
assert_equal 3, first_function.named_child_count
|
44
|
+
assert_equal 3, first_function.named_children.count
|
45
|
+
|
46
|
+
assert_equal [
|
47
|
+
'identifier',
|
48
|
+
'parameters',
|
49
|
+
'expression_statement',
|
50
|
+
], first_function.named_children.map(&:node_type)
|
51
|
+
end
|
52
|
+
|
53
|
+
def test_gets_node_text
|
54
|
+
first_function = @document.root_node.children[0]
|
55
|
+
|
56
|
+
assert_equal 'first_function', first_function
|
57
|
+
.named_children[0].text(@python)
|
58
|
+
|
59
|
+
assert_equal 'arg', first_function
|
60
|
+
.named_children[1].named_children[0].text(@python)
|
61
|
+
|
62
|
+
assert_equal 'bubbles', first_function
|
63
|
+
.named_children[2].named_children[0].text(@python)
|
64
|
+
|
65
|
+
second_function = @document.root_node.children[1]
|
66
|
+
|
67
|
+
assert_equal "a long\nstring", second_function
|
68
|
+
.named_children[2].named_children[0].text(@python).gsub('"', '').strip
|
69
|
+
|
70
|
+
function_call = @document.root_node.children[2].children[0]
|
71
|
+
assert_equal 'first_function', function_call.children[0].text(@python)
|
72
|
+
end
|
73
|
+
end
|
data/tree-sitter.gemspec
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
#
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
2
3
|
lib = File.expand_path('../lib', __FILE__)
|
3
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
5
|
require 'tree-sitter/version'
|
@@ -26,8 +27,9 @@ Gem::Specification.new do |spec|
|
|
26
27
|
spec.add_development_dependency 'bundler', '~> 1.14'
|
27
28
|
spec.add_development_dependency 'minitest', '~> 5.0'
|
28
29
|
spec.add_development_dependency 'minitest-focus', '~> 1.1'
|
29
|
-
spec.add_development_dependency 'pry', '~>
|
30
|
+
spec.add_development_dependency 'pry-byebug', '~> 3.6'
|
30
31
|
spec.add_development_dependency 'rake', '~> 12.0'
|
31
32
|
spec.add_development_dependency 'rake-compiler', '~> 0.9'
|
33
|
+
spec.add_development_dependency 'rubocop'
|
32
34
|
spec.add_development_dependency 'rubocop-github'
|
33
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tree-sitter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garen Torikian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: awesome_print
|
@@ -67,19 +67,19 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '1.1'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name: pry
|
70
|
+
name: pry-byebug
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: '3.6'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: '3.6'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,6 +108,20 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0.9'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubocop
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: rubocop-github
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -133,13 +147,40 @@ files:
|
|
133
147
|
- LICENSE.txt
|
134
148
|
- README.md
|
135
149
|
- Rakefile
|
150
|
+
- ext/tree-sitter/Makefile
|
151
|
+
- ext/tree-sitter/document.c
|
152
|
+
- ext/tree-sitter/document.h
|
136
153
|
- ext/tree-sitter/extconf.rb
|
154
|
+
- ext/tree-sitter/node.c
|
155
|
+
- ext/tree-sitter/node.h
|
156
|
+
- ext/tree-sitter/out/document.o
|
157
|
+
- ext/tree-sitter/out/get_changed_ranges.o
|
158
|
+
- ext/tree-sitter/out/language.o
|
159
|
+
- ext/tree-sitter/out/lexer.o
|
160
|
+
- ext/tree-sitter/out/libruntime.a
|
161
|
+
- ext/tree-sitter/out/node.o
|
162
|
+
- ext/tree-sitter/out/parser.o
|
163
|
+
- ext/tree-sitter/out/python/parser.c
|
164
|
+
- ext/tree-sitter/out/python/parser.o
|
165
|
+
- ext/tree-sitter/out/python/scanner.cc
|
166
|
+
- ext/tree-sitter/out/python/scanner.o
|
167
|
+
- ext/tree-sitter/out/stack.o
|
168
|
+
- ext/tree-sitter/out/string_input.o
|
169
|
+
- ext/tree-sitter/out/tree.o
|
170
|
+
- ext/tree-sitter/out/utf16.o
|
171
|
+
- ext/tree-sitter/out/utf8proc.o
|
137
172
|
- ext/tree-sitter/tree-sitter.c
|
138
173
|
- ext/tree-sitter/tree-sitter.h
|
139
|
-
- ext/tree-sitter/tree-sitter/
|
174
|
+
- ext/tree-sitter/tree-sitter/LICENSE
|
140
175
|
- ext/tree-sitter/tree-sitter/README.md
|
141
|
-
- ext/tree-sitter/tree-sitter/
|
142
|
-
- ext/tree-sitter/tree-sitter/
|
176
|
+
- ext/tree-sitter/tree-sitter/appveyor.yml
|
177
|
+
- ext/tree-sitter/tree-sitter/docs/Gemfile
|
178
|
+
- ext/tree-sitter/tree-sitter/docs/Gemfile.lock
|
179
|
+
- ext/tree-sitter/tree-sitter/docs/_config.yml
|
180
|
+
- ext/tree-sitter/tree-sitter/docs/_layouts/table-of-contents.html
|
181
|
+
- ext/tree-sitter/tree-sitter/docs/creating-parsers.md
|
182
|
+
- ext/tree-sitter/tree-sitter/docs/css/style.css
|
183
|
+
- ext/tree-sitter/tree-sitter/docs/index.md
|
143
184
|
- ext/tree-sitter/tree-sitter/externals/bandit/CMakeLists.txt
|
144
185
|
- ext/tree-sitter/tree-sitter/externals/bandit/LICENSE.md
|
145
186
|
- ext/tree-sitter/tree-sitter/externals/bandit/README.md
|
@@ -330,6 +371,7 @@ files:
|
|
330
371
|
- ext/tree-sitter/tree-sitter/externals/gyp/LICENSE
|
331
372
|
- ext/tree-sitter/tree-sitter/externals/gyp/OWNERS
|
332
373
|
- ext/tree-sitter/tree-sitter/externals/gyp/PRESUBMIT.py
|
374
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/buildbot/aosp_manifest.xml
|
333
375
|
- ext/tree-sitter/tree-sitter/externals/gyp/buildbot/buildbot_run.py
|
334
376
|
- ext/tree-sitter/tree-sitter/externals/gyp/codereview.settings
|
335
377
|
- ext/tree-sitter/tree-sitter/externals/gyp/data/win/large-pdb-shim.cc
|
@@ -355,6 +397,7 @@ files:
|
|
355
397
|
- ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/flock_tool.py
|
356
398
|
- ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/__init__.py
|
357
399
|
- ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/__init__.pyc
|
400
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/analyzer.py
|
358
401
|
- ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/android.py
|
359
402
|
- ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/cmake.py
|
360
403
|
- ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/generator/dump_dependency_json.py
|
@@ -377,19 +420,23 @@ files:
|
|
377
420
|
- ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/msvs_emulation.py
|
378
421
|
- ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/ninja_syntax.py
|
379
422
|
- ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/ordered_dict.py
|
423
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/simple_copy.py
|
380
424
|
- ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/win_tool.py
|
381
425
|
- ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/xcode_emulation.py
|
382
426
|
- ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/xcode_emulation.pyc
|
427
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/xcode_ninja.py
|
383
428
|
- ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/xcodeproj_file.py
|
384
429
|
- ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/xcodeproj_file.pyc
|
385
430
|
- ext/tree-sitter/tree-sitter/externals/gyp/pylib/gyp/xml_fix.py
|
386
|
-
- ext/tree-sitter/tree-sitter/externals/gyp/pylintrc
|
387
431
|
- ext/tree-sitter/tree-sitter/externals/gyp/samples/samples
|
388
432
|
- ext/tree-sitter/tree-sitter/externals/gyp/samples/samples.bat
|
389
433
|
- ext/tree-sitter/tree-sitter/externals/gyp/setup.py
|
390
434
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/actions-bare/gyptest-bare.py
|
391
435
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/actions-bare/src/bare.gyp
|
392
436
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/actions-bare/src/bare.py
|
437
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/actions-depfile/depfile.gyp
|
438
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/actions-depfile/gyptest-all.py
|
439
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/actions-depfile/input.txt
|
393
440
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/actions-multiple/gyptest-all.py
|
394
441
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/actions-multiple/src/actions.gyp
|
395
442
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/actions-multiple/src/copy.py
|
@@ -430,6 +477,36 @@ files:
|
|
430
477
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/additional-targets/src/dir1/actions.gyp
|
431
478
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/additional-targets/src/dir1/emit.py
|
432
479
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/additional-targets/src/dir1/lib1.c
|
480
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/common.gypi
|
481
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/gyptest-analyzer.py
|
482
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/subdir/subdir.gyp
|
483
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/subdir/subdir2/subdir2.gyp
|
484
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/subdir2/subdir.gyp
|
485
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/subdir2/subdir.includes.gypi
|
486
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/test.gyp
|
487
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/test2.gyp
|
488
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/test2.includes.gypi
|
489
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/test2.includes.includes.gypi
|
490
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/test2.toplevel_includes.gypi
|
491
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/test3.gyp
|
492
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/test4.gyp
|
493
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/analyzer/test5.gyp
|
494
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/android/32or64.c
|
495
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/android/file.in
|
496
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/android/gyptest-host-multilib.py
|
497
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/android/gyptest-make-functions.py
|
498
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/android/gyptest-noalias.py
|
499
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/android/gyptest-settings-list.py
|
500
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/android/gyptest-settings.py
|
501
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/android/gyptest-space-filenames.py
|
502
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/android/hello.c
|
503
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/android/hello.gyp
|
504
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/android/host_32or64.gyp
|
505
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/android/make_functions.gyp
|
506
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/android/settings-list.gyp
|
507
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/android/settings.gyp
|
508
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/android/space_filenames.gyp
|
509
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/android/writefile.c
|
433
510
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/assembly/gyptest-assembly.py
|
434
511
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/assembly/gyptest-override.py
|
435
512
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/assembly/src/as.bat
|
@@ -468,21 +545,35 @@ files:
|
|
468
545
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/compilable/src/lib1.cpp
|
469
546
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/compilable/src/lib1.hpp
|
470
547
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/compilable/src/program.cpp
|
548
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/compiler-exe.gyp
|
471
549
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/compiler-global-settings.gyp.in
|
472
550
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/compiler-host.gyp
|
473
|
-
- ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/compiler.gyp
|
551
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/compiler-shared-lib.gyp
|
474
552
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/cxxtest.cc
|
553
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/gyptest-compiler-env-toolchain.py
|
475
554
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/gyptest-compiler-env.py
|
476
555
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/gyptest-compiler-global-settings.py
|
477
556
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/my_cc.py
|
478
557
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/my_cxx.py
|
479
558
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/my_ld.py
|
559
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/my_nm.py
|
560
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/my_readelf.py
|
480
561
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/compiler-override/test.c
|
562
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/conditions/elseif/elseif.gyp
|
563
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/conditions/elseif/elseif_bad1.gyp
|
564
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/conditions/elseif/elseif_bad2.gyp
|
565
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/conditions/elseif/elseif_bad3.gyp
|
566
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/conditions/elseif/elseif_conditions.gypi
|
567
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/conditions/elseif/gyptest_elseif.py
|
568
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/conditions/elseif/program.cc
|
481
569
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/basics/configurations.c
|
482
570
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/basics/configurations.gyp
|
483
571
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/basics/gyptest-configurations.py
|
484
572
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/inheritance/configurations.c
|
485
573
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/inheritance/configurations.gyp
|
574
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/inheritance/duplicates.gyp
|
575
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/inheritance/duplicates.gypd.golden
|
576
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/inheritance/gyptest-duplicates.py
|
486
577
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/inheritance/gyptest-inheritance.py
|
487
578
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/invalid/actions.gyp
|
488
579
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/configurations/invalid/all_dependent_settings.gyp
|
@@ -564,10 +655,14 @@ files:
|
|
564
655
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/dependency-copy/src/copies.gyp
|
565
656
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/dependency-copy/src/file1.c
|
566
657
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/dependency-copy/src/file2.c
|
567
|
-
- ext/tree-sitter/tree-sitter/externals/gyp/test/
|
658
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/empty-target/empty-target.gyp
|
659
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/empty-target/gyptest-empty-target.py
|
660
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/errors/dependency_cycle.gyp
|
568
661
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/errors/duplicate_node.gyp
|
569
662
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/errors/duplicate_rule.gyp
|
570
663
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/errors/duplicate_targets.gyp
|
664
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/errors/file_cycle0.gyp
|
665
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/errors/file_cycle1.gyp
|
571
666
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/errors/gyptest-errors.py
|
572
667
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/errors/missing_dep.gyp
|
573
668
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/errors/missing_targets.gyp
|
@@ -712,24 +807,72 @@ files:
|
|
712
807
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/English.lproj/InfoPlist.strings
|
713
808
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/English.lproj/MainMenu.xib
|
714
809
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/English.lproj/Main_iPhone.storyboard
|
810
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/Images.xcassets/AppIcon.appiconset/Contents.json
|
811
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/Images.xcassets/image.imageset/Contents.json
|
812
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/Images.xcassets/image.imageset/super_sylvain.png
|
813
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/Images.xcassets/image.imageset/super_sylvain@2x.png
|
814
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/Images.xcassets/image.imageset/super_sylvain@3x.png
|
715
815
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/TestApp-Info.plist
|
716
816
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/check_no_signature.py
|
717
817
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/main.m
|
718
818
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/only-compile-in-32-bits.m
|
719
819
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/TestApp/only-compile-in-64-bits.m
|
720
820
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/test-archs.gyp
|
821
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/test-assets-catalog.gyp
|
822
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/test-crosscompile.gyp
|
721
823
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/test-device.gyp
|
722
824
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/test.gyp
|
825
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/app-bundle/tool_main.cc
|
723
826
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/deployment-target/check-version-min.c
|
724
827
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/deployment-target/deployment-target.gyp
|
828
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ActionExtension/ActionViewController.h
|
829
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ActionExtension/ActionViewController.m
|
830
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ActionExtension/Info.plist
|
831
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ActionExtension/MainInterface.storyboard
|
832
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ExtensionContainer/AppDelegate.h
|
833
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ExtensionContainer/AppDelegate.m
|
834
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ExtensionContainer/Base.lproj/Main.storyboard
|
835
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ExtensionContainer/Images.xcassets/AppIcon.appiconset/Contents.json
|
836
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ExtensionContainer/Images.xcassets/LaunchImage.launchimage/Contents.json
|
837
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ExtensionContainer/Info.plist
|
838
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ExtensionContainer/ViewController.h
|
839
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ExtensionContainer/ViewController.m
|
840
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/ExtensionContainer/main.m
|
841
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/extension/extension.gyp
|
842
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-app-ios-assets-catalog.py
|
725
843
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-app-ios.py
|
726
844
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-archs.py
|
845
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-crosscompile.py
|
727
846
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-deployment-target.py
|
847
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-extension.py
|
728
848
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-per-config-settings.py
|
849
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-watch.py
|
850
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-xcode-ninja.py
|
851
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchApp/Images.xcassets/AppIcon.appiconset/Contents.json
|
852
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchApp/Images.xcassets/LaunchImage.launchimage/Contents.json
|
853
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchApp/Info.plist
|
854
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchApp/Interface.storyboard
|
855
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchContainer/AppDelegate.h
|
856
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchContainer/AppDelegate.m
|
857
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchContainer/Base.lproj/Main.storyboard
|
858
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchContainer/Images.xcassets/AppIcon.appiconset/Contents.json
|
859
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchContainer/Images.xcassets/LaunchImage.launchimage/Contents.json
|
860
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchContainer/Info.plist
|
861
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchContainer/ViewController.h
|
862
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchContainer/ViewController.m
|
863
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchContainer/main.m
|
864
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchKitExtension/Images.xcassets/MyImage.imageset/Contents.json
|
865
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchKitExtension/Info.plist
|
866
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchKitExtension/InterfaceController.h
|
867
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchKitExtension/InterfaceController.m
|
868
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/WatchKitExtension/MainInterface.storyboard
|
869
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ios/watch/watch.gyp
|
729
870
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/lib/README.txt
|
730
871
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/lib/TestCmd.py
|
731
872
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/lib/TestCommon.py
|
732
873
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/lib/TestGyp.py
|
874
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/lib/TestMac.py
|
875
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/lib/TestWin.py
|
733
876
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/library/gyptest-shared-obj-install-path.py
|
734
877
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/library/gyptest-shared.py
|
735
878
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/library/gyptest-static.py
|
@@ -747,6 +890,10 @@ files:
|
|
747
890
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/library_dirs/subdir/mylib.h
|
748
891
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/library_dirs/subdir/test-win.gyp
|
749
892
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/library_dirs/subdir/test.gyp
|
893
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/link-dependency/gyptest-link-dependency.py
|
894
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/link-dependency/main.c
|
895
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/link-dependency/mymalloc.c
|
896
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/link-dependency/test.gyp
|
750
897
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/link-objects/base.c
|
751
898
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/link-objects/extra.c
|
752
899
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/link-objects/gyptest-all.py
|
@@ -762,21 +909,35 @@ files:
|
|
762
909
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/English.lproj/MainMenu.xib
|
763
910
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/English.lproj/utf-16be.strings
|
764
911
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/English.lproj/utf-16le.strings
|
912
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/Images.xcassets/AppIcon.appiconset/Contents.json
|
913
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/Images.xcassets/image.imageset/Contents.json
|
914
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/Images.xcassets/image.imageset/super_sylvain.png
|
915
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/Images.xcassets/image.imageset/super_sylvain@2x.png
|
916
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/Images.xcassets/image.imageset/super_sylvain@3x.png
|
765
917
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/TestApp-Info.plist
|
766
918
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/TestAppAppDelegate.h
|
767
919
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/TestAppAppDelegate.m
|
768
920
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/TestApp/main.m
|
769
921
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/empty.c
|
922
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/test-assets-catalog.gyp
|
770
923
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/test-error.gyp
|
771
924
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/app-bundle/test.gyp
|
772
925
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/empty_main.cc
|
773
926
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/file.mm
|
927
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/file_a.cc
|
928
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/file_a.h
|
929
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/file_b.cc
|
930
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/file_b.h
|
931
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/file_c.cc
|
932
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/file_d.cc
|
774
933
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/header.h
|
775
934
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/my_file.cc
|
776
935
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/my_main_file.cc
|
777
936
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/test-archs-multiarch.gyp
|
778
937
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/test-archs-x86_64.gyp
|
938
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/test-dependencies.gyp
|
779
939
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/test-no-archs.gyp
|
940
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/archs/test-valid-archs.gyp
|
780
941
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/bundle-resources/change.sh
|
781
942
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/bundle-resources/executable-file.sh
|
782
943
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/bundle-resources/secret.txt
|
@@ -826,6 +987,7 @@ files:
|
|
826
987
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/global-settings/src/dir2/dir2.gyp
|
827
988
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/global-settings/src/dir2/file.txt
|
828
989
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-action-envvars.py
|
990
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-app-assets-catalog.py
|
829
991
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-app-error.py
|
830
992
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-app.py
|
831
993
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-archs.py
|
@@ -847,6 +1009,8 @@ files:
|
|
847
1009
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-ldflags-passed-to-libtool.py
|
848
1010
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-ldflags.py
|
849
1011
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-libraries.py
|
1012
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-libtool-zero.py
|
1013
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-loadable-module-bundle-product-extension.py
|
850
1014
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-loadable-module.py
|
851
1015
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-missing-cfbundlesignature.py
|
852
1016
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-non-strs-flattened-to-env.py
|
@@ -865,11 +1029,13 @@ files:
|
|
865
1029
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-sourceless-module.py
|
866
1030
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-strip-default.py
|
867
1031
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-strip.py
|
1032
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-swift-library.py
|
868
1033
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-type-envvars.py
|
869
1034
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-unicode-settings.py
|
870
1035
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-xcode-env-order.py
|
871
1036
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-xcode-gcc-clang.py
|
872
1037
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-xcode-gcc.py
|
1038
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-xcode-support-actions.py
|
873
1039
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-xctest.py
|
874
1040
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/infoplist-process/Info.plist
|
875
1041
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/infoplist-process/main.c
|
@@ -890,6 +1056,10 @@ files:
|
|
890
1056
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/libraries/subdir/hello.cc
|
891
1057
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/libraries/subdir/mylib.c
|
892
1058
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/libraries/subdir/test.gyp
|
1059
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/libtool-zero/mylib.c
|
1060
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/libtool-zero/test.gyp
|
1061
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/loadable-module-bundle-product-extension/src.cc
|
1062
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/loadable-module-bundle-product-extension/test.gyp
|
893
1063
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/loadable-module/Info.plist
|
894
1064
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/loadable-module/module.c
|
895
1065
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/loadable-module/test.gyp
|
@@ -976,11 +1146,15 @@ files:
|
|
976
1146
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/strip/subdirectory/test_reading_save_file_from_postbuild.sh
|
977
1147
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/strip/test-defaults.gyp
|
978
1148
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/strip/test.gyp
|
1149
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/swift-library/Info.plist
|
1150
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/swift-library/file.swift
|
1151
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/swift-library/test.gyp
|
979
1152
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/file.c
|
980
1153
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test.gyp
|
981
1154
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_bundle_executable.sh
|
982
1155
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_bundle_loadable_module.sh
|
983
1156
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_bundle_shared_library.sh
|
1157
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_check_sdkroot.sh
|
984
1158
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_nonbundle_executable.sh
|
985
1159
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_nonbundle_loadable_module.sh
|
986
1160
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/type_envvars/test_nonbundle_none.sh
|
@@ -1004,6 +1178,8 @@ files:
|
|
1004
1178
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-gcc/valid_mm.mm
|
1005
1179
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-gcc/warn_about_invalid_offsetof_macro.cc
|
1006
1180
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-gcc/warn_about_missing_newline.c
|
1181
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-support-actions/source.c
|
1182
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xcode-support-actions/test.gyp
|
1007
1183
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xctest/MyClass.h
|
1008
1184
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xctest/MyClass.m
|
1009
1185
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/mac/xctest/TestCase.m
|
@@ -1020,10 +1196,20 @@ files:
|
|
1020
1196
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/make/noload/lib/shared.gyp
|
1021
1197
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/make/noload/lib/shared.h
|
1022
1198
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/make/noload/main.c
|
1199
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/ar/gyptest-make_global_settings_ar.py
|
1200
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/ar/make_global_settings_ar.gyp
|
1023
1201
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/basics/gyptest-make_global_settings.py
|
1024
1202
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/basics/make_global_settings.gyp
|
1025
1203
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/env-wrapper/gyptest-wrapper.py
|
1026
1204
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/env-wrapper/wrapper.gyp
|
1205
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/full-toolchain/bar.cc
|
1206
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/full-toolchain/foo.c
|
1207
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/full-toolchain/gyptest-make_global_settings.py
|
1208
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/full-toolchain/make_global_settings.gyp
|
1209
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/full-toolchain/my_nm.py
|
1210
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/full-toolchain/my_readelf.py
|
1211
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/ld/gyptest-make_global_settings_ld.py
|
1212
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/ld/make_global_settings_ld.gyp
|
1027
1213
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/wrapper/gyptest-wrapper.py
|
1028
1214
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/make_global_settings/wrapper/wrapper.gyp
|
1029
1215
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/many-actions/file0
|
@@ -1066,6 +1252,10 @@ files:
|
|
1066
1252
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/list_excluded/hello_mac.cpp
|
1067
1253
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/missing_sources/gyptest-missing.py
|
1068
1254
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/missing_sources/hello_missing.gyp
|
1255
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/multiple_actions_error_handling/action_fail.py
|
1256
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/multiple_actions_error_handling/action_succeed.py
|
1257
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/multiple_actions_error_handling/actions.gyp
|
1258
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/multiple_actions_error_handling/gyptest.py
|
1069
1259
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/props/AppName.props
|
1070
1260
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/props/AppName.vsprops
|
1071
1261
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/msvs/props/gyptest-props.py
|
@@ -1087,6 +1277,9 @@ files:
|
|
1087
1277
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/multiple-targets/src/multiple.gyp
|
1088
1278
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/multiple-targets/src/prog1.c
|
1089
1279
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/multiple-targets/src/prog2.c
|
1280
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/action-rule-hash/gyptest-action-rule-hash.py
|
1281
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/action-rule-hash/subdir/action-rule-hash.gyp
|
1282
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/action-rule-hash/subdir/emit.py
|
1090
1283
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/action_dependencies/gyptest-action-dependencies.py
|
1091
1284
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/action_dependencies/src/a.c
|
1092
1285
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/action_dependencies/src/a.h
|
@@ -1099,6 +1292,9 @@ files:
|
|
1099
1292
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/chained-dependency/chained-dependency.gyp
|
1100
1293
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/chained-dependency/chained.c
|
1101
1294
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/chained-dependency/gyptest-chained-dependency.py
|
1295
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/empty-and-non-empty-duplicate-name/gyptest-empty-and-non-empty-duplicate-name.py
|
1296
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/empty-and-non-empty-duplicate-name/subdir/included.gyp
|
1297
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/empty-and-non-empty-duplicate-name/test.gyp
|
1102
1298
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/normalize-paths-win/gyptest-normalize-paths.py
|
1103
1299
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/normalize-paths-win/hello.cc
|
1104
1300
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/normalize-paths-win/normalize-paths.gyp
|
@@ -1109,6 +1305,9 @@ files:
|
|
1109
1305
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/solibs_avoid_relinking/main.cc
|
1110
1306
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/solibs_avoid_relinking/solib.cc
|
1111
1307
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/solibs_avoid_relinking/solibs_avoid_relinking.gyp
|
1308
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/use-console/foo.bar
|
1309
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/use-console/gyptest-use-console.py
|
1310
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/use-console/use-console.gyp
|
1112
1311
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/use-custom-environment-files/gyptest-use-custom-environment-files.py
|
1113
1312
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/use-custom-environment-files/use-custom-environment-files.cc
|
1114
1313
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/ninja/use-custom-environment-files/use-custom-environment-files.gyp
|
@@ -1154,6 +1353,7 @@ files:
|
|
1154
1353
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/src/subdir/foo/bar/baz.printvars
|
1155
1354
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/src/subdir/input-rule-dirname.gyp
|
1156
1355
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/src/subdir/main.cc
|
1356
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/src/subdir/nodir.gencc
|
1157
1357
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules-dirname/src/subdir/printvars.py
|
1158
1358
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules-rebuild/gyptest-all.py
|
1159
1359
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules-rebuild/gyptest-default.py
|
@@ -1194,12 +1394,14 @@ files:
|
|
1194
1394
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir1/function1.in
|
1195
1395
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir1/function2.in
|
1196
1396
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir1/program.c
|
1397
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir2/both_rule_and_action_input.gyp
|
1197
1398
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir2/file1.in
|
1198
1399
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir2/file2.in
|
1199
1400
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir2/never_used.gyp
|
1200
1401
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir2/no_action.gyp
|
1201
1402
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir2/no_inputs.gyp
|
1202
1403
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir2/none.gyp
|
1404
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir2/program.c
|
1203
1405
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir3/executable2.gyp
|
1204
1406
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir3/function3.in
|
1205
1407
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir3/program.c
|
@@ -1224,9 +1426,9 @@ files:
|
|
1224
1426
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/same-rule-output-file-name/src/touch.py
|
1225
1427
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/gyptest-all.py
|
1226
1428
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/gyptest-default.py
|
1227
|
-
- ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/gyptest-fail-shared.py
|
1228
|
-
- ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/gyptest-fail-static.py
|
1229
1429
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/gyptest-pass-executable.py
|
1430
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/gyptest-shared.py
|
1431
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/gyptest-static.py
|
1230
1432
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/src/all.gyp
|
1231
1433
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/src/double-executable.gyp
|
1232
1434
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/same-source-file-name/src/double-shared.gyp
|
@@ -1306,8 +1508,14 @@ files:
|
|
1306
1508
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/commands.gypd.golden
|
1307
1509
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/commands.gypi
|
1308
1510
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/gyptest-commands-ignore-env.py
|
1511
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/gyptest-commands-repeated-multidir.py
|
1309
1512
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/gyptest-commands-repeated.py
|
1310
1513
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/gyptest-commands.py
|
1514
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/repeated_multidir/dir_1/test_1.gyp
|
1515
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/repeated_multidir/dir_2/test_2.gyp
|
1516
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/repeated_multidir/main.gyp
|
1517
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/repeated_multidir/print_cwd_basename.py
|
1518
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/repeated_multidir/repeated_command_common.gypi
|
1311
1519
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/test.py
|
1312
1520
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/variables/commands/update_golden
|
1313
1521
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/variables/filelist/filelist.gyp.stdout
|
@@ -1343,6 +1551,12 @@ files:
|
|
1343
1551
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/analysis.gyp
|
1344
1552
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/buffer-security-check.gyp
|
1345
1553
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/buffer-security.cc
|
1554
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/calling-convention-cdecl.def
|
1555
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/calling-convention-fastcall.def
|
1556
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/calling-convention-stdcall.def
|
1557
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/calling-convention-vectorcall.def
|
1558
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/calling-convention.cc
|
1559
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/calling-convention.gyp
|
1346
1560
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/character-set-mbcs.cc
|
1347
1561
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/character-set-unicode.cc
|
1348
1562
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/character-set.gyp
|
@@ -1351,8 +1565,14 @@ files:
|
|
1351
1565
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/default-char-is-unsigned.gyp
|
1352
1566
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/disable-specific-warnings.cc
|
1353
1567
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/disable-specific-warnings.gyp
|
1568
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/enable-enhanced-instruction-set.cc
|
1569
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/enable-enhanced-instruction-set.gyp
|
1354
1570
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/exception-handling-on.cc
|
1355
1571
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/exception-handling.gyp
|
1572
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/floating-point-model-fast.cc
|
1573
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/floating-point-model-precise.cc
|
1574
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/floating-point-model-strict.cc
|
1575
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/floating-point-model.gyp
|
1356
1576
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/force-include-files-with-precompiled.cc
|
1357
1577
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/force-include-files.cc
|
1358
1578
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/force-include-files.gyp
|
@@ -1385,6 +1605,8 @@ files:
|
|
1385
1605
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/warning-level2.cc
|
1386
1606
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/warning-level3.cc
|
1387
1607
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/warning-level4.cc
|
1608
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/enable-winrt/dllmain.cc
|
1609
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/enable-winrt/enable-winrt.gyp
|
1388
1610
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/generator-output-different-drive/gyptest-generator-output-different-drive.py
|
1389
1611
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/generator-output-different-drive/prog.c
|
1390
1612
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/generator-output-different-drive/prog.gyp
|
@@ -1393,11 +1615,14 @@ files:
|
|
1393
1615
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-additional-options.py
|
1394
1616
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-analysis.py
|
1395
1617
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-buffer-security-check.py
|
1618
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-calling-convention.py
|
1396
1619
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-character-set.py
|
1397
1620
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-debug-format.py
|
1398
1621
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-default-char-is-unsigned.py
|
1399
1622
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-disable-specific-warnings.py
|
1623
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-enable-enhanced-instruction-set.py
|
1400
1624
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-exception-handling.py
|
1625
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-floating-point-model.py
|
1401
1626
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-force-include-files.py
|
1402
1627
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-function-level-linking.py
|
1403
1628
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-cl-optimizations.py
|
@@ -1422,6 +1647,7 @@ files:
|
|
1422
1647
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-delay-load-dlls.py
|
1423
1648
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-embed-manifest.py
|
1424
1649
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-enable-uac.py
|
1650
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-enable-winrt.py
|
1425
1651
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-entrypointsymbol.py
|
1426
1652
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-fixed-base.py
|
1427
1653
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-force-symbol-reference.py
|
@@ -1439,11 +1665,13 @@ files:
|
|
1439
1665
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-opt-ref.py
|
1440
1666
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-ordering.py
|
1441
1667
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-outputfile.py
|
1668
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-pdb-no-output.py
|
1442
1669
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-pdb-output.py
|
1443
1670
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-pdb.py
|
1444
1671
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-pgo.py
|
1445
1672
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-profile.py
|
1446
1673
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-restat-importlib.py
|
1674
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-safeseh.py
|
1447
1675
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-shard.py
|
1448
1676
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-subsystem.py
|
1449
1677
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-target-machine.py
|
@@ -1454,16 +1682,33 @@ files:
|
|
1454
1682
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-link-warnings-as-errors.py
|
1455
1683
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-long-command-line.py
|
1456
1684
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-macro-projectname.py
|
1685
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-macro-targetext.py
|
1686
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-macro-targetfilename.py
|
1457
1687
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-macro-targetname.py
|
1688
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-macro-targetpath.py
|
1458
1689
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-macro-vcinstalldir.py
|
1459
1690
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-macros-containing-gyp.py
|
1460
1691
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-macros-in-inputs-and-outputs.py
|
1692
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-midl-excluded.py
|
1693
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-midl-includedirs.py
|
1461
1694
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-midl-rules.py
|
1695
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-ml-safeseh.py
|
1462
1696
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-quoting-commands.py
|
1463
1697
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-rc-build.py
|
1698
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/gyptest-system-include.py
|
1699
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-excluded/bad.idl
|
1700
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-excluded/copy-file.py
|
1701
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-excluded/idl-excluded.gyp
|
1702
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-excluded/program.cc
|
1703
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-includedirs/hello.cc
|
1704
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-includedirs/idl-includedirs.gyp
|
1705
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-includedirs/subdir/bar.idl
|
1706
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-includedirs/subdir/foo.idl
|
1707
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-rules/Window.idl
|
1464
1708
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-rules/basic-idl.gyp
|
1465
1709
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-rules/history_indexer.idl
|
1466
1710
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-rules/history_indexer_user.cc
|
1711
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/idl-rules/idl_compiler.py
|
1467
1712
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/importlib/has-exports.cc
|
1468
1713
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/importlib/hello.cc
|
1469
1714
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/importlib/importlib.gyp
|
@@ -1529,6 +1774,9 @@ files:
|
|
1529
1774
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/pgo.gyp
|
1530
1775
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/profile.gyp
|
1531
1776
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/program-database.gyp
|
1777
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/safeseh.gyp
|
1778
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/safeseh_hello.cc
|
1779
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/safeseh_zero.asm
|
1532
1780
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/subdir/library.gyp
|
1533
1781
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/subsystem-windows.cc
|
1534
1782
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/linker-flags/subsystem.gyp
|
@@ -1543,6 +1791,9 @@ files:
|
|
1543
1791
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/long-command-line/function.cc
|
1544
1792
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/long-command-line/hello.cc
|
1545
1793
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/long-command-line/long-command-line.gyp
|
1794
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/ml-safeseh/a.asm
|
1795
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/ml-safeseh/hello.cc
|
1796
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/ml-safeseh/ml-safeseh.gyp
|
1546
1797
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/precompiled/gyptest-all.py
|
1547
1798
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/precompiled/hello.c
|
1548
1799
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/precompiled/hello.gyp
|
@@ -1559,11 +1810,18 @@ files:
|
|
1559
1810
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/rc-build/subdir/hello2.rc
|
1560
1811
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/rc-build/subdir/include.h
|
1561
1812
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/rc-build/targetver.h
|
1813
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/shard/hello.cc
|
1562
1814
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/shard/hello1.cc
|
1563
1815
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/shard/hello2.cc
|
1564
1816
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/shard/hello3.cc
|
1565
1817
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/shard/hello4.cc
|
1566
1818
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/shard/shard.gyp
|
1819
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/shard/shard_ref.gyp
|
1820
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/system-include/bar/header.h
|
1821
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/system-include/common/commonheader.h
|
1822
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/system-include/foo/header.h
|
1823
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/system-include/main.cc
|
1824
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/system-include/test.gyp
|
1567
1825
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/uldi/a.cc
|
1568
1826
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/uldi/b.cc
|
1569
1827
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/uldi/main.cc
|
@@ -1576,9 +1834,14 @@ files:
|
|
1576
1834
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/input.S
|
1577
1835
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/projectname.gyp
|
1578
1836
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/stuff.blah
|
1837
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/targetext.gyp
|
1838
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/targetfilename.gyp
|
1579
1839
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/targetname.gyp
|
1840
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/targetpath.gyp
|
1580
1841
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/test_exists.py
|
1581
1842
|
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/vs-macros/vcinstalldir.gyp
|
1843
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/win-tool/copies_readonly_files.gyp
|
1844
|
+
- ext/tree-sitter/tree-sitter/externals/gyp/test/win/win-tool/gyptest-win-tool-handles-readonly-files.py
|
1582
1845
|
- ext/tree-sitter/tree-sitter/externals/gyp/tools/README
|
1583
1846
|
- ext/tree-sitter/tree-sitter/externals/gyp/tools/Xcode/README
|
1584
1847
|
- ext/tree-sitter/tree-sitter/externals/gyp/tools/Xcode/Specifications/gyp.pbfilespec
|
@@ -1658,6 +1921,7 @@ files:
|
|
1658
1921
|
- ext/tree-sitter/tree-sitter/externals/utf8proc/lump.md
|
1659
1922
|
- ext/tree-sitter/tree-sitter/externals/utf8proc/test/case.c
|
1660
1923
|
- ext/tree-sitter/tree-sitter/externals/utf8proc/test/charwidth.c
|
1924
|
+
- ext/tree-sitter/tree-sitter/externals/utf8proc/test/custom.c
|
1661
1925
|
- ext/tree-sitter/tree-sitter/externals/utf8proc/test/graphemetest.c
|
1662
1926
|
- ext/tree-sitter/tree-sitter/externals/utf8proc/test/iterate.c
|
1663
1927
|
- ext/tree-sitter/tree-sitter/externals/utf8proc/test/normtest.c
|
@@ -1669,212 +1933,49 @@ files:
|
|
1669
1933
|
- ext/tree-sitter/tree-sitter/externals/utf8proc/utf8proc.h
|
1670
1934
|
- ext/tree-sitter/tree-sitter/externals/utf8proc/utf8proc_data.c
|
1671
1935
|
- ext/tree-sitter/tree-sitter/externals/utf8proc/utils.cmake
|
1672
|
-
- ext/tree-sitter/tree-sitter/gyp-mac-tool
|
1673
1936
|
- ext/tree-sitter/tree-sitter/include/tree_sitter/compiler.h
|
1674
1937
|
- ext/tree-sitter/tree-sitter/include/tree_sitter/parser.h
|
1675
1938
|
- ext/tree-sitter/tree-sitter/include/tree_sitter/runtime.h
|
1676
|
-
- ext/tree-sitter/tree-sitter/out/Release/libcompiler.a
|
1677
|
-
- ext/tree-sitter/tree-sitter/out/Release/libruntime.a
|
1678
|
-
- ext/tree-sitter/tree-sitter/out/Release/linker.lock
|
1679
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/externals/json-parser/json.o
|
1680
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/externals/utf8proc/utf8proc.o
|
1681
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/build_lex_table.o
|
1682
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/build_parse_table.o
|
1683
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/build_tables.o
|
1684
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/lex_conflict_manager.o
|
1685
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/lex_item.o
|
1686
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/lex_item_transitions.o
|
1687
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/lookahead_set.o
|
1688
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/parse_item.o
|
1689
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/parse_item_set_builder.o
|
1690
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/recovery_tokens.o
|
1691
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/build_tables/rule_can_be_blank.o
|
1692
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/compile.o
|
1693
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/generate_code/c_code.o
|
1694
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/lex_table.o
|
1695
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/parse_grammar.o
|
1696
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/parse_table.o
|
1697
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/precedence_range.o
|
1698
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/expand_repeats.o
|
1699
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/expand_tokens.o
|
1700
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/extract_choices.o
|
1701
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/extract_tokens.o
|
1702
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/flatten_grammar.o
|
1703
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/intern_symbols.o
|
1704
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/is_token.o
|
1705
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/normalize_rules.o
|
1706
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/parse_regex.o
|
1707
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/prepare_grammar.o
|
1708
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/prepare_grammar/token_description.o
|
1709
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rule.o
|
1710
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/blank.o
|
1711
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/built_in_symbols.o
|
1712
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/character_range.o
|
1713
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/character_set.o
|
1714
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/choice.o
|
1715
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/metadata.o
|
1716
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/named_symbol.o
|
1717
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/pattern.o
|
1718
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/repeat.o
|
1719
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/rules.o
|
1720
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/seq.o
|
1721
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/string.o
|
1722
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/symbol.o
|
1723
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/rules/visitor.o
|
1724
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/syntax_grammar.o
|
1725
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/util/string_helpers.o
|
1726
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/compiler/src/compiler/variable.o
|
1727
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/externals/utf8proc/utf8proc.o
|
1728
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/document.o
|
1729
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/error_costs.o
|
1730
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/language.o
|
1731
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/lexer.o
|
1732
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/node.o
|
1733
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/parser.o
|
1734
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/stack.o
|
1735
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/string_input.o
|
1736
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/tree.o
|
1737
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/runtime/src/runtime/utf16.o
|
1738
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/build_tables/distinctive_tokens_spec.o
|
1739
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/build_tables/lex_conflict_manager_spec.o
|
1740
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/build_tables/lex_item_spec.o
|
1741
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/build_tables/parse_item_set_builder_spec.o
|
1742
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/build_tables/rule_can_be_blank_spec.o
|
1743
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/expand_repeats_spec.o
|
1744
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/expand_tokens_spec.o
|
1745
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/extract_choices_spec.o
|
1746
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/extract_tokens_spec.o
|
1747
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/flatten_grammar_spec.o
|
1748
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/intern_symbols_spec.o
|
1749
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/prepare_grammar/parse_regex_spec.o
|
1750
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/rules/character_set_spec.o
|
1751
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/rules/choice_spec.o
|
1752
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/rules/repeat_spec.o
|
1753
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/compiler/util/string_helpers_spec.o
|
1754
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/encoding_helpers.o
|
1755
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/load_language.o
|
1756
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/point_helpers.o
|
1757
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/random_helpers.o
|
1758
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/read_test_entries.o
|
1759
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/record_alloc.o
|
1760
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/rule_helpers.o
|
1761
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/scope_sequence.o
|
1762
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/spy_input.o
|
1763
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/spy_logger.o
|
1764
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/stderr_logger.o
|
1765
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/stream_methods.o
|
1766
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/helpers/tree_helpers.o
|
1767
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/integration/compile_grammar_spec.o
|
1768
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/integration/corpus_specs.o
|
1769
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/runtime/document_spec.o
|
1770
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/runtime/node_spec.o
|
1771
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/runtime/parser_spec.o
|
1772
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/runtime/stack_spec.o
|
1773
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/runtime/tree_spec.o
|
1774
|
-
- ext/tree-sitter/tree-sitter/out/Release/obj.target/tests/spec/specs.o
|
1775
|
-
- ext/tree-sitter/tree-sitter/out/Release/tests
|
1776
|
-
- ext/tree-sitter/tree-sitter/project.Makefile
|
1777
1939
|
- ext/tree-sitter/tree-sitter/project.gyp
|
1778
|
-
- ext/tree-sitter/tree-sitter/
|
1940
|
+
- ext/tree-sitter/tree-sitter/script/benchmark
|
1941
|
+
- ext/tree-sitter/tree-sitter/script/build-fuzzers
|
1779
1942
|
- ext/tree-sitter/tree-sitter/script/check-mallocs
|
1780
1943
|
- ext/tree-sitter/tree-sitter/script/ci
|
1781
1944
|
- ext/tree-sitter/tree-sitter/script/clean
|
1782
1945
|
- ext/tree-sitter/tree-sitter/script/configure
|
1946
|
+
- ext/tree-sitter/tree-sitter/script/configure.cmd
|
1783
1947
|
- ext/tree-sitter/tree-sitter/script/fetch-fixtures
|
1948
|
+
- ext/tree-sitter/tree-sitter/script/fetch-fixtures.cmd
|
1784
1949
|
- ext/tree-sitter/tree-sitter/script/format
|
1785
1950
|
- ext/tree-sitter/tree-sitter/script/lint
|
1951
|
+
- ext/tree-sitter/tree-sitter/script/reproduce
|
1952
|
+
- ext/tree-sitter/tree-sitter/script/run-fuzzer
|
1786
1953
|
- ext/tree-sitter/tree-sitter/script/test
|
1954
|
+
- ext/tree-sitter/tree-sitter/script/test.cmd
|
1787
1955
|
- ext/tree-sitter/tree-sitter/script/trim-whitespace
|
1956
|
+
- ext/tree-sitter/tree-sitter/script/util/scan-build.sh
|
1788
1957
|
- ext/tree-sitter/tree-sitter/script/util/valgrind.supp
|
1789
|
-
- ext/tree-sitter/tree-sitter/spec/compiler/build_tables/distinctive_tokens_spec.cc
|
1790
|
-
- ext/tree-sitter/tree-sitter/spec/compiler/build_tables/lex_conflict_manager_spec.cc
|
1791
|
-
- ext/tree-sitter/tree-sitter/spec/compiler/build_tables/lex_item_spec.cc
|
1792
|
-
- ext/tree-sitter/tree-sitter/spec/compiler/build_tables/parse_item_set_builder_spec.cc
|
1793
|
-
- ext/tree-sitter/tree-sitter/spec/compiler/build_tables/rule_can_be_blank_spec.cc
|
1794
|
-
- ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/expand_repeats_spec.cc
|
1795
|
-
- ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/expand_tokens_spec.cc
|
1796
|
-
- ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/extract_choices_spec.cc
|
1797
|
-
- ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/extract_tokens_spec.cc
|
1798
|
-
- ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/flatten_grammar_spec.cc
|
1799
|
-
- ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/intern_symbols_spec.cc
|
1800
|
-
- ext/tree-sitter/tree-sitter/spec/compiler/prepare_grammar/parse_regex_spec.cc
|
1801
|
-
- ext/tree-sitter/tree-sitter/spec/compiler/rules/character_set_spec.cc
|
1802
|
-
- ext/tree-sitter/tree-sitter/spec/compiler/rules/choice_spec.cc
|
1803
|
-
- ext/tree-sitter/tree-sitter/spec/compiler/rules/repeat_spec.cc
|
1804
|
-
- ext/tree-sitter/tree-sitter/spec/compiler/util/string_helpers_spec.cc
|
1805
|
-
- ext/tree-sitter/tree-sitter/spec/fixtures/error_corpus/c_errors.txt
|
1806
|
-
- ext/tree-sitter/tree-sitter/spec/fixtures/error_corpus/javascript_errors.txt
|
1807
|
-
- ext/tree-sitter/tree-sitter/spec/fixtures/error_corpus/json_errors.txt
|
1808
|
-
- ext/tree-sitter/tree-sitter/spec/fixtures/error_corpus/python_errors.txt
|
1809
|
-
- ext/tree-sitter/tree-sitter/spec/fixtures/external_scanners/extra_external_tokens.c
|
1810
|
-
- ext/tree-sitter/tree-sitter/spec/fixtures/external_scanners/percent_strings.c
|
1811
|
-
- ext/tree-sitter/tree-sitter/spec/fixtures/external_scanners/shared_external_tokens.c
|
1812
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/dedent.h
|
1813
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/encoding_helpers.cc
|
1814
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/encoding_helpers.h
|
1815
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/equals_pointer.h
|
1816
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/load_language.cc
|
1817
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/load_language.h
|
1818
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/point_helpers.cc
|
1819
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/point_helpers.h
|
1820
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/random_helpers.cc
|
1821
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/random_helpers.h
|
1822
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/read_test_entries.cc
|
1823
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/read_test_entries.h
|
1824
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/record_alloc.cc
|
1825
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/record_alloc.h
|
1826
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/rule_helpers.cc
|
1827
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/rule_helpers.h
|
1828
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/scope_sequence.cc
|
1829
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/scope_sequence.h
|
1830
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/spy_input.cc
|
1831
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/spy_input.h
|
1832
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/spy_logger.cc
|
1833
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/spy_logger.h
|
1834
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/stderr_logger.cc
|
1835
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/stderr_logger.h
|
1836
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/stream_methods.cc
|
1837
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/stream_methods.h
|
1838
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/tree_helpers.cc
|
1839
|
-
- ext/tree-sitter/tree-sitter/spec/helpers/tree_helpers.h
|
1840
|
-
- ext/tree-sitter/tree-sitter/spec/integration/compile_grammar_spec.cc
|
1841
|
-
- ext/tree-sitter/tree-sitter/spec/integration/corpus_specs.cc
|
1842
|
-
- ext/tree-sitter/tree-sitter/spec/runtime/document_spec.cc
|
1843
|
-
- ext/tree-sitter/tree-sitter/spec/runtime/node_spec.cc
|
1844
|
-
- ext/tree-sitter/tree-sitter/spec/runtime/parser_spec.cc
|
1845
|
-
- ext/tree-sitter/tree-sitter/spec/runtime/stack_spec.cc
|
1846
|
-
- ext/tree-sitter/tree-sitter/spec/runtime/tree_spec.cc
|
1847
|
-
- ext/tree-sitter/tree-sitter/spec/spec_helper.h
|
1848
|
-
- ext/tree-sitter/tree-sitter/spec/specs.cc
|
1849
|
-
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/build_lex_table.cc
|
1850
|
-
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/build_lex_table.h
|
1851
|
-
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/build_parse_table.cc
|
1852
|
-
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/build_parse_table.h
|
1853
|
-
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/build_tables.cc
|
1854
|
-
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/build_tables.h
|
1855
|
-
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/conflict_type.h
|
1856
|
-
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_conflict_manager.cc
|
1857
|
-
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_conflict_manager.h
|
1858
1958
|
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_item.cc
|
1859
1959
|
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_item.h
|
1860
1960
|
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_item_transitions.cc
|
1861
1961
|
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_item_transitions.h
|
1962
|
+
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_table_builder.cc
|
1963
|
+
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/lex_table_builder.h
|
1862
1964
|
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/lookahead_set.cc
|
1863
1965
|
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/lookahead_set.h
|
1864
1966
|
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/parse_item.cc
|
1865
1967
|
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/parse_item.h
|
1866
1968
|
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/parse_item_set_builder.cc
|
1867
1969
|
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/parse_item_set_builder.h
|
1868
|
-
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/
|
1869
|
-
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/
|
1870
|
-
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/remove_duplicate_states.h
|
1970
|
+
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/parse_table_builder.cc
|
1971
|
+
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/parse_table_builder.h
|
1871
1972
|
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/rule_can_be_blank.cc
|
1872
1973
|
- ext/tree-sitter/tree-sitter/src/compiler/build_tables/rule_can_be_blank.h
|
1873
1974
|
- ext/tree-sitter/tree-sitter/src/compiler/compile.cc
|
1874
|
-
- ext/tree-sitter/tree-sitter/src/compiler/compile.h
|
1875
1975
|
- ext/tree-sitter/tree-sitter/src/compiler/compile_error.h
|
1876
1976
|
- ext/tree-sitter/tree-sitter/src/compiler/generate_code/c_code.cc
|
1877
1977
|
- ext/tree-sitter/tree-sitter/src/compiler/generate_code/c_code.h
|
1978
|
+
- ext/tree-sitter/tree-sitter/src/compiler/grammar-schema.json
|
1878
1979
|
- ext/tree-sitter/tree-sitter/src/compiler/grammar.h
|
1879
1980
|
- ext/tree-sitter/tree-sitter/src/compiler/lex_table.cc
|
1880
1981
|
- ext/tree-sitter/tree-sitter/src/compiler/lex_table.h
|
@@ -1899,8 +2000,6 @@ files:
|
|
1899
2000
|
- ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/intern_symbols.cc
|
1900
2001
|
- ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/intern_symbols.h
|
1901
2002
|
- ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/interned_grammar.h
|
1902
|
-
- ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/is_token.cc
|
1903
|
-
- ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/is_token.h
|
1904
2003
|
- ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/normalize_rules.cc
|
1905
2004
|
- ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/normalize_rules.h
|
1906
2005
|
- ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/parse_regex.cc
|
@@ -1911,47 +2010,34 @@ files:
|
|
1911
2010
|
- ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/token_description.h
|
1912
2011
|
- ext/tree-sitter/tree-sitter/src/compiler/rule.cc
|
1913
2012
|
- ext/tree-sitter/tree-sitter/src/compiler/rule.h
|
1914
|
-
- ext/tree-sitter/tree-sitter/src/compiler/rules.h
|
1915
|
-
- ext/tree-sitter/tree-sitter/src/compiler/rules/blank.cc
|
1916
2013
|
- ext/tree-sitter/tree-sitter/src/compiler/rules/blank.h
|
1917
|
-
- ext/tree-sitter/tree-sitter/src/compiler/rules/built_in_symbols.cc
|
1918
|
-
- ext/tree-sitter/tree-sitter/src/compiler/rules/built_in_symbols.h
|
1919
|
-
- ext/tree-sitter/tree-sitter/src/compiler/rules/character_range.cc
|
1920
|
-
- ext/tree-sitter/tree-sitter/src/compiler/rules/character_range.h
|
1921
2014
|
- ext/tree-sitter/tree-sitter/src/compiler/rules/character_set.cc
|
1922
2015
|
- ext/tree-sitter/tree-sitter/src/compiler/rules/character_set.h
|
1923
2016
|
- ext/tree-sitter/tree-sitter/src/compiler/rules/choice.cc
|
1924
2017
|
- ext/tree-sitter/tree-sitter/src/compiler/rules/choice.h
|
1925
2018
|
- ext/tree-sitter/tree-sitter/src/compiler/rules/metadata.cc
|
1926
2019
|
- ext/tree-sitter/tree-sitter/src/compiler/rules/metadata.h
|
1927
|
-
- ext/tree-sitter/tree-sitter/src/compiler/rules/named_symbol.cc
|
1928
2020
|
- ext/tree-sitter/tree-sitter/src/compiler/rules/named_symbol.h
|
1929
|
-
- ext/tree-sitter/tree-sitter/src/compiler/rules/pattern.cc
|
1930
2021
|
- ext/tree-sitter/tree-sitter/src/compiler/rules/pattern.h
|
1931
2022
|
- ext/tree-sitter/tree-sitter/src/compiler/rules/repeat.cc
|
1932
2023
|
- ext/tree-sitter/tree-sitter/src/compiler/rules/repeat.h
|
1933
|
-
- ext/tree-sitter/tree-sitter/src/compiler/rules/rules.cc
|
1934
2024
|
- ext/tree-sitter/tree-sitter/src/compiler/rules/seq.cc
|
1935
2025
|
- ext/tree-sitter/tree-sitter/src/compiler/rules/seq.h
|
1936
|
-
- ext/tree-sitter/tree-sitter/src/compiler/rules/string.cc
|
1937
2026
|
- ext/tree-sitter/tree-sitter/src/compiler/rules/string.h
|
1938
|
-
- ext/tree-sitter/tree-sitter/src/compiler/rules/symbol.cc
|
1939
2027
|
- ext/tree-sitter/tree-sitter/src/compiler/rules/symbol.h
|
1940
|
-
- ext/tree-sitter/tree-sitter/src/compiler/rules/visitor.cc
|
1941
|
-
- ext/tree-sitter/tree-sitter/src/compiler/rules/visitor.h
|
1942
2028
|
- ext/tree-sitter/tree-sitter/src/compiler/syntax_grammar.cc
|
1943
2029
|
- ext/tree-sitter/tree-sitter/src/compiler/syntax_grammar.h
|
1944
2030
|
- ext/tree-sitter/tree-sitter/src/compiler/util/hash_combine.h
|
2031
|
+
- ext/tree-sitter/tree-sitter/src/compiler/util/make_visitor.h
|
1945
2032
|
- ext/tree-sitter/tree-sitter/src/compiler/util/string_helpers.cc
|
1946
2033
|
- ext/tree-sitter/tree-sitter/src/compiler/util/string_helpers.h
|
1947
|
-
- ext/tree-sitter/tree-sitter/src/compiler/variable.cc
|
1948
|
-
- ext/tree-sitter/tree-sitter/src/compiler/variable.h
|
1949
2034
|
- ext/tree-sitter/tree-sitter/src/runtime/alloc.h
|
1950
2035
|
- ext/tree-sitter/tree-sitter/src/runtime/array.h
|
1951
2036
|
- ext/tree-sitter/tree-sitter/src/runtime/document.c
|
1952
2037
|
- ext/tree-sitter/tree-sitter/src/runtime/document.h
|
1953
|
-
- ext/tree-sitter/tree-sitter/src/runtime/error_costs.c
|
1954
2038
|
- ext/tree-sitter/tree-sitter/src/runtime/error_costs.h
|
2039
|
+
- ext/tree-sitter/tree-sitter/src/runtime/get_changed_ranges.c
|
2040
|
+
- ext/tree-sitter/tree-sitter/src/runtime/get_changed_ranges.h
|
1955
2041
|
- ext/tree-sitter/tree-sitter/src/runtime/language.c
|
1956
2042
|
- ext/tree-sitter/tree-sitter/src/runtime/language.h
|
1957
2043
|
- ext/tree-sitter/tree-sitter/src/runtime/length.h
|
@@ -1970,20 +2056,162 @@ files:
|
|
1970
2056
|
- ext/tree-sitter/tree-sitter/src/runtime/string_input.h
|
1971
2057
|
- ext/tree-sitter/tree-sitter/src/runtime/tree.c
|
1972
2058
|
- ext/tree-sitter/tree-sitter/src/runtime/tree.h
|
1973
|
-
- ext/tree-sitter/tree-sitter/src/runtime/tree_path.h
|
1974
2059
|
- ext/tree-sitter/tree-sitter/src/runtime/utf16.c
|
1975
2060
|
- ext/tree-sitter/tree-sitter/src/runtime/utf16.h
|
1976
|
-
- ext/tree-sitter/tree-sitter/
|
2061
|
+
- ext/tree-sitter/tree-sitter/test/benchmarks.cc
|
2062
|
+
- ext/tree-sitter/tree-sitter/test/compiler/build_tables/lex_item_test.cc
|
2063
|
+
- ext/tree-sitter/tree-sitter/test/compiler/build_tables/parse_item_set_builder_test.cc
|
2064
|
+
- ext/tree-sitter/tree-sitter/test/compiler/build_tables/rule_can_be_blank_test.cc
|
2065
|
+
- ext/tree-sitter/tree-sitter/test/compiler/prepare_grammar/expand_repeats_test.cc
|
2066
|
+
- ext/tree-sitter/tree-sitter/test/compiler/prepare_grammar/expand_tokens_test.cc
|
2067
|
+
- ext/tree-sitter/tree-sitter/test/compiler/prepare_grammar/extract_choices_test.cc
|
2068
|
+
- ext/tree-sitter/tree-sitter/test/compiler/prepare_grammar/extract_tokens_test.cc
|
2069
|
+
- ext/tree-sitter/tree-sitter/test/compiler/prepare_grammar/flatten_grammar_test.cc
|
2070
|
+
- ext/tree-sitter/tree-sitter/test/compiler/prepare_grammar/intern_symbols_test.cc
|
2071
|
+
- ext/tree-sitter/tree-sitter/test/compiler/prepare_grammar/parse_regex_test.cc
|
2072
|
+
- ext/tree-sitter/tree-sitter/test/compiler/rules/character_set_test.cc
|
2073
|
+
- ext/tree-sitter/tree-sitter/test/compiler/rules/rule_test.cc
|
2074
|
+
- ext/tree-sitter/tree-sitter/test/compiler/util/string_helpers_test.cc
|
2075
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/error_corpus/c_errors.txt
|
2076
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/error_corpus/javascript_errors.txt
|
2077
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/error_corpus/json_errors.txt
|
2078
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/error_corpus/python_errors.txt
|
2079
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/aliased_inlined_rules/corpus.txt
|
2080
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/aliased_inlined_rules/grammar.json
|
2081
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/aliased_inlined_rules/readme.md
|
2082
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/aliased_rules/corpus.txt
|
2083
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/aliased_rules/grammar.json
|
2084
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/aliased_unit_reductions/corpus.txt
|
2085
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/aliased_unit_reductions/grammar.json
|
2086
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/aliased_unit_reductions/readme.md
|
2087
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/anonymous_tokens_with_escaped_chars/corpus.txt
|
2088
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/anonymous_tokens_with_escaped_chars/grammar.json
|
2089
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/anonymous_tokens_with_escaped_chars/readme.md
|
2090
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/associativity_left/corpus.txt
|
2091
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/associativity_left/grammar.json
|
2092
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/associativity_missing/expected_error.txt
|
2093
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/associativity_missing/grammar.json
|
2094
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/associativity_right/corpus.txt
|
2095
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/associativity_right/grammar.json
|
2096
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/conflict_in_repeat_rule/expected_error.txt
|
2097
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/conflict_in_repeat_rule/grammar.json
|
2098
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/conflict_in_repeat_rule/readme.md
|
2099
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/conflict_in_repeat_rule_after_external_token/expected_error.txt
|
2100
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/conflict_in_repeat_rule_after_external_token/grammar.json
|
2101
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/conflict_in_repeat_rule_after_external_token/readme.md
|
2102
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/conflicting_precedence/expected_error.txt
|
2103
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/conflicting_precedence/grammar.json
|
2104
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/dynamic_precedence/corpus.txt
|
2105
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/dynamic_precedence/grammar.json
|
2106
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/dynamic_precedence/readme.md
|
2107
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/epsilon_rules/expected_error.txt
|
2108
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/epsilon_rules/grammar.json
|
2109
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_and_internal_anonymous_tokens/corpus.txt
|
2110
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_and_internal_anonymous_tokens/grammar.json
|
2111
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_and_internal_anonymous_tokens/readme.md
|
2112
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_and_internal_anonymous_tokens/scanner.c
|
2113
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_and_internal_tokens/corpus.txt
|
2114
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_and_internal_tokens/grammar.json
|
2115
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_and_internal_tokens/readme.md
|
2116
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_and_internal_tokens/scanner.c
|
2117
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_extra_tokens/corpus.txt
|
2118
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_extra_tokens/grammar.json
|
2119
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_extra_tokens/scanner.c
|
2120
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_tokens/corpus.txt
|
2121
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_tokens/grammar.json
|
2122
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/external_tokens/scanner.c
|
2123
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/inline_rules/corpus.txt
|
2124
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/inline_rules/grammar.json
|
2125
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/inlined_aliased_rules/corpus.txt
|
2126
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/inlined_aliased_rules/grammar.json
|
2127
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/inlined_aliased_rules/readme.md
|
2128
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/inverted_external_token/corpus.txt
|
2129
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/inverted_external_token/grammar.json
|
2130
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/inverted_external_token/readme.md
|
2131
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/inverted_external_token/scanner.c
|
2132
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/invisible_start_rule/expected_error.txt
|
2133
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/invisible_start_rule/grammar.json
|
2134
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/lexical_conflicts_due_to_state_merging/corpus.txt
|
2135
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/lexical_conflicts_due_to_state_merging/grammar.json
|
2136
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/lexical_conflicts_due_to_state_merging/readme.md
|
2137
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/nested_inlined_rules/corpus.txt
|
2138
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/nested_inlined_rules/grammar.json
|
2139
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/nested_inlined_rules/readme.md
|
2140
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/partially_resolved_conflict/expected_error.txt
|
2141
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/partially_resolved_conflict/grammar.json
|
2142
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/partially_resolved_conflict/readme.txt
|
2143
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_single_child_missing/expected_error.txt
|
2144
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_single_child_missing/grammar.json
|
2145
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_single_child_missing/readme.md
|
2146
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_single_child_negative/corpus.txt
|
2147
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_single_child_negative/grammar.json
|
2148
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_single_child_negative/readme.md
|
2149
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_single_child_positive/corpus.txt
|
2150
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_single_child_positive/grammar.json
|
2151
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_single_child_positive/readme.md
|
2152
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_subsequence/corpus.txt
|
2153
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/precedence_on_subsequence/grammar.json
|
2154
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/readme.md
|
2155
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/readme_grammar/corpus.txt
|
2156
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/readme_grammar/grammar.json
|
2157
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/start_rule_is_blank/corpus.txt
|
2158
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/start_rule_is_blank/grammar.json
|
2159
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/start_rule_is_token/corpus.txt
|
2160
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/start_rule_is_token/grammar.json
|
2161
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/unused_rules/corpus.txt
|
2162
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/unused_rules/grammar.json
|
2163
|
+
- ext/tree-sitter/tree-sitter/test/fixtures/test_grammars/unused_rules/readme.md
|
2164
|
+
- ext/tree-sitter/tree-sitter/test/fuzz/README.md
|
2165
|
+
- ext/tree-sitter/tree-sitter/test/fuzz/fuzzer.cc
|
2166
|
+
- ext/tree-sitter/tree-sitter/test/fuzz/gen-dict.py
|
2167
|
+
- ext/tree-sitter/tree-sitter/test/helpers/dedent.h
|
2168
|
+
- ext/tree-sitter/tree-sitter/test/helpers/encoding_helpers.cc
|
2169
|
+
- ext/tree-sitter/tree-sitter/test/helpers/encoding_helpers.h
|
2170
|
+
- ext/tree-sitter/tree-sitter/test/helpers/file_helpers.cc
|
2171
|
+
- ext/tree-sitter/tree-sitter/test/helpers/file_helpers.h
|
2172
|
+
- ext/tree-sitter/tree-sitter/test/helpers/load_language.cc
|
2173
|
+
- ext/tree-sitter/tree-sitter/test/helpers/load_language.h
|
2174
|
+
- ext/tree-sitter/tree-sitter/test/helpers/point_helpers.cc
|
2175
|
+
- ext/tree-sitter/tree-sitter/test/helpers/point_helpers.h
|
2176
|
+
- ext/tree-sitter/tree-sitter/test/helpers/random_helpers.cc
|
2177
|
+
- ext/tree-sitter/tree-sitter/test/helpers/random_helpers.h
|
2178
|
+
- ext/tree-sitter/tree-sitter/test/helpers/read_test_entries.cc
|
2179
|
+
- ext/tree-sitter/tree-sitter/test/helpers/read_test_entries.h
|
2180
|
+
- ext/tree-sitter/tree-sitter/test/helpers/record_alloc.cc
|
2181
|
+
- ext/tree-sitter/tree-sitter/test/helpers/record_alloc.h
|
2182
|
+
- ext/tree-sitter/tree-sitter/test/helpers/scope_sequence.cc
|
2183
|
+
- ext/tree-sitter/tree-sitter/test/helpers/scope_sequence.h
|
2184
|
+
- ext/tree-sitter/tree-sitter/test/helpers/spy_input.cc
|
2185
|
+
- ext/tree-sitter/tree-sitter/test/helpers/spy_input.h
|
2186
|
+
- ext/tree-sitter/tree-sitter/test/helpers/spy_logger.cc
|
2187
|
+
- ext/tree-sitter/tree-sitter/test/helpers/spy_logger.h
|
2188
|
+
- ext/tree-sitter/tree-sitter/test/helpers/stderr_logger.cc
|
2189
|
+
- ext/tree-sitter/tree-sitter/test/helpers/stderr_logger.h
|
2190
|
+
- ext/tree-sitter/tree-sitter/test/helpers/stream_methods.cc
|
2191
|
+
- ext/tree-sitter/tree-sitter/test/helpers/stream_methods.h
|
2192
|
+
- ext/tree-sitter/tree-sitter/test/helpers/tree_helpers.cc
|
2193
|
+
- ext/tree-sitter/tree-sitter/test/helpers/tree_helpers.h
|
2194
|
+
- ext/tree-sitter/tree-sitter/test/integration/fuzzing-examples.cc
|
2195
|
+
- ext/tree-sitter/tree-sitter/test/integration/real_grammars.cc
|
2196
|
+
- ext/tree-sitter/tree-sitter/test/integration/test_grammars.cc
|
2197
|
+
- ext/tree-sitter/tree-sitter/test/runtime/document_test.cc
|
2198
|
+
- ext/tree-sitter/tree-sitter/test/runtime/language_test.cc
|
2199
|
+
- ext/tree-sitter/tree-sitter/test/runtime/node_test.cc
|
2200
|
+
- ext/tree-sitter/tree-sitter/test/runtime/parser_test.cc
|
2201
|
+
- ext/tree-sitter/tree-sitter/test/runtime/stack_test.cc
|
2202
|
+
- ext/tree-sitter/tree-sitter/test/runtime/tree_test.cc
|
2203
|
+
- ext/tree-sitter/tree-sitter/test/test_helper.h
|
2204
|
+
- ext/tree-sitter/tree-sitter/test/tests.cc
|
1977
2205
|
- ext/tree-sitter/tree-sitter/tests.gyp
|
1978
|
-
- ext/tree-sitter/tree-sitter/tests.target.mk
|
1979
2206
|
- lib/tree-sitter.rb
|
2207
|
+
- lib/tree-sitter/node.rb
|
1980
2208
|
- lib/tree-sitter/version.rb
|
1981
2209
|
- test/test_helper.rb
|
1982
|
-
- test/tree-sitter/fixtures/
|
1983
|
-
- test/tree-sitter/fixtures/
|
2210
|
+
- test/tree-sitter/fixtures/parsers/python/parser.c
|
2211
|
+
- test/tree-sitter/fixtures/parsers/python/scanner.cc
|
1984
2212
|
- test/tree-sitter/test_basic.rb
|
1985
2213
|
- test/tree-sitter/test_document.rb
|
1986
|
-
- test/tree-sitter/
|
2214
|
+
- test/tree-sitter/test_node.rb
|
1987
2215
|
- tree-sitter.gemspec
|
1988
2216
|
homepage: https://www.github.com/tree-sitter/ruby-tree-sitter
|
1989
2217
|
licenses: []
|
@@ -2005,14 +2233,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
2005
2233
|
version: '0'
|
2006
2234
|
requirements: []
|
2007
2235
|
rubyforge_project:
|
2008
|
-
rubygems_version: 2.
|
2236
|
+
rubygems_version: 2.6.12
|
2009
2237
|
signing_key:
|
2010
2238
|
specification_version: 4
|
2011
2239
|
summary: Ruby bindings to Tree-Sitter
|
2012
2240
|
test_files:
|
2013
2241
|
- test/test_helper.rb
|
2014
|
-
- test/tree-sitter/fixtures/
|
2015
|
-
- test/tree-sitter/fixtures/
|
2242
|
+
- test/tree-sitter/fixtures/parsers/python/parser.c
|
2243
|
+
- test/tree-sitter/fixtures/parsers/python/scanner.cc
|
2016
2244
|
- test/tree-sitter/test_basic.rb
|
2017
2245
|
- test/tree-sitter/test_document.rb
|
2018
|
-
- test/tree-sitter/
|
2246
|
+
- test/tree-sitter/test_node.rb
|