Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change ParseOutput to return a NonTerminal instead of a Node #1201

Closed

Conversation

beta-ziliani
Copy link
Contributor

@beta-ziliani beta-ziliani commented Dec 21, 2024

This is a cherry-picked merge of #1187, to make the merge cleaner. Done on a Friday night, trusting CI more than my eyes rn.

Supersedes #1187
Closes #1187
Solves #1184

EDIT: Still missing the changeset. Should it be minor?

Copy link

changeset-bot bot commented Dec 21, 2024

⚠️ No Changeset found

Latest commit: f8b2f55

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@beta-ziliani beta-ziliani marked this pull request as ready for review December 21, 2024 12:49
@beta-ziliani beta-ziliani requested review from a team as code owners December 21, 2024 12:49
pub(crate) errors: Vec<ParseError>,
}

impl ParseOutput {
pub fn tree(&self) -> &Node {
&self.tree
pub fn tree(&self) -> Rc<NonterminalNode> {
Copy link
Contributor

Choose a reason for hiding this comment

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

not sure if this merged the latest from #1187?

@OmarTawfik
Copy link
Contributor

Looks like this rebase is out of date (comment above).
Since #1172 is now merged, I suggest updating #1187 when we get time.

@OmarTawfik OmarTawfik closed this Dec 27, 2024
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