Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
The non-tree sitter version is almost completely copied so nothing to say there.

There are some inconsistencies/missing operators in the tree-sitter version, for example:
- `this`
- `new.target`
- `import.meta`
- The keyword.operator order looks more wrong the more I look at it but that's for another day because of the possible scope regularity change in the future: atom/language-javascript#690
- btw atom/language-javascript#691 looks good to me I should probably do that

Even though tree-sitter will have some above changes I added the new operators (`** **= ?? &&= ||= ??= void`) anyway.
Well `void` is not new it's just missing.
See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators for a list of operators. Of course while the comma is technically an operator, hopefully it's used more to separate elements in arrays or properties in objects.

Also `delete` is an operator not control.
  • Loading branch information
icecream17 authored Oct 2, 2022
1 parent bc6f0c0 commit 18d1f19
Show file tree
Hide file tree
Showing 3 changed files with 469 additions and 150 deletions.
Loading

0 comments on commit 18d1f19

Please sign in to comment.