Merge branch 'master' of github.com:UserNobody13/tree-sitter-dart into master

pull/185/head
Tim Whiting 2020-11-14 13:11:31 +07:00
commit 9432021ba6
4 changed files with 297 additions and 305 deletions

@ -2563,7 +2563,7 @@ module.exports = grammar({
_semicolon: $ => seq(';', optional($._automatic_semicolon)),
identifier: $ => /[a-zA-Z_$][\w$]*/,
identifier_dollar_escaped: $ => /([a-zA-Z_]|(\\\$))([\w]\\\$)*/,
identifier_dollar_escaped: $ => /([a-zA-Z_]|(\\\$))([\w]|(\\\$))*/,
//TODO: add support for triple-slash comments as a special category.
// Trying to add support for nested multiline comments.
// http://stackoverflow.com/questions/13014947/regex-to-match-a-c-style-multiline-comment/36328890#36328890

@ -14,8 +14,8 @@
"nan": "^2.14.0"
},
"devDependencies": {
"npm-watch": "^0.3.0",
"node-gyp": "^5.1.1",
"npm-watch": "^0.3.0",
"tree-sitter-cli": "^0.16.5"
},
"watch": {

@ -9623,7 +9623,7 @@
},
"identifier_dollar_escaped": {
"type": "PATTERN",
"value": "([a-zA-Z_]|(\\\\\\$))([\\w]\\\\\\$)*"
"value": "([a-zA-Z_]|(\\\\\\$))([\\w]|(\\\\\\$))*"
},
"comment": {
"type": "TOKEN",

File diff suppressed because it is too large Load Diff