Skip to content

add RuleNode.unparse() to the TypeScript API#731

Merged
OmarTawfik merged 1 commit intomainfrom
add-unparse-napi
Jan 10, 2024
Merged

add RuleNode.unparse() to the TypeScript API#731
OmarTawfik merged 1 commit intomainfrom
add-unparse-napi

Conversation

@OmarTawfik
Copy link
Copy Markdown
Contributor

@OmarTawfik OmarTawfik commented Jan 9, 2024

used in #732

@OmarTawfik OmarTawfik requested a review from a team as a code owner January 9, 2024 14:02
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Jan 9, 2024

🦋 Changeset detected

Latest commit: 7fa2407

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@nomicfoundation/slang Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Copy Markdown
Contributor

@Xanewok Xanewok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks!

@OmarTawfik OmarTawfik added this pull request to the merge queue Jan 10, 2024
Merged via the queue into main with commit 3deaea2 Jan 10, 2024
@OmarTawfik OmarTawfik deleted the add-unparse-napi branch January 10, 2024 10:49
@github-actions github-actions bot mentioned this pull request Jan 9, 2024
github-merge-queue bot pushed a commit that referenced this pull request Jan 11, 2024
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and publish to npm
yourself or [setup this action to publish
automatically](https://github.com/changesets/action#with-publishing). If
you're not ready to do a release yet, that's fine, whenever you add more
changesets to main, this PR will be updated.


# Releases
## @nomicfoundation/slang@0.13.0

### Minor Changes

- [#710](#710)
[`2025b6cb`](2025b6c)
Thanks [@Xanewok](https://github.com/Xanewok)! - CST children nodes are
now named

- [#723](#723)
[`b3dc6bcd`](b3dc6bc)
Thanks [@Xanewok](https://github.com/Xanewok)! - Properly parse
unreserved keywords in an identifier position, i.e. `from`, `emit`,
`global` etc.

- [#728](#728)
[`662a672c`](662a672)
Thanks [@Xanewok](https://github.com/Xanewok)! - Remove Language#scan
API; use the parser API instead

- [#719](#719)
[`1ad6bb37`](1ad6bb3)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - introduce strong
types for all Solidity non terminals in the TypeScript API.

### Patch Changes

- [#719](#719)
[`1ad6bb37`](1ad6bb3)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - unify
Rust/TypeScript node helpers: `*_with_kind()`, `*_with_kinds()`,
`*_is_kind()`), ...

- [#731](#731)
[`3deaea2e`](3deaea2)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add
`RuleNode.unparse()` to the TypeScript API

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
rollup-smithbm0p added a commit to rollup-smithbm0p/slang that referenced this pull request Dec 26, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and publish to npm
yourself or [setup this action to publish
automatically](https://github.com/changesets/action#with-publishing). If
you're not ready to do a release yet, that's fine, whenever you add more
changesets to main, this PR will be updated.


# Releases
## @nomicfoundation/slang@0.13.0

### Minor Changes

- [#710](NomicFoundation/slang#710)
[`2025b6cb`](NomicFoundation/slang@2025b6c)
Thanks [@Xanewok](https://github.com/Xanewok)! - CST children nodes are
now named

- [#723](NomicFoundation/slang#723)
[`b3dc6bcd`](NomicFoundation/slang@b3dc6bc)
Thanks [@Xanewok](https://github.com/Xanewok)! - Properly parse
unreserved keywords in an identifier position, i.e. `from`, `emit`,
`global` etc.

- [#728](NomicFoundation/slang#728)
[`662a672c`](NomicFoundation/slang@662a672)
Thanks [@Xanewok](https://github.com/Xanewok)! - Remove Language#scan
API; use the parser API instead

- [#719](NomicFoundation/slang#719)
[`1ad6bb37`](NomicFoundation/slang@1ad6bb3)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - introduce strong
types for all Solidity non terminals in the TypeScript API.

### Patch Changes

- [#719](NomicFoundation/slang#719)
[`1ad6bb37`](NomicFoundation/slang@1ad6bb3)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - unify
Rust/TypeScript node helpers: `*_with_kind()`, `*_with_kinds()`,
`*_is_kind()`), ...

- [#731](NomicFoundation/slang#731)
[`3deaea2e`](NomicFoundation/slang@3deaea2)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add
`RuleNode.unparse()` to the TypeScript API

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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