Skip to content

Commit 672d0b6

Browse files
committed
add class modifiers support
1 parent 19f8579 commit 672d0b6

16 files changed

+79515
-74388
lines changed

Dart.g

+2,169
Large diffs are not rendered by default.

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2020-2022 UserNobody14 and others
1+
Copyright (c) 2020-2023 UserNobody14 and others
22

33
Permission is hereby granted, free of charge, to any person obtaining
44
a copy of this software and associated documentation files (the

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# tree-sitter-dart
2-
This is a tree-sitter grammar written for the dart programming language. I attempted to adhere as closely as possible to the dart language spec. Initially I started with a copy of the tree-sitter Java grammar which is why there may be a few relics included in here. For the sake of simplifying the syntax tree, many items were made inlined with tree-sitter's "underscore" method of writing rules.
2+
This is a tree-sitter grammar written for the dart programming language. We attempt to adhere as closely as possible to the dart language spec. Initially it was started with a copy of the tree-sitter Java grammar which is why there may be a few relics included in here. For the sake of simplifying the syntax tree, many items were made inlined with tree-sitter's "underscore" method of writing rules.
33

44
# Getting Started
55
- Go to the project directory

grammar.js

+132-163
Large diffs are not rendered by default.

package.json

+14-6
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,23 @@
88
"parser",
99
"dart"
1010
],
11-
"author": "Benjamin Sobel",
11+
"contributors": [
12+
"Benjamin Sobel",
13+
"Tim Whiting <[email protected]>",
14+
"Stephan Seitz <[email protected]>",
15+
"Martin Jambon <[email protected]>",
16+
"Han Wang @hanwangio",
17+
"@akinsho",
18+
"@seb-bl"
19+
],
1220
"license": "ISC",
1321
"dependencies": {
14-
"nan": "^2.15.0"
22+
"nan": "^2.17.0"
1523
},
1624
"devDependencies": {
17-
"node-gyp": "^7.1.2",
18-
"npm-watch": "^0.7.0",
19-
"tree-sitter-cli": "^0.19.5"
25+
"node-gyp": "^9.3.1",
26+
"npm-watch": "^0.11.0",
27+
"tree-sitter-cli": "^0.20.8"
2028
},
2129
"watch": {
2230
"test": {
@@ -55,4 +63,4 @@
5563
"injection-regex": "dart"
5664
}
5765
]
58-
}
66+
}

0 commit comments

Comments
 (0)