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

Fix ecma visitor for function expressions with name. #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nene
Copy link
Contributor

@nene nene commented Oct 8, 2013

To fix issue #27

Make the Getter and Setter visitors also handle the visiting of the
related FunctionExprNode, not rely on the visit_FunctionExprNode, which
can accordingly be changed to also include "function" before its name.

To DRY things up, move the common bit of all the Function-visiting
methods to #function_params_and_body helper method.

Also add a test case.

Make the Getter and Setter visitors also handle the visiting of the
related FunctionExprNode, not rely on the visit_FunctionExprNode, which
can accordingly be changed to also include "function" before its name.

To DRY things up, move the common bit of all the Function-visiting
methods to #function_params_and_body helper method.

Also add a test case.
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.

1 participant