BrsFile ast toString() #754
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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

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.
