@coana-tech/cli 14.12.76 → 14.12.77
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.
- package/cli.mjs +1 -1
- package/package.json +1 -1
- package/reachability-analyzers-cli.mjs +1 -1
- package/repos/coana-tech/alucard/alucard.jar +0 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/cli.mjs +24669 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/LICENSE.md +9 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/README.md +95 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/common.gypi +21 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/except.gypi +25 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/index.js +14 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/napi-inl.deprecated.h +186 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/napi-inl.h +6941 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/napi.h +3295 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/node_addon_api.gyp +42 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/node_api.gyp +9 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/noexcept.gypi +26 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/nothing.c +0 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/package-support.json +21 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/package.json +480 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/tools/README.md +73 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/tools/check-napi.js +99 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/tools/clang-format.js +71 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-addon-api/tools/conversion.js +301 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-gyp-build/LICENSE +21 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-gyp-build/README.md +58 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-gyp-build/SECURITY.md +5 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-gyp-build/bin.js +84 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-gyp-build/build-test.js +19 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-gyp-build/index.js +6 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-gyp-build/node-gyp-build.js +207 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-gyp-build/optional.js +7 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/node-gyp-build/package.json +43 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/LICENSE +21 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/README.md +128 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/binding.gyp +80 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/index.js +919 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/node_modules/.bin/node-gyp-build +16 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/node_modules/.bin/node-gyp-build-optional +16 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/node_modules/.bin/node-gyp-build-test +16 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/package.json +76 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/prebuilds/darwin-arm64/tree-sitter.node +0 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/prebuilds/darwin-x64/tree-sitter.node +0 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/prebuilds/linux-arm64/tree-sitter.node +0 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/prebuilds/linux-x64/tree-sitter.node +0 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/prebuilds/win32-arm64/tree-sitter.node +0 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/prebuilds/win32-x64/tree-sitter.node +0 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/addon_data.h +47 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/binding.cc +35 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/conversions.cc +140 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/conversions.h +22 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/language.cc +106 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/language.h +17 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/logger.cc +70 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/logger.h +19 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/lookaheaditerator.cc +122 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/lookaheaditerator.h +33 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/node.cc +1088 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/node.h +30 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/parser.cc +306 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/parser.h +35 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/query.cc +397 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/query.h +40 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/tree.cc +316 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/tree.h +45 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/tree_cursor.cc +213 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/src/tree_cursor.h +52 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/tree-sitter.d.ts +1042 -0
- 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
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/alloc.c +48 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/alloc.h +41 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/array.h +291 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/atomic.h +68 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/clock.h +146 -0
- 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
- 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
- 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
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/host.h +21 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/language.c +223 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/language.h +297 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/length.h +52 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/lexer.c +435 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/lexer.h +49 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/lib.c +12 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/node.c +920 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/parser.c +2165 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/parser.h +266 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/point.h +62 -0
- 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
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/query.c +4187 -0
- 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
- 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
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/stack.c +899 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/stack.h +130 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/subtree.c +1066 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/subtree.h +399 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/tree.c +170 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/tree.h +31 -0
- 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
- 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
- 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
- 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
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/LICENSE +414 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode.h +83 -0
- 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
- 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
- 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
- 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
- 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
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/LICENSE +22 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/README.md +21 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/binding.gyp +30 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/bindings/node/binding.cc +20 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/bindings/node/binding_test.js +9 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/bindings/node/index.d.ts +28 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/bindings/node/index.js +11 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/grammar.js +1281 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/node_modules/.bin/node-gyp-build +16 -0
- 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
- 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
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/package.json +77 -0
- 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
- 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
- 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
- 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
- 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
- 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
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/queries/highlights.scm +154 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/queries/locals.scm +27 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/queries/tags.scm +64 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/src/grammar.json +8364 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/src/node-types.json +4108 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/src/parser.c +471247 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/src/scanner.c +1107 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/src/tree_sitter/alloc.h +54 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/src/tree_sitter/array.h +290 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/src/tree_sitter/parser.h +266 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/tree-sitter-ruby.wasm +0 -0
- package/repos/coana-tech/callgraph-reachability-analyzers/packages/cli/dist/bundle/node_modules/tree-sitter-ruby/tree-sitter.json +46 -0
- package/repos/coana-tech/goana/bin/goana-darwin-amd64.gz +0 -0
- package/repos/coana-tech/goana/bin/goana-darwin-arm64.gz +0 -0
- package/repos/coana-tech/goana/bin/goana-linux-amd64.gz +0 -0
- package/repos/coana-tech/goana/bin/goana-linux-arm64.gz +0 -0
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
var fs = require('fs')
|
|
2
|
+
var path = require('path')
|
|
3
|
+
var os = require('os')
|
|
4
|
+
|
|
5
|
+
// Workaround to fix webpack's build warnings: 'the request of a dependency is an expression'
|
|
6
|
+
var runtimeRequire = typeof __webpack_require__ === 'function' ? __non_webpack_require__ : require // eslint-disable-line
|
|
7
|
+
|
|
8
|
+
var vars = (process.config && process.config.variables) || {}
|
|
9
|
+
var prebuildsOnly = !!process.env.PREBUILDS_ONLY
|
|
10
|
+
var abi = process.versions.modules // TODO: support old node where this is undef
|
|
11
|
+
var runtime = isElectron() ? 'electron' : (isNwjs() ? 'node-webkit' : 'node')
|
|
12
|
+
|
|
13
|
+
var arch = process.env.npm_config_arch || os.arch()
|
|
14
|
+
var platform = process.env.npm_config_platform || os.platform()
|
|
15
|
+
var libc = process.env.LIBC || (isAlpine(platform) ? 'musl' : 'glibc')
|
|
16
|
+
var armv = process.env.ARM_VERSION || (arch === 'arm64' ? '8' : vars.arm_version) || ''
|
|
17
|
+
var uv = (process.versions.uv || '').split('.')[0]
|
|
18
|
+
|
|
19
|
+
module.exports = load
|
|
20
|
+
|
|
21
|
+
function load (dir) {
|
|
22
|
+
return runtimeRequire(load.resolve(dir))
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
load.resolve = load.path = function (dir) {
|
|
26
|
+
dir = path.resolve(dir || '.')
|
|
27
|
+
|
|
28
|
+
try {
|
|
29
|
+
var name = runtimeRequire(path.join(dir, 'package.json')).name.toUpperCase().replace(/-/g, '_')
|
|
30
|
+
if (process.env[name + '_PREBUILD']) dir = process.env[name + '_PREBUILD']
|
|
31
|
+
} catch (err) {}
|
|
32
|
+
|
|
33
|
+
if (!prebuildsOnly) {
|
|
34
|
+
var release = getFirst(path.join(dir, 'build/Release'), matchBuild)
|
|
35
|
+
if (release) return release
|
|
36
|
+
|
|
37
|
+
var debug = getFirst(path.join(dir, 'build/Debug'), matchBuild)
|
|
38
|
+
if (debug) return debug
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
var prebuild = resolve(dir)
|
|
42
|
+
if (prebuild) return prebuild
|
|
43
|
+
|
|
44
|
+
var nearby = resolve(path.dirname(process.execPath))
|
|
45
|
+
if (nearby) return nearby
|
|
46
|
+
|
|
47
|
+
var target = [
|
|
48
|
+
'platform=' + platform,
|
|
49
|
+
'arch=' + arch,
|
|
50
|
+
'runtime=' + runtime,
|
|
51
|
+
'abi=' + abi,
|
|
52
|
+
'uv=' + uv,
|
|
53
|
+
armv ? 'armv=' + armv : '',
|
|
54
|
+
'libc=' + libc,
|
|
55
|
+
'node=' + process.versions.node,
|
|
56
|
+
process.versions.electron ? 'electron=' + process.versions.electron : '',
|
|
57
|
+
typeof __webpack_require__ === 'function' ? 'webpack=true' : '' // eslint-disable-line
|
|
58
|
+
].filter(Boolean).join(' ')
|
|
59
|
+
|
|
60
|
+
throw new Error('No native build was found for ' + target + '\n loaded from: ' + dir + '\n')
|
|
61
|
+
|
|
62
|
+
function resolve (dir) {
|
|
63
|
+
// Find matching "prebuilds/<platform>-<arch>" directory
|
|
64
|
+
var tuples = readdirSync(path.join(dir, 'prebuilds')).map(parseTuple)
|
|
65
|
+
var tuple = tuples.filter(matchTuple(platform, arch)).sort(compareTuples)[0]
|
|
66
|
+
if (!tuple) return
|
|
67
|
+
|
|
68
|
+
// Find most specific flavor first
|
|
69
|
+
var prebuilds = path.join(dir, 'prebuilds', tuple.name)
|
|
70
|
+
var parsed = readdirSync(prebuilds).map(parseTags)
|
|
71
|
+
var candidates = parsed.filter(matchTags(runtime, abi))
|
|
72
|
+
var winner = candidates.sort(compareTags(runtime))[0]
|
|
73
|
+
if (winner) return path.join(prebuilds, winner.file)
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
function readdirSync (dir) {
|
|
78
|
+
try {
|
|
79
|
+
return fs.readdirSync(dir)
|
|
80
|
+
} catch (err) {
|
|
81
|
+
return []
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
function getFirst (dir, filter) {
|
|
86
|
+
var files = readdirSync(dir).filter(filter)
|
|
87
|
+
return files[0] && path.join(dir, files[0])
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
function matchBuild (name) {
|
|
91
|
+
return /\.node$/.test(name)
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
function parseTuple (name) {
|
|
95
|
+
// Example: darwin-x64+arm64
|
|
96
|
+
var arr = name.split('-')
|
|
97
|
+
if (arr.length !== 2) return
|
|
98
|
+
|
|
99
|
+
var platform = arr[0]
|
|
100
|
+
var architectures = arr[1].split('+')
|
|
101
|
+
|
|
102
|
+
if (!platform) return
|
|
103
|
+
if (!architectures.length) return
|
|
104
|
+
if (!architectures.every(Boolean)) return
|
|
105
|
+
|
|
106
|
+
return { name, platform, architectures }
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
function matchTuple (platform, arch) {
|
|
110
|
+
return function (tuple) {
|
|
111
|
+
if (tuple == null) return false
|
|
112
|
+
if (tuple.platform !== platform) return false
|
|
113
|
+
return tuple.architectures.includes(arch)
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
function compareTuples (a, b) {
|
|
118
|
+
// Prefer single-arch prebuilds over multi-arch
|
|
119
|
+
return a.architectures.length - b.architectures.length
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
function parseTags (file) {
|
|
123
|
+
var arr = file.split('.')
|
|
124
|
+
var extension = arr.pop()
|
|
125
|
+
var tags = { file: file, specificity: 0 }
|
|
126
|
+
|
|
127
|
+
if (extension !== 'node') return
|
|
128
|
+
|
|
129
|
+
for (var i = 0; i < arr.length; i++) {
|
|
130
|
+
var tag = arr[i]
|
|
131
|
+
|
|
132
|
+
if (tag === 'node' || tag === 'electron' || tag === 'node-webkit') {
|
|
133
|
+
tags.runtime = tag
|
|
134
|
+
} else if (tag === 'napi') {
|
|
135
|
+
tags.napi = true
|
|
136
|
+
} else if (tag.slice(0, 3) === 'abi') {
|
|
137
|
+
tags.abi = tag.slice(3)
|
|
138
|
+
} else if (tag.slice(0, 2) === 'uv') {
|
|
139
|
+
tags.uv = tag.slice(2)
|
|
140
|
+
} else if (tag.slice(0, 4) === 'armv') {
|
|
141
|
+
tags.armv = tag.slice(4)
|
|
142
|
+
} else if (tag === 'glibc' || tag === 'musl') {
|
|
143
|
+
tags.libc = tag
|
|
144
|
+
} else {
|
|
145
|
+
continue
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
tags.specificity++
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
return tags
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
function matchTags (runtime, abi) {
|
|
155
|
+
return function (tags) {
|
|
156
|
+
if (tags == null) return false
|
|
157
|
+
if (tags.runtime && tags.runtime !== runtime && !runtimeAgnostic(tags)) return false
|
|
158
|
+
if (tags.abi && tags.abi !== abi && !tags.napi) return false
|
|
159
|
+
if (tags.uv && tags.uv !== uv) return false
|
|
160
|
+
if (tags.armv && tags.armv !== armv) return false
|
|
161
|
+
if (tags.libc && tags.libc !== libc) return false
|
|
162
|
+
|
|
163
|
+
return true
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
function runtimeAgnostic (tags) {
|
|
168
|
+
return tags.runtime === 'node' && tags.napi
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
function compareTags (runtime) {
|
|
172
|
+
// Precedence: non-agnostic runtime, abi over napi, then by specificity.
|
|
173
|
+
return function (a, b) {
|
|
174
|
+
if (a.runtime !== b.runtime) {
|
|
175
|
+
return a.runtime === runtime ? -1 : 1
|
|
176
|
+
} else if (a.abi !== b.abi) {
|
|
177
|
+
return a.abi ? -1 : 1
|
|
178
|
+
} else if (a.specificity !== b.specificity) {
|
|
179
|
+
return a.specificity > b.specificity ? -1 : 1
|
|
180
|
+
} else {
|
|
181
|
+
return 0
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
function isNwjs () {
|
|
187
|
+
return !!(process.versions && process.versions.nw)
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
function isElectron () {
|
|
191
|
+
if (process.versions && process.versions.electron) return true
|
|
192
|
+
if (process.env.ELECTRON_RUN_AS_NODE) return true
|
|
193
|
+
return typeof window !== 'undefined' && window.process && window.process.type === 'renderer'
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
function isAlpine (platform) {
|
|
197
|
+
return platform === 'linux' && fs.existsSync('/etc/alpine-release')
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
// Exposed for unit tests
|
|
201
|
+
// TODO: move to lib
|
|
202
|
+
load.parseTags = parseTags
|
|
203
|
+
load.matchTags = matchTags
|
|
204
|
+
load.compareTags = compareTags
|
|
205
|
+
load.parseTuple = parseTuple
|
|
206
|
+
load.matchTuple = matchTuple
|
|
207
|
+
load.compareTuples = compareTuples
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "node-gyp-build",
|
|
3
|
+
"version": "4.8.4",
|
|
4
|
+
"description": "Build tool and bindings loader for node-gyp that supports prebuilds",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"imports": {
|
|
7
|
+
"fs": {
|
|
8
|
+
"bare": "builtin:fs",
|
|
9
|
+
"default": "fs"
|
|
10
|
+
},
|
|
11
|
+
"path": {
|
|
12
|
+
"bare": "builtin:path",
|
|
13
|
+
"default": "path"
|
|
14
|
+
},
|
|
15
|
+
"os": {
|
|
16
|
+
"bare": "builtin:os",
|
|
17
|
+
"default": "os"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"array-shuffle": "^1.0.1",
|
|
22
|
+
"standard": "^14.0.0",
|
|
23
|
+
"tape": "^5.0.0"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"test": "standard && node test"
|
|
27
|
+
},
|
|
28
|
+
"bin": {
|
|
29
|
+
"node-gyp-build": "./bin.js",
|
|
30
|
+
"node-gyp-build-optional": "./optional.js",
|
|
31
|
+
"node-gyp-build-test": "./build-test.js"
|
|
32
|
+
},
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "https://github.com/prebuild/node-gyp-build.git"
|
|
36
|
+
},
|
|
37
|
+
"author": "Mathias Buus (@mafintosh)",
|
|
38
|
+
"license": "MIT",
|
|
39
|
+
"bugs": {
|
|
40
|
+
"url": "https://github.com/prebuild/node-gyp-build/issues"
|
|
41
|
+
},
|
|
42
|
+
"homepage": "https://github.com/prebuild/node-gyp-build"
|
|
43
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2014 maxbrunsfeld
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# Node Tree-sitter
|
|
2
|
+
|
|
3
|
+
[![CI][ci]](https://github.com/tree-sitter/node-tree-sitter/actions/workflows/ci.yml)
|
|
4
|
+
[![npm][npm]](https://npmjs.com/package/tree-sitter)
|
|
5
|
+
[![docs][docs]](https://tree-sitter.github.io/node-tree-sitter)
|
|
6
|
+
|
|
7
|
+
This module provides Node.js bindings to the [tree-sitter] parsing library.
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
npm install tree-sitter
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Basic Usage
|
|
16
|
+
|
|
17
|
+
### Prerequisites
|
|
18
|
+
|
|
19
|
+
First, you'll need a Tree-sitter grammar for the language you want to parse. There are many [existing grammars][grammars],
|
|
20
|
+
such as [tree-sitter-javascript][javascript]. These grammars can typically be installed with a package manager like NPM,
|
|
21
|
+
so long as the author has published them.
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
npm install tree-sitter-javascript
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
You can also develop a new grammar by using the [Tree-sitter CLI][cli] and following the [docs][ts docs].
|
|
28
|
+
|
|
29
|
+
### Parsing Source Code
|
|
30
|
+
|
|
31
|
+
Once you've got your grammar, create a parser with that grammar.
|
|
32
|
+
|
|
33
|
+
```javascript
|
|
34
|
+
const Parser = require('tree-sitter');
|
|
35
|
+
const JavaScript = require('tree-sitter-javascript');
|
|
36
|
+
|
|
37
|
+
const parser = new Parser();
|
|
38
|
+
parser.setLanguage(JavaScript);
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Then you can parse some source code,
|
|
42
|
+
|
|
43
|
+
```javascript
|
|
44
|
+
const sourceCode = 'let x = 1; console.log(x);';
|
|
45
|
+
const tree = parser.parse(sourceCode);
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
and inspect the syntax tree.
|
|
49
|
+
|
|
50
|
+
```javascript
|
|
51
|
+
console.log(tree.rootNode.toString());
|
|
52
|
+
|
|
53
|
+
// (program
|
|
54
|
+
// (lexical_declaration
|
|
55
|
+
// (variable_declarator (identifier) (number)))
|
|
56
|
+
// (expression_statement
|
|
57
|
+
// (call_expression
|
|
58
|
+
// (member_expression (identifier) (property_identifier))
|
|
59
|
+
// (arguments (identifier)))))
|
|
60
|
+
|
|
61
|
+
const callExpression = tree.rootNode.child(1).firstChild;
|
|
62
|
+
console.log(callExpression);
|
|
63
|
+
|
|
64
|
+
// {
|
|
65
|
+
// type: 'call_expression',
|
|
66
|
+
// startPosition: {row: 0, column: 16},
|
|
67
|
+
// endPosition: {row: 0, column: 30},
|
|
68
|
+
// startIndex: 0,
|
|
69
|
+
// endIndex: 30
|
|
70
|
+
// }
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
If your source code *changes*, you can update the syntax tree. This is much faster than the first parse.
|
|
74
|
+
|
|
75
|
+
```javascript
|
|
76
|
+
// In the code, we replaced 'let' with 'const'.
|
|
77
|
+
// So, we set our old end index to 3, and our new end index to 5.
|
|
78
|
+
// Note that the end index is exclusive.
|
|
79
|
+
const newSourceCode = 'const x = 1; console.log(x);';
|
|
80
|
+
// ^ ^
|
|
81
|
+
// indices: 3 5
|
|
82
|
+
// points: (0,3) (0,5)
|
|
83
|
+
|
|
84
|
+
tree.edit({
|
|
85
|
+
startIndex: 0,
|
|
86
|
+
oldEndIndex: 3,
|
|
87
|
+
newEndIndex: 5,
|
|
88
|
+
startPosition: {row: 0, column: 0},
|
|
89
|
+
oldEndPosition: {row: 0, column: 3},
|
|
90
|
+
newEndPosition: {row: 0, column: 5},
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
const newTree = parser.parse(newSourceCode, tree);
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Parsing Text From a Custom Data Structure
|
|
97
|
+
|
|
98
|
+
If your text is stored in a data structure other than a single string, such as a rope or array, you can parse it by supplying
|
|
99
|
+
a callback to `parse` instead of a string:
|
|
100
|
+
|
|
101
|
+
```javascript
|
|
102
|
+
const sourceLines = [
|
|
103
|
+
'let x = 1;',
|
|
104
|
+
'console.log(x);'
|
|
105
|
+
];
|
|
106
|
+
|
|
107
|
+
const tree = parser.parse((index, position) => {
|
|
108
|
+
let line = sourceLines[position.row];
|
|
109
|
+
if (line) {
|
|
110
|
+
return line.slice(position.column);
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Further Reading
|
|
116
|
+
|
|
117
|
+
It's recommended that you read the [Tree-sitter documentation][usage docs] on using parsers to get a higher-level overview
|
|
118
|
+
of the API. Once you're comfortable with the basics, you can explore the [full API documentation](https://tree-sitter.github.io/node-tree-sitter),
|
|
119
|
+
which should map closely to the C API, though there are some differences.
|
|
120
|
+
|
|
121
|
+
[ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter/node-tree-sitter/ci.yml?logo=github&label=CI
|
|
122
|
+
[cli]: https://github.com/tree-sitter/tree-sitter/tree/master/cli
|
|
123
|
+
[docs]: https://img.shields.io/badge/docs-website-blue
|
|
124
|
+
[npm]: https://img.shields.io/npm/v/tree-sitter?logo=npm
|
|
125
|
+
[grammars]: https://github.com/tree-sitter/tree-sitter/wiki/List-of-parsers
|
|
126
|
+
[javascript]: http://github.com/tree-sitter/tree-sitter-javascript
|
|
127
|
+
[ts docs]: https://tree-sitter.github.io/tree-sitter/creating-parsers
|
|
128
|
+
[usage docs]: https://tree-sitter.github.io/tree-sitter/using-parsers
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"targets": [
|
|
3
|
+
{
|
|
4
|
+
"target_name": "tree_sitter_runtime_binding",
|
|
5
|
+
"dependencies": [
|
|
6
|
+
"tree_sitter",
|
|
7
|
+
"<!(node -p \"require('node-addon-api').targets\"):node_addon_api_except",
|
|
8
|
+
],
|
|
9
|
+
"sources": [
|
|
10
|
+
"src/binding.cc",
|
|
11
|
+
"src/conversions.cc",
|
|
12
|
+
"src/language.cc",
|
|
13
|
+
"src/logger.cc",
|
|
14
|
+
"src/lookaheaditerator.cc",
|
|
15
|
+
"src/node.cc",
|
|
16
|
+
"src/parser.cc",
|
|
17
|
+
"src/query.cc",
|
|
18
|
+
"src/tree.cc",
|
|
19
|
+
"src/tree_cursor.cc",
|
|
20
|
+
],
|
|
21
|
+
"include_dirs": [
|
|
22
|
+
"vendor/tree-sitter/lib/include",
|
|
23
|
+
],
|
|
24
|
+
"defines": [
|
|
25
|
+
"NAPI_VERSION=<(napi_build_version)",
|
|
26
|
+
],
|
|
27
|
+
"cflags_cc": [
|
|
28
|
+
"-std=c++17"
|
|
29
|
+
],
|
|
30
|
+
"conditions": [
|
|
31
|
+
["OS=='mac'", {
|
|
32
|
+
"xcode_settings": {
|
|
33
|
+
"GCC_SYMBOLS_PRIVATE_EXTERN": "YES", # -fvisibility=hidden
|
|
34
|
+
"CLANG_CXX_LANGUAGE_STANDARD": "c++17",
|
|
35
|
+
"MACOSX_DEPLOYMENT_TARGET": "10.9",
|
|
36
|
+
},
|
|
37
|
+
}],
|
|
38
|
+
["OS=='win'", {
|
|
39
|
+
"msvs_settings": {
|
|
40
|
+
"VCCLCompilerTool": {
|
|
41
|
+
"AdditionalOptions": [
|
|
42
|
+
"/std:c++17",
|
|
43
|
+
],
|
|
44
|
+
"RuntimeLibrary": 0,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
}],
|
|
48
|
+
["OS == 'linux'", {
|
|
49
|
+
"cflags_cc": [
|
|
50
|
+
"-Wno-cast-function-type"
|
|
51
|
+
]
|
|
52
|
+
}],
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"target_name": "tree_sitter",
|
|
57
|
+
"type": "static_library",
|
|
58
|
+
"sources": [
|
|
59
|
+
"vendor/tree-sitter/lib/src/lib.c"
|
|
60
|
+
],
|
|
61
|
+
"include_dirs": [
|
|
62
|
+
"vendor/tree-sitter/lib/src",
|
|
63
|
+
"vendor/tree-sitter/lib/include",
|
|
64
|
+
],
|
|
65
|
+
"cflags": [
|
|
66
|
+
"-std=c11"
|
|
67
|
+
],
|
|
68
|
+
"defines": [
|
|
69
|
+
"_POSIX_C_SOURCE=200112L",
|
|
70
|
+
"_DEFAULT_SOURCE",
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"variables": {
|
|
75
|
+
"runtime%": "node",
|
|
76
|
+
"openssl_fips": "",
|
|
77
|
+
"v8_enable_pointer_compression%": 0,
|
|
78
|
+
"v8_enable_31bit_smis_on_64bit_arch%": 0,
|
|
79
|
+
}
|
|
80
|
+
}
|