@coana-tech/cli 14.12.76 → 14.12.78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/cli.mjs +1 -1
  2. package/package.json +1 -1
  3. package/reachability-analyzers-cli.mjs +1 -2
  4. package/repos/coana-tech/alucard/alucard.jar +0 -0
  5. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/cli.mjs +24669 -0
  6. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/LICENSE.md +9 -0
  7. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/README.md +95 -0
  8. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/common.gypi +21 -0
  9. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/except.gypi +25 -0
  10. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/index.js +14 -0
  11. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/napi-inl.deprecated.h +186 -0
  12. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/napi-inl.h +6941 -0
  13. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/napi.h +3295 -0
  14. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/node_addon_api.gyp +42 -0
  15. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/node_api.gyp +9 -0
  16. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/noexcept.gypi +26 -0
  17. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/nothing.c +0 -0
  18. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/package-support.json +21 -0
  19. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/package.json +480 -0
  20. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/tools/README.md +73 -0
  21. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/tools/check-napi.js +99 -0
  22. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/tools/clang-format.js +71 -0
  23. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/tools/conversion.js +301 -0
  24. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-gyp-build/LICENSE +21 -0
  25. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-gyp-build/README.md +58 -0
  26. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-gyp-build/SECURITY.md +5 -0
  27. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-gyp-build/bin.js +84 -0
  28. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-gyp-build/build-test.js +19 -0
  29. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-gyp-build/index.js +6 -0
  30. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-gyp-build/node-gyp-build.js +207 -0
  31. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-gyp-build/optional.js +7 -0
  32. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-gyp-build/package.json +43 -0
  33. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/LICENSE +21 -0
  34. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/README.md +128 -0
  35. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/binding.gyp +80 -0
  36. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/index.js +919 -0
  37. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/node_modules/.bin/node-gyp-build +16 -0
  38. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/node_modules/.bin/node-gyp-build-optional +16 -0
  39. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/node_modules/.bin/node-gyp-build-test +16 -0
  40. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/package.json +76 -0
  41. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/prebuilds/darwin-arm64/tree-sitter.node +0 -0
  42. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/prebuilds/darwin-x64/tree-sitter.node +0 -0
  43. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/prebuilds/linux-arm64/tree-sitter.node +0 -0
  44. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/prebuilds/linux-x64/tree-sitter.node +0 -0
  45. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/prebuilds/win32-arm64/tree-sitter.node +0 -0
  46. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/prebuilds/win32-x64/tree-sitter.node +0 -0
  47. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/addon_data.h +47 -0
  48. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/binding.cc +35 -0
  49. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/conversions.cc +140 -0
  50. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/conversions.h +22 -0
  51. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/language.cc +106 -0
  52. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/language.h +17 -0
  53. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/logger.cc +70 -0
  54. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/logger.h +19 -0
  55. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/lookaheaditerator.cc +122 -0
  56. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/lookaheaditerator.h +33 -0
  57. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/node.cc +1088 -0
  58. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/node.h +30 -0
  59. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/parser.cc +306 -0
  60. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/parser.h +35 -0
  61. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/query.cc +397 -0
  62. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/query.h +40 -0
  63. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/tree.cc +316 -0
  64. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/tree.h +45 -0
  65. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/tree_cursor.cc +213 -0
  66. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/tree_cursor.h +52 -0
  67. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/tree-sitter.d.ts +1042 -0
  68. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/include/tree_sitter/api.h +1318 -0
  69. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/alloc.c +48 -0
  70. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/alloc.h +41 -0
  71. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/array.h +291 -0
  72. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/atomic.h +68 -0
  73. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/clock.h +146 -0
  74. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/error_costs.h +11 -0
  75. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/get_changed_ranges.c +501 -0
  76. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/get_changed_ranges.h +36 -0
  77. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/host.h +21 -0
  78. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/language.c +223 -0
  79. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/language.h +297 -0
  80. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/length.h +52 -0
  81. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/lexer.c +435 -0
  82. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/lexer.h +49 -0
  83. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/lib.c +12 -0
  84. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/node.c +920 -0
  85. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/parser.c +2165 -0
  86. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/parser.h +266 -0
  87. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/point.h +62 -0
  88. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/portable/endian.h +206 -0
  89. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/query.c +4187 -0
  90. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/reduce_action.h +34 -0
  91. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/reusable_node.h +95 -0
  92. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/stack.c +899 -0
  93. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/stack.h +130 -0
  94. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/subtree.c +1066 -0
  95. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/subtree.h +399 -0
  96. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/tree.c +170 -0
  97. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/tree.h +31 -0
  98. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/tree_cursor.c +712 -0
  99. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/tree_cursor.h +48 -0
  100. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/ts_assert.h +11 -0
  101. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/ICU_SHA +1 -0
  102. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/LICENSE +414 -0
  103. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/README.md +29 -0
  104. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/ptypes.h +1 -0
  105. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/umachine.h +448 -0
  106. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/urename.h +1 -0
  107. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/utf.h +1 -0
  108. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/utf16.h +733 -0
  109. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/utf8.h +881 -0
  110. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode.h +83 -0
  111. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/wasm/stdlib-symbols.txt +24 -0
  112. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/wasm/stdlib.c +109 -0
  113. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/wasm/wasm-stdlib.h +1302 -0
  114. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/wasm_store.c +1859 -0
  115. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/wasm_store.h +31 -0
  116. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/LICENSE +22 -0
  117. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/README.md +21 -0
  118. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/binding.gyp +30 -0
  119. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/bindings/node/binding.cc +20 -0
  120. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/bindings/node/binding_test.js +9 -0
  121. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/bindings/node/index.d.ts +28 -0
  122. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/bindings/node/index.js +11 -0
  123. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/grammar.js +1281 -0
  124. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/node_modules/.bin/node-gyp-build +16 -0
  125. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/node_modules/.bin/node-gyp-build-optional +16 -0
  126. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/node_modules/.bin/node-gyp-build-test +16 -0
  127. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/package.json +77 -0
  128. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/prebuilds/darwin-arm64/tree-sitter-ruby.node +0 -0
  129. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/prebuilds/darwin-x64/tree-sitter-ruby.node +0 -0
  130. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/prebuilds/linux-arm64/tree-sitter-ruby.node +0 -0
  131. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/prebuilds/linux-x64/tree-sitter-ruby.node +0 -0
  132. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/prebuilds/win32-arm64/tree-sitter-ruby.node +0 -0
  133. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/prebuilds/win32-x64/tree-sitter-ruby.node +0 -0
  134. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/queries/highlights.scm +154 -0
  135. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/queries/locals.scm +27 -0
  136. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/queries/tags.scm +64 -0
  137. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/src/grammar.json +8364 -0
  138. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/src/node-types.json +4108 -0
  139. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/src/parser.c +471247 -0
  140. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/src/scanner.c +1107 -0
  141. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/src/tree_sitter/alloc.h +54 -0
  142. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/src/tree_sitter/array.h +290 -0
  143. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/src/tree_sitter/parser.h +266 -0
  144. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/tree-sitter-ruby.wasm +0 -0
  145. package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/tree-sitter.json +46 -0
  146. package/repos/coana-tech/goana/bin/goana-darwin-amd64.gz +0 -0
  147. package/repos/coana-tech/goana/bin/goana-darwin-arm64.gz +0 -0
  148. package/repos/coana-tech/goana/bin/goana-linux-amd64.gz +0 -0
  149. package/repos/coana-tech/goana/bin/goana-linux-arm64.gz +0 -0
@@ -0,0 +1,48 @@
1
+ #include "alloc.h"
2
+ #include "tree_sitter/api.h"
3
+ #include <stdlib.h>
4
+
5
+ static void *ts_malloc_default(size_t size) {
6
+ void *result = malloc(size);
7
+ if (size > 0 && !result) {
8
+ fprintf(stderr, "tree-sitter failed to allocate %zu bytes", size);
9
+ abort();
10
+ }
11
+ return result;
12
+ }
13
+
14
+ static void *ts_calloc_default(size_t count, size_t size) {
15
+ void *result = calloc(count, size);
16
+ if (count > 0 && !result) {
17
+ fprintf(stderr, "tree-sitter failed to allocate %zu bytes", count * size);
18
+ abort();
19
+ }
20
+ return result;
21
+ }
22
+
23
+ static void *ts_realloc_default(void *buffer, size_t size) {
24
+ void *result = realloc(buffer, size);
25
+ if (size > 0 && !result) {
26
+ fprintf(stderr, "tree-sitter failed to reallocate %zu bytes", size);
27
+ abort();
28
+ }
29
+ return result;
30
+ }
31
+
32
+ // Allow clients to override allocation functions dynamically
33
+ TS_PUBLIC void *(*ts_current_malloc)(size_t) = ts_malloc_default;
34
+ TS_PUBLIC void *(*ts_current_calloc)(size_t, size_t) = ts_calloc_default;
35
+ TS_PUBLIC void *(*ts_current_realloc)(void *, size_t) = ts_realloc_default;
36
+ TS_PUBLIC void (*ts_current_free)(void *) = free;
37
+
38
+ void ts_set_allocator(
39
+ void *(*new_malloc)(size_t size),
40
+ void *(*new_calloc)(size_t count, size_t size),
41
+ void *(*new_realloc)(void *ptr, size_t size),
42
+ void (*new_free)(void *ptr)
43
+ ) {
44
+ ts_current_malloc = new_malloc ? new_malloc : ts_malloc_default;
45
+ ts_current_calloc = new_calloc ? new_calloc : ts_calloc_default;
46
+ ts_current_realloc = new_realloc ? new_realloc : ts_realloc_default;
47
+ ts_current_free = new_free ? new_free : free;
48
+ }
@@ -0,0 +1,41 @@
1
+ #ifndef TREE_SITTER_ALLOC_H_
2
+ #define TREE_SITTER_ALLOC_H_
3
+
4
+ #ifdef __cplusplus
5
+ extern "C" {
6
+ #endif
7
+
8
+ #include <stdbool.h>
9
+ #include <stdio.h>
10
+ #include <stdlib.h>
11
+
12
+ #if defined(TREE_SITTER_HIDDEN_SYMBOLS) || defined(_WIN32)
13
+ #define TS_PUBLIC
14
+ #else
15
+ #define TS_PUBLIC __attribute__((visibility("default")))
16
+ #endif
17
+
18
+ TS_PUBLIC extern void *(*ts_current_malloc)(size_t size);
19
+ TS_PUBLIC extern void *(*ts_current_calloc)(size_t count, size_t size);
20
+ TS_PUBLIC extern void *(*ts_current_realloc)(void *ptr, size_t size);
21
+ TS_PUBLIC extern void (*ts_current_free)(void *ptr);
22
+
23
+ // Allow clients to override allocation functions
24
+ #ifndef ts_malloc
25
+ #define ts_malloc ts_current_malloc
26
+ #endif
27
+ #ifndef ts_calloc
28
+ #define ts_calloc ts_current_calloc
29
+ #endif
30
+ #ifndef ts_realloc
31
+ #define ts_realloc ts_current_realloc
32
+ #endif
33
+ #ifndef ts_free
34
+ #define ts_free ts_current_free
35
+ #endif
36
+
37
+ #ifdef __cplusplus
38
+ }
39
+ #endif
40
+
41
+ #endif // TREE_SITTER_ALLOC_H_
@@ -0,0 +1,291 @@
1
+ #ifndef TREE_SITTER_ARRAY_H_
2
+ #define TREE_SITTER_ARRAY_H_
3
+
4
+ #ifdef __cplusplus
5
+ extern "C" {
6
+ #endif
7
+
8
+ #include "./alloc.h"
9
+ #include "./ts_assert.h"
10
+
11
+ #include <stdbool.h>
12
+ #include <stdint.h>
13
+ #include <stdlib.h>
14
+ #include <string.h>
15
+
16
+ #ifdef _MSC_VER
17
+ #pragma warning(push)
18
+ #pragma warning(disable : 4101)
19
+ #elif defined(__GNUC__) || defined(__clang__)
20
+ #pragma GCC diagnostic push
21
+ #pragma GCC diagnostic ignored "-Wunused-variable"
22
+ #endif
23
+
24
+ #define Array(T) \
25
+ struct { \
26
+ T *contents; \
27
+ uint32_t size; \
28
+ uint32_t capacity; \
29
+ }
30
+
31
+ /// Initialize an array.
32
+ #define array_init(self) \
33
+ ((self)->size = 0, (self)->capacity = 0, (self)->contents = NULL)
34
+
35
+ /// Create an empty array.
36
+ #define array_new() \
37
+ { NULL, 0, 0 }
38
+
39
+ /// Get a pointer to the element at a given `index` in the array.
40
+ #define array_get(self, _index) \
41
+ (ts_assert((uint32_t)(_index) < (self)->size), &(self)->contents[_index])
42
+
43
+ /// Get a pointer to the first element in the array.
44
+ #define array_front(self) array_get(self, 0)
45
+
46
+ /// Get a pointer to the last element in the array.
47
+ #define array_back(self) array_get(self, (self)->size - 1)
48
+
49
+ /// Clear the array, setting its size to zero. Note that this does not free any
50
+ /// memory allocated for the array's contents.
51
+ #define array_clear(self) ((self)->size = 0)
52
+
53
+ /// Reserve `new_capacity` elements of space in the array. If `new_capacity` is
54
+ /// less than the array's current capacity, this function has no effect.
55
+ #define array_reserve(self, new_capacity) \
56
+ _array__reserve((Array *)(self), array_elem_size(self), new_capacity)
57
+
58
+ /// Free any memory allocated for this array. Note that this does not free any
59
+ /// memory allocated for the array's contents.
60
+ #define array_delete(self) _array__delete((Array *)(self))
61
+
62
+ /// Push a new `element` onto the end of the array.
63
+ #define array_push(self, element) \
64
+ (_array__grow((Array *)(self), 1, array_elem_size(self)), \
65
+ (self)->contents[(self)->size++] = (element))
66
+
67
+ /// Increase the array's size by `count` elements.
68
+ /// New elements are zero-initialized.
69
+ #define array_grow_by(self, count) \
70
+ do { \
71
+ if ((count) == 0) break; \
72
+ _array__grow((Array *)(self), count, array_elem_size(self)); \
73
+ memset((self)->contents + (self)->size, 0, (count) * array_elem_size(self)); \
74
+ (self)->size += (count); \
75
+ } while (0)
76
+
77
+ /// Append all elements from one array to the end of another.
78
+ #define array_push_all(self, other) \
79
+ array_extend((self), (other)->size, (other)->contents)
80
+
81
+ /// Append `count` elements to the end of the array, reading their values from the
82
+ /// `contents` pointer.
83
+ #define array_extend(self, count, contents) \
84
+ _array__splice( \
85
+ (Array *)(self), array_elem_size(self), (self)->size, \
86
+ 0, count, contents \
87
+ )
88
+
89
+ /// Remove `old_count` elements from the array starting at the given `index`. At
90
+ /// the same index, insert `new_count` new elements, reading their values from the
91
+ /// `new_contents` pointer.
92
+ #define array_splice(self, _index, old_count, new_count, new_contents) \
93
+ _array__splice( \
94
+ (Array *)(self), array_elem_size(self), _index, \
95
+ old_count, new_count, new_contents \
96
+ )
97
+
98
+ /// Insert one `element` into the array at the given `index`.
99
+ #define array_insert(self, _index, element) \
100
+ _array__splice((Array *)(self), array_elem_size(self), _index, 0, 1, &(element))
101
+
102
+ /// Remove one element from the array at the given `index`.
103
+ #define array_erase(self, _index) \
104
+ _array__erase((Array *)(self), array_elem_size(self), _index)
105
+
106
+ /// Pop the last element off the array, returning the element by value.
107
+ #define array_pop(self) ((self)->contents[--(self)->size])
108
+
109
+ /// Assign the contents of one array to another, reallocating if necessary.
110
+ #define array_assign(self, other) \
111
+ _array__assign((Array *)(self), (const Array *)(other), array_elem_size(self))
112
+
113
+ /// Swap one array with another
114
+ #define array_swap(self, other) \
115
+ _array__swap((Array *)(self), (Array *)(other))
116
+
117
+ /// Get the size of the array contents
118
+ #define array_elem_size(self) (sizeof *(self)->contents)
119
+
120
+ /// Search a sorted array for a given `needle` value, using the given `compare`
121
+ /// callback to determine the order.
122
+ ///
123
+ /// If an existing element is found to be equal to `needle`, then the `index`
124
+ /// out-parameter is set to the existing value's index, and the `exists`
125
+ /// out-parameter is set to true. Otherwise, `index` is set to an index where
126
+ /// `needle` should be inserted in order to preserve the sorting, and `exists`
127
+ /// is set to false.
128
+ #define array_search_sorted_with(self, compare, needle, _index, _exists) \
129
+ _array__search_sorted(self, 0, compare, , needle, _index, _exists)
130
+
131
+ /// Search a sorted array for a given `needle` value, using integer comparisons
132
+ /// of a given struct field (specified with a leading dot) to determine the order.
133
+ ///
134
+ /// See also `array_search_sorted_with`.
135
+ #define array_search_sorted_by(self, field, needle, _index, _exists) \
136
+ _array__search_sorted(self, 0, _compare_int, field, needle, _index, _exists)
137
+
138
+ /// Insert a given `value` into a sorted array, using the given `compare`
139
+ /// callback to determine the order.
140
+ #define array_insert_sorted_with(self, compare, value) \
141
+ do { \
142
+ unsigned _index, _exists; \
143
+ array_search_sorted_with(self, compare, &(value), &_index, &_exists); \
144
+ if (!_exists) array_insert(self, _index, value); \
145
+ } while (0)
146
+
147
+ /// Insert a given `value` into a sorted array, using integer comparisons of
148
+ /// a given struct field (specified with a leading dot) to determine the order.
149
+ ///
150
+ /// See also `array_search_sorted_by`.
151
+ #define array_insert_sorted_by(self, field, value) \
152
+ do { \
153
+ unsigned _index, _exists; \
154
+ array_search_sorted_by(self, field, (value) field, &_index, &_exists); \
155
+ if (!_exists) array_insert(self, _index, value); \
156
+ } while (0)
157
+
158
+ // Private
159
+
160
+ typedef Array(void) Array;
161
+
162
+ /// This is not what you're looking for, see `array_delete`.
163
+ static inline void _array__delete(Array *self) {
164
+ if (self->contents) {
165
+ ts_free(self->contents);
166
+ self->contents = NULL;
167
+ self->size = 0;
168
+ self->capacity = 0;
169
+ }
170
+ }
171
+
172
+ /// This is not what you're looking for, see `array_erase`.
173
+ static inline void _array__erase(Array *self, size_t element_size,
174
+ uint32_t index) {
175
+ ts_assert(index < self->size);
176
+ char *contents = (char *)self->contents;
177
+ memmove(contents + index * element_size, contents + (index + 1) * element_size,
178
+ (self->size - index - 1) * element_size);
179
+ self->size--;
180
+ }
181
+
182
+ /// This is not what you're looking for, see `array_reserve`.
183
+ static inline void _array__reserve(Array *self, size_t element_size, uint32_t new_capacity) {
184
+ if (new_capacity > self->capacity) {
185
+ if (self->contents) {
186
+ self->contents = ts_realloc(self->contents, new_capacity * element_size);
187
+ } else {
188
+ self->contents = ts_malloc(new_capacity * element_size);
189
+ }
190
+ self->capacity = new_capacity;
191
+ }
192
+ }
193
+
194
+ /// This is not what you're looking for, see `array_assign`.
195
+ static inline void _array__assign(Array *self, const Array *other, size_t element_size) {
196
+ _array__reserve(self, element_size, other->size);
197
+ self->size = other->size;
198
+ memcpy(self->contents, other->contents, self->size * element_size);
199
+ }
200
+
201
+ /// This is not what you're looking for, see `array_swap`.
202
+ static inline void _array__swap(Array *self, Array *other) {
203
+ Array swap = *other;
204
+ *other = *self;
205
+ *self = swap;
206
+ }
207
+
208
+ /// This is not what you're looking for, see `array_push` or `array_grow_by`.
209
+ static inline void _array__grow(Array *self, uint32_t count, size_t element_size) {
210
+ uint32_t new_size = self->size + count;
211
+ if (new_size > self->capacity) {
212
+ uint32_t new_capacity = self->capacity * 2;
213
+ if (new_capacity < 8) new_capacity = 8;
214
+ if (new_capacity < new_size) new_capacity = new_size;
215
+ _array__reserve(self, element_size, new_capacity);
216
+ }
217
+ }
218
+
219
+ /// This is not what you're looking for, see `array_splice`.
220
+ static inline void _array__splice(Array *self, size_t element_size,
221
+ uint32_t index, uint32_t old_count,
222
+ uint32_t new_count, const void *elements) {
223
+ uint32_t new_size = self->size + new_count - old_count;
224
+ uint32_t old_end = index + old_count;
225
+ uint32_t new_end = index + new_count;
226
+ ts_assert(old_end <= self->size);
227
+
228
+ _array__reserve(self, element_size, new_size);
229
+
230
+ char *contents = (char *)self->contents;
231
+ if (self->size > old_end) {
232
+ memmove(
233
+ contents + new_end * element_size,
234
+ contents + old_end * element_size,
235
+ (self->size - old_end) * element_size
236
+ );
237
+ }
238
+ if (new_count > 0) {
239
+ if (elements) {
240
+ memcpy(
241
+ (contents + index * element_size),
242
+ elements,
243
+ new_count * element_size
244
+ );
245
+ } else {
246
+ memset(
247
+ (contents + index * element_size),
248
+ 0,
249
+ new_count * element_size
250
+ );
251
+ }
252
+ }
253
+ self->size += new_count - old_count;
254
+ }
255
+
256
+ /// A binary search routine, based on Rust's `std::slice::binary_search_by`.
257
+ /// This is not what you're looking for, see `array_search_sorted_with` or `array_search_sorted_by`.
258
+ #define _array__search_sorted(self, start, compare, suffix, needle, _index, _exists) \
259
+ do { \
260
+ *(_index) = start; \
261
+ *(_exists) = false; \
262
+ uint32_t size = (self)->size - *(_index); \
263
+ if (size == 0) break; \
264
+ int comparison; \
265
+ while (size > 1) { \
266
+ uint32_t half_size = size / 2; \
267
+ uint32_t mid_index = *(_index) + half_size; \
268
+ comparison = compare(&((self)->contents[mid_index] suffix), (needle)); \
269
+ if (comparison <= 0) *(_index) = mid_index; \
270
+ size -= half_size; \
271
+ } \
272
+ comparison = compare(&((self)->contents[*(_index)] suffix), (needle)); \
273
+ if (comparison == 0) *(_exists) = true; \
274
+ else if (comparison < 0) *(_index) += 1; \
275
+ } while (0)
276
+
277
+ /// Helper macro for the `_sorted_by` routines below. This takes the left (existing)
278
+ /// parameter by reference in order to work with the generic sorting function above.
279
+ #define _compare_int(a, b) ((int)*(a) - (int)(b))
280
+
281
+ #ifdef _MSC_VER
282
+ #pragma warning(pop)
283
+ #elif defined(__GNUC__) || defined(__clang__)
284
+ #pragma GCC diagnostic pop
285
+ #endif
286
+
287
+ #ifdef __cplusplus
288
+ }
289
+ #endif
290
+
291
+ #endif // TREE_SITTER_ARRAY_H_
@@ -0,0 +1,68 @@
1
+ #ifndef TREE_SITTER_ATOMIC_H_
2
+ #define TREE_SITTER_ATOMIC_H_
3
+
4
+ #include <stddef.h>
5
+ #include <stdint.h>
6
+ #include <stdlib.h>
7
+
8
+ #ifdef __TINYC__
9
+
10
+ static inline size_t atomic_load(const volatile size_t *p) {
11
+ return *p;
12
+ }
13
+
14
+ static inline uint32_t atomic_inc(volatile uint32_t *p) {
15
+ *p += 1;
16
+ return *p;
17
+ }
18
+
19
+ static inline uint32_t atomic_dec(volatile uint32_t *p) {
20
+ *p-= 1;
21
+ return *p;
22
+ }
23
+
24
+ #elif defined(_WIN32)
25
+
26
+ #include <windows.h>
27
+
28
+ static inline size_t atomic_load(const volatile size_t *p) {
29
+ return *p;
30
+ }
31
+
32
+ static inline uint32_t atomic_inc(volatile uint32_t *p) {
33
+ return InterlockedIncrement((long volatile *)p);
34
+ }
35
+
36
+ static inline uint32_t atomic_dec(volatile uint32_t *p) {
37
+ return InterlockedDecrement((long volatile *)p);
38
+ }
39
+
40
+ #else
41
+
42
+ static inline size_t atomic_load(const volatile size_t *p) {
43
+ #ifdef __ATOMIC_RELAXED
44
+ return __atomic_load_n(p, __ATOMIC_RELAXED);
45
+ #else
46
+ return __sync_fetch_and_add((volatile size_t *)p, 0);
47
+ #endif
48
+ }
49
+
50
+ static inline uint32_t atomic_inc(volatile uint32_t *p) {
51
+ #ifdef __ATOMIC_RELAXED
52
+ return __atomic_add_fetch(p, 1U, __ATOMIC_SEQ_CST);
53
+ #else
54
+ return __sync_add_and_fetch(p, 1U);
55
+ #endif
56
+ }
57
+
58
+ static inline uint32_t atomic_dec(volatile uint32_t *p) {
59
+ #ifdef __ATOMIC_RELAXED
60
+ return __atomic_sub_fetch(p, 1U, __ATOMIC_SEQ_CST);
61
+ #else
62
+ return __sync_sub_and_fetch(p, 1U);
63
+ #endif
64
+ }
65
+
66
+ #endif
67
+
68
+ #endif // TREE_SITTER_ATOMIC_H_
@@ -0,0 +1,146 @@
1
+ #ifndef TREE_SITTER_CLOCK_H_
2
+ #define TREE_SITTER_CLOCK_H_
3
+
4
+ #include <stdbool.h>
5
+ #include <stdint.h>
6
+
7
+ typedef uint64_t TSDuration;
8
+
9
+ #ifdef _WIN32
10
+
11
+ // Windows:
12
+ // * Represent a time as a performance counter value.
13
+ // * Represent a duration as a number of performance counter ticks.
14
+
15
+ #include <windows.h>
16
+ typedef uint64_t TSClock;
17
+
18
+ static inline TSDuration duration_from_micros(uint64_t micros) {
19
+ LARGE_INTEGER frequency;
20
+ QueryPerformanceFrequency(&frequency);
21
+ return micros * (uint64_t)frequency.QuadPart / 1000000;
22
+ }
23
+
24
+ static inline uint64_t duration_to_micros(TSDuration self) {
25
+ LARGE_INTEGER frequency;
26
+ QueryPerformanceFrequency(&frequency);
27
+ return self * 1000000 / (uint64_t)frequency.QuadPart;
28
+ }
29
+
30
+ static inline TSClock clock_null(void) {
31
+ return 0;
32
+ }
33
+
34
+ static inline TSClock clock_now(void) {
35
+ LARGE_INTEGER result;
36
+ QueryPerformanceCounter(&result);
37
+ return (uint64_t)result.QuadPart;
38
+ }
39
+
40
+ static inline TSClock clock_after(TSClock base, TSDuration duration) {
41
+ return base + duration;
42
+ }
43
+
44
+ static inline bool clock_is_null(TSClock self) {
45
+ return !self;
46
+ }
47
+
48
+ static inline bool clock_is_gt(TSClock self, TSClock other) {
49
+ return self > other;
50
+ }
51
+
52
+ #elif defined(CLOCK_MONOTONIC) && !defined(__APPLE__)
53
+
54
+ // POSIX with monotonic clock support (Linux)
55
+ // * Represent a time as a monotonic (seconds, nanoseconds) pair.
56
+ // * Represent a duration as a number of microseconds.
57
+ //
58
+ // On these platforms, parse timeouts will correspond accurately to
59
+ // real time, regardless of what other processes are running.
60
+
61
+ #include <time.h>
62
+ typedef struct timespec TSClock;
63
+
64
+ static inline TSDuration duration_from_micros(uint64_t micros) {
65
+ return micros;
66
+ }
67
+
68
+ static inline uint64_t duration_to_micros(TSDuration self) {
69
+ return self;
70
+ }
71
+
72
+ static inline TSClock clock_now(void) {
73
+ TSClock result;
74
+ clock_gettime(CLOCK_MONOTONIC, &result);
75
+ return result;
76
+ }
77
+
78
+ static inline TSClock clock_null(void) {
79
+ return (TSClock) {0, 0};
80
+ }
81
+
82
+ static inline TSClock clock_after(TSClock base, TSDuration duration) {
83
+ TSClock result = base;
84
+ result.tv_sec += duration / 1000000;
85
+ result.tv_nsec += (duration % 1000000) * 1000;
86
+ if (result.tv_nsec >= 1000000000) {
87
+ result.tv_nsec -= 1000000000;
88
+ ++(result.tv_sec);
89
+ }
90
+ return result;
91
+ }
92
+
93
+ static inline bool clock_is_null(TSClock self) {
94
+ return !self.tv_sec && !self.tv_nsec;
95
+ }
96
+
97
+ static inline bool clock_is_gt(TSClock self, TSClock other) {
98
+ if (self.tv_sec > other.tv_sec) return true;
99
+ if (self.tv_sec < other.tv_sec) return false;
100
+ return self.tv_nsec > other.tv_nsec;
101
+ }
102
+
103
+ #else
104
+
105
+ // macOS or POSIX without monotonic clock support
106
+ // * Represent a time as a process clock value.
107
+ // * Represent a duration as a number of process clock ticks.
108
+ //
109
+ // On these platforms, parse timeouts may be affected by other processes,
110
+ // which is not ideal, but is better than using a non-monotonic time API
111
+ // like `gettimeofday`.
112
+
113
+ #include <time.h>
114
+ typedef uint64_t TSClock;
115
+
116
+ static inline TSDuration duration_from_micros(uint64_t micros) {
117
+ return micros * (uint64_t)CLOCKS_PER_SEC / 1000000;
118
+ }
119
+
120
+ static inline uint64_t duration_to_micros(TSDuration self) {
121
+ return self * 1000000 / (uint64_t)CLOCKS_PER_SEC;
122
+ }
123
+
124
+ static inline TSClock clock_null(void) {
125
+ return 0;
126
+ }
127
+
128
+ static inline TSClock clock_now(void) {
129
+ return (uint64_t)clock();
130
+ }
131
+
132
+ static inline TSClock clock_after(TSClock base, TSDuration duration) {
133
+ return base + duration;
134
+ }
135
+
136
+ static inline bool clock_is_null(TSClock self) {
137
+ return !self;
138
+ }
139
+
140
+ static inline bool clock_is_gt(TSClock self, TSClock other) {
141
+ return self > other;
142
+ }
143
+
144
+ #endif
145
+
146
+ #endif // TREE_SITTER_CLOCK_H_
@@ -0,0 +1,11 @@
1
+ #ifndef TREE_SITTER_ERROR_COSTS_H_
2
+ #define TREE_SITTER_ERROR_COSTS_H_
3
+
4
+ #define ERROR_STATE 0
5
+ #define ERROR_COST_PER_RECOVERY 500
6
+ #define ERROR_COST_PER_MISSING_TREE 110
7
+ #define ERROR_COST_PER_SKIPPED_TREE 100
8
+ #define ERROR_COST_PER_SKIPPED_LINE 30
9
+ #define ERROR_COST_PER_SKIPPED_CHAR 1
10
+
11
+ #endif