Skip to content
This repository was archived by the owner on Nov 12, 2024. It is now read-only.

sync upstream#1

Open
HerringtonDarkholme wants to merge 84 commits intoast-grep:masterfrom
UserNobody14:master
Open

sync upstream#1
HerringtonDarkholme wants to merge 84 commits intoast-grep:masterfrom
UserNobody14:master

Conversation

@HerringtonDarkholme
Copy link
Member

No description provided.

theHamsta and others added 30 commits April 15, 2023 13:55
fix: allow try_statement without catch/finally_clause
@wetneb
Copy link

wetneb commented Nov 10, 2024

It looks like this was already published on crates.io as 0.0.4? https://crates.io/crates/tree-sitter-dart/0.0.4
I'm a bit puzzled to see this release there but not in the master branch of this repository.

@HerringtonDarkholme
Copy link
Member Author

@wetneb no, this repo is forked from the original dart grammar for ast-grep usage.

However, this is against the criteria of a built-in language of ast-grep. I am deprecating the builitn dart support and archive this repo.

thecoolwinter and others added 15 commits November 16, 2024 19:10
fix: add scanner to python setup
* Add extension type declaration support with tests

Co-authored-by: TimWhiting <15617545+TimWhiting@users.noreply.github.com>

* Add test for metadata in representation declaration

Co-authored-by: TimWhiting <15617545+TimWhiting@users.noreply.github.com>

* Fix extension type test expectations and regenerate grammar

Co-authored-by: TimWhiting <15617545+TimWhiting@users.noreply.github.com>

* update versions, fix some test failures

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TimWhiting <15617545+TimWhiting@users.noreply.github.com>
Co-authored-by: Tim Whiting <tim@whitings.org>
…patibility (#85)

* Add tree-sitter.json configuration file for tree-sitter 0.25.x

Co-authored-by: TimWhiting <15617545+TimWhiting@users.noreply.github.com>

* Fix tree-sitter 0.25.x configuration with proper metadata field

Co-authored-by: TimWhiting <15617545+TimWhiting@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TimWhiting <15617545+TimWhiting@users.noreply.github.com>
* Fix memory leak by making NativeFinalizer instances static

Co-authored-by: TimWhiting <15617545+TimWhiting@users.noreply.github.com>

* Bump version to 0.2.1 and update CHANGELOG

Co-authored-by: TimWhiting <15617545+TimWhiting@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TimWhiting <15617545+TimWhiting@users.noreply.github.com>
…#89)

* Fix set/get contextual keywords to work as identifiers

Co-authored-by: TimWhiting <15617545+TimWhiting@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TimWhiting <15617545+TimWhiting@users.noreply.github.com>
outside getter and setter declarations.

- Added alias($._get, $.identifier) and alias($._set, $.identifier) to _simple_formal_parameter,
  so the parser also accepts them as parameter names.
- Added alias($._get, $.identifier) and alias($._set, $.identifier) to the name field of _declared_identifier.
- [Highlighting]: Removed "get" and "set" from the generic keyword list and added them specifically inside
  getter_signature and setter_signature patterns, so they're only highlighted as keywords when they're used
  in getter/setter declarations.
* Initial plan

* Add Dart 3.10 dot shorthand grammar rule and tests

Co-authored-by: TimWhiting <15617545+TimWhiting@users.noreply.github.com>

* Add support for null-aware elements and external members, and object patterns with no parameters

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TimWhiting <15617545+TimWhiting@users.noreply.github.com>
Co-authored-by: Tim Whiting <tim@whitings.org>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.