Skip to content

chore(deps): bump tree-sitter-dart from 0.0.4 to 0.2.0#144

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/tree-sitter-dart-0.2.0
Open

chore(deps): bump tree-sitter-dart from 0.0.4 to 0.2.0#144
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/tree-sitter-dart-0.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 28, 2026

Copy link
Copy Markdown
Contributor

Bumps tree-sitter-dart from 0.0.4 to 0.2.0.

Changelog

Sourced from tree-sitter-dart's changelog.

[0.2.0] - 2026-04-26

Major AST shape changes for downstream tools. Existing parse trees change shape; queries against 0.1.0 will need updating.

Added

  • Postfix wrapper nodes: call_expression, instantiation_expression, member_expression, index_expression, null_aware_member_expression, null_aware_index_expression, null_assertion_expression, plus 7 cascade-prefixed parallels (cascade_call_expression, etc.). Each chain step is now a single named subtree.
  • Top-level wrapper nodes: function_declaration, getter_declaration, setter_declaration, external_function_declaration, external_getter_declaration, external_setter_declaration, top_level_variable_declaration, external_variable_declaration. Every branch of _top_level_definition produces exactly one named child of source_file.
  • method_declaration wrapper around method_signature + function_body inside class_member, paralleling function_declaration. Exposes signature: and body: fields.
  • type named wrapper around every type-labeled position. Composite types (generics, function types, record types, nullable forms) nest inside it. Replaces the previously-hidden _type rule.
  • Hidden supertype _instantiation grouping new_expression, const_object_expression, constructor_invocation. Queryable as (_instantiation) without alternation.
  • property: field on cascade_call_expression for simple ..foo() forms, mirroring member_expression.
  • Query captures: @function.call, @function.method.call, @reference.call, @definition.variable, @definition.function on the new wrappers.
  • nullable(rule) and postfixChainWrappers(base, prefix) JS helpers in grammar.js for repeated rule shapes.

Changed

  • _type_not_function, _type_not_void, _type_not_void_not_function alias their output to type so consumers see uniform (type ...) regardless of which scope-restricted variant matched.
  • factory_constructor_signature and redirecting_factory_constructor_signature now use optional(seq(".", _identifier_or_new)) instead of repeat(seq(".", identifier)). Tightens to one dot (per Dart spec) and accepts Foo.new() factory form.
  • tags.scm and highlights.scm rewritten for the new shapes.
  • The cascade function: field reserved for chained forms (..foo().bar()); simple ..foo() uses property:.

Removed

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [tree-sitter-dart](https://github.com/nielsenko/tree-sitter-dart) from 0.0.4 to 0.2.0.
- [Changelog](https://github.com/nielsenko/tree-sitter-dart/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nielsenko/tree-sitter-dart/commits/v0.2.0)

---
updated-dependencies:
- dependency-name: tree-sitter-dart
  dependency-version: 0.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants