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 calc_isinstance.py example #128
Conversation
…example_calc_isinstance
Question: while experimenting with this, I've tried to rewrite But the somehow '(' is attempted to parse as 'Factor' op attribute. |
Looks good. Could you please update README for the expression examples for this and monkey patch example.
Not sure why is that. Could you make a PR with that version to investigate? |
Can I make the change on this PR? |
Sure. |
Scoping typos docs
Strict unicode requirement for (meta)model_from_str
Fix typos in docstrings
Simplify usage of flake8. Configure using `setup.cfg`.
Any change you had a look on this problem? Thanks |
Sorry, haven't had a chance. Will take a look during the weekend. |
I had a quick look:
According to http://www.igordejanovic.net/textX/stable/grammar/#rule-types (as far as I understand...), Operand should be an abstract rule... Maybe @igordejanovic has the final hint next weekend. |
Fixing issue from PR textX#128. Str. match in abstract rule.
This should work with the current master now and is almost ready to be merged. @dkrikun Please clean up the branch (I think this could all be just a single commit, or if you have better idea do as you please), add |
The example exercises usage of
text.scoping.tools.textx_isinstance()
to inspect model objects types during traversal.See #123