Skip to content

Conversation

@TwitchBronBron
Copy link
Member

@TwitchBronBron TwitchBronBron commented Dec 2, 2022

Adds the ability to call .toString() on any brightscript/brighterscript AST nodes and get the current string representation of them.

Issues to resolve before merging:

  • unary expressions are not generating properly
    image

  • handle plugin-contributed tokens that might not have all of the necessary leading or trailing trivia. This might be a large effort, so it may be more useful to build a full set of Ast Node creator functions that auto-add the necessary trivia on creation.

  • conditional compile blocks are not generating properly. I don't believe this can be solved in v0 at all, so it's something we'll just have to live with.
    image

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