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

Add smart debugging function for GreenNodeBuilder #76

Open
K4rakara opened this issue Dec 9, 2020 · 0 comments
Open

Add smart debugging function for GreenNodeBuilder #76

K4rakara opened this issue Dec 9, 2020 · 0 comments

Comments

@K4rakara
Copy link

K4rakara commented Dec 9, 2020

As it is, debugging issues with GreenNodeBuilder isn't easy. Sure, you can dbg! it, but it doesn't label what the SyntaxKinds are, rather, it just displays them with their raw value.

I think it would be great to add a function that helps with this. Ideally it would log something like this:

The last node (and/or token) would likely be highlighted in green to signify that it is the current node.

If this would be a welcome addition, I would be more than happy to implement it, but I wanted to ask first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant