Skip to content

Align transformers with Kolasu#24

Merged
alessiostalla merged 2 commits intomasterfrom
chore/kolasu-alignment
Sep 6, 2023
Merged

Align transformers with Kolasu#24
alessiostalla merged 2 commits intomasterfrom
chore/kolasu-alignment

Conversation

@alessiostalla
Copy link
Copy Markdown
Member

@alessiostalla alessiostalla commented Sep 5, 2023

In the following aspects:

  • with_child API (order of parameters)
  • drop null children
  • one node can generate multiple nodes

As a prerequisite, align the node.propertiesAPI with Kolasu (returning a generator of PropertyDescription instances, rather than name, value tuples)

Also add a partial implementation of assert_asts_are_equal (not considering references as those aren't yet supported in reflection)

- `with_child` API (order of parameters)
- drop null children
- one node can generate multiple nodes

Also add a partial implementation of assert_asts_are_equal (not considering references as those aren't yet supported in reflection)
@alessiostalla alessiostalla requested a review from loradd September 5, 2023 12:09
@alessiostalla alessiostalla merged commit 22f1678 into master Sep 6, 2023
@alessiostalla alessiostalla deleted the chore/kolasu-alignment branch September 6, 2023 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants