tree_sitter_dart 0.1.1
tree_sitter_dart: ^0.1.1 copied to clipboard
Pure-Dart Tree-sitter table runtime, query engine, and scanner ports.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add tree_sitter_dartThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
tree_sitter_dart: ^0.1.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:tree_sitter_dart/tree_sitter.dart';
import 'package:tree_sitter_dart/tree_sitter_scanners.dart';