tree_sitter 0.2.1 copy "tree_sitter: ^0.2.1" to clipboard
tree_sitter: ^0.2.1 copied to clipboard

A tree sitter parsing library

125/ 160
pub points
6
downloads

We analyzed this package 2 days ago, and awarded it 125 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Failed check 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 50 to 180 characters to describe the package, what it does, and its target use case.

Failed check 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.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

159 out of 364 API elements (43.7 %) have documentation comments.

Some symbols that are missing documentation: tree_sitter.CancelToken, tree_sitter.CancelToken.CancelToken.fromToken, tree_sitter.CancelToken.CancelToken.new, tree_sitter.CancelToken.cancel, tree_sitter.DartDecodeFunctionFunction.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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
Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
args ^2.7.0 2.7.0 2.7.0
dylib ^0.3.3 0.3.3 0.3.3
ffi ^2.1.4 2.1.5 2.1.5
freezed_annotation ^3.1.0 3.1.0 3.1.0
json_annotation ^4.9.0 4.9.0 4.9.0
path ^1.9.1 1.9.1 1.9.1
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
meta - 1.17.0 1.17.0
platform - 3.1.6 3.1.6

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.5, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
125
points
6
downloads

Publisher

unverified uploader

Weekly Downloads

A tree sitter parsing library

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, dylib, ffi, freezed_annotation, json_annotation, path

More

Packages that depend on tree_sitter