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

Functionality of SimpleParser should not be in model classes for if* #63

Open
bserdar opened this issue Oct 17, 2014 · 0 comments
Open

Comments

@bserdar
Copy link
Contributor

bserdar commented Oct 17, 2014

If and its friends implement SimpleParser, so they're their own parser as well. However, this does not work:

IfBlah x=new IfBlah(x)
z.parse(...)

because parse() returns a new object, it doesn't populate z. Ideally, parsing functionality should be either static, or should be external.

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

No branches or pull requests

1 participant