This repository was archived by the owner on Nov 12, 2024. It is now read-only.
Open
Conversation
fix: allow try_statement without catch/finally_clause
Remove duplicate submodule
…uments and parameters
Additional highlight fixes
fix(grammar): adapt to upstream regex change
Updates for tree-sitter 0.22.6
Fixed Go binding
Support tag query
|
It looks like this was already published on crates.io as 0.0.4? https://crates.io/crates/tree-sitter-dart/0.0.4 |
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. |
Swift - Fix Missing Source File
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>
…nize annotations section (#90)
- The correct key name is `camel-case-name`, not `camelcase`. See <https://github.com/tree-sitter/tree-sitter/blob/v0.26.5/docs/src/assets/schemas/config.schema.json#L18-L26>. - `metadata.links.repository` is required: <https://github.com/tree-sitter/tree-sitter/blob/v0.26.5/docs/src/assets/schemas/config.schema.json#L194-L196>
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.