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

Refactor child mapping & scope boundary detection #348

Merged
merged 1 commit into from
May 28, 2015

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented May 28, 2015

This is a refactor with no intended semantic changes. It addresses some "TODO" comments in the source by creating a generic fmap-like facility for mapping over child nodes.

I also factored out scope boundary detection. In addition to helping readability, this makes it easier to safely introduce future constructs (like ES6 arrow function expressions) that are also scope boundaries.

This is a refactor with no intended semantic changes. It addresses some
"TODO" comments in the source by creating a generic fmap-like facility
for mapping over child nodes.

I also factored out scope boundary detection. In addition to helping
readability, this makes it easier to safely introduce future
constructs (like ES6 arrow function expressions) that are also scope
boundaries.
@michaelficarra
Copy link
Owner

❤️

michaelficarra added a commit that referenced this pull request May 28, 2015
Refactor child mapping & scope boundary detection
@michaelficarra michaelficarra merged commit 7a2eabe into michaelficarra:master May 28, 2015
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

Successfully merging this pull request may close these issues.

None yet

2 participants