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

Create toString() functions #4

Closed
6 tasks done
rcjsuen opened this issue Dec 17, 2017 · 0 comments
Closed
6 tasks done

Create toString() functions #4

rcjsuen opened this issue Dec 17, 2017 · 0 comments
Assignees

Comments

@rcjsuen
Copy link
Owner

rcjsuen commented Dec 17, 2017

While it's possible to gain access to the physical string representation of a given Line with getTextContent(), there is no easy way to simply print out its contents ignoring escaped characters and extraneous whitespace and so on. We should add a toString() function to all the relevant classes so that they can easily be translated to something that is human-readable.

  • Argument
  • Comment
  • Flag
  • Instruction
  • ParserDirective
  • Variable
rcjsuen added a commit that referenced this issue Dec 18, 2017
Signed-off-by: Remy Suen <remy.suen@gmail.com>
@rcjsuen rcjsuen self-assigned this Jan 10, 2018
rcjsuen added a commit that referenced this issue Feb 3, 2018
Signed-off-by: Remy Suen <remy.suen@gmail.com>
rcjsuen added a commit that referenced this issue Apr 2, 2018
Signed-off-by: Remy Suen <remy.suen@gmail.com>
rcjsuen added a commit that referenced this issue May 24, 2018
Signed-off-by: Remy Suen <remy.suen@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant