File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,15 @@ void main() {
77 final parser = Parser (
88 sharedLibrary: resolveDylibPath ('dart' , path: Directory .current.path),
99 entryPoint: 'tree_sitter_dart' );
10- final program = "class A {}" ;
10+ const program = "class A {}" ;
11+ // const program = r"""
12+ // void main() {
13+ // test('', () {
14+ // 'åÅ';
15+ // 'åÅ';
16+ // });
17+ // }
18+ // """;
1119 final tree = parser.parse (program);
1220 print (tree.root.child (0 ).namedChild (0 ).string);
1321 print (parser.getText (tree.root.child (0 ).namedChild (0 )));
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ version: 0.1.1
44repository : https://github.com/UserNobody14/tree-sitter-dart
55
66environment :
7- sdk : " >=3.0.0 <3.2 .0"
7+ sdk : " >=3.0.0 <3.4 .0"
88
99dependencies :
1010 dylib : ^0.3.3
You can’t perform that action at this time.
0 commit comments