Skip to content

update documentation explaining insert method rules, and clarify PDOM explanation #93

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

Open
wchristian opened this issue Nov 2, 2014 · 2 comments

Comments

@wchristian
Copy link
Member

@adamkennedy :

Why are there restrictions on what type of Element can be inserted before or after another Element? It does not seem to help the document remain viable Perl code, since it's entirely possible to insert a block or arbitrary token in front of a subscript structure. At the same time it causes people to have to make weird contortions for seemingly simple acts like adding a simple statement after a block.

I tried to look at the git history, but that only leads back to the import from CSV in 2006. Looking at http://parseperl.cvs.sourceforge.net/viewvc/parseperl/ seems to imply that those functions were introduced inbetween the end of sourceforge history and git import.

There does not seem to be a justification in the documentation or comments.

Unless there's a reason for this that i can document, i'd like to simply remove these restrictions.

@wchristian
Copy link
Member Author

As some of the heavier users, you two could probably provide insight here as well, @thaljef and @rjbs.

@wchristian wchristian changed the title Why are there restrictions on what can be inserted before or after what? Why are there restrictions on what type of Element can be inserted before or after another Element? Nov 2, 2014
@wchristian wchristian changed the title Why are there restrictions on what type of Element can be inserted before or after another Element? update documentation explaining insert method rules, and clarify PDOM explanation Nov 2, 2014
@wchristian
Copy link
Member Author

As per #79 (comment) and following, there exists documentation explaining this, but it still needs to be cross-linked, and the PDOM explanation could use some straightening up to make it a little less ambiguous.

@wchristian wchristian added bug and removed question labels Nov 2, 2014
@wchristian wchristian added the api label Nov 19, 2014
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