tree_sitter 0.1.2 tree_sitter: ^0.1.2 copied to clipboard
A tree sitter parsing library
We analyzed this package 7 days ago, and awarded it 105 pub points (of a possible 140):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:2:48
╷
2 │ <p>This library provides Dart bindings for the <a href="http://tree-sitter.github.io/tree-sitter/">Tree Sitter</a> c parsing library. It allows parsing source code into a syntax tree that you can traverse and query.</p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
105 out of 282 API elements (37.2 %) have documentation comments.
Some symbols that are missing documentation: tree_sitter.CancelToken
, tree_sitter.CancelToken.CancelToken
, tree_sitter.CancelToken.cancel
, tree_sitter.CancelToken.CancelToken.fromToken
, tree_sitter.Parser.cancellationFlag
.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:tree_sitter/tree_sitter.dart
that imports:package:tree_sitter/src/generated_bindings.dart
that imports:dart:ffi
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
WARNING: The value of the local variable 'output' isn't used.
bin/gen_grammar.dart:46:9
╷
46 │ final output =
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze bin/gen_grammar.dart
WARNING: The parameter type of '==' operators should be non-nullable.
bin/gen_grammar.freezed.dart:206:17
╷
206 │ bool operator ==(dynamic other) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run dart analyze bin/gen_grammar.freezed.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
^2.4.1 |
2.5.0 | 2.5.0 |
dylib |
^0.3.3 |
0.3.3 | 0.3.3 |
ffi |
^2.0.1 |
2.1.2 | 2.1.2 |
freezed_annotation |
^2.2.0 |
2.4.1 | 2.4.1 |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 |
path |
^1.8.3 |
1.9.0 | 1.9.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
- | 1.18.0 | 1.18.0 |
meta |
- | 1.14.0 | 1.14.0 |
platform |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Dart 3.3.3
.
Check the analysis log for details.