Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Conversation

@abeaumont
Copy link
Contributor

  • Annotates new node type
  • Update the testsuite

Depends on bblfsh/sdk#164
Fixes #75

@abeaumont abeaumont self-assigned this Aug 18, 2017
"FunctionDef": {"body": true, "decorator_list": true},
"Lambda": {"body": true},
"arguments": {"defaults": true},
"Try": {"body": true, "orelse": true, "finalbody": true, "handlers": true},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

I am not very familiarized with the API to annotate nodes, out of curiosity, how is removing handlers: true affecting?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It means that Try.handlers are not promoted to node. https://github.com/bblfsh/python-driver/pull/80/files#diff-56de3fb994af9b7ff9f631ea2d5aec42 shows how the uast changes in this case.

* Annotates new node type
* Update the testsuite
@abeaumont
Copy link
Contributor Author

Rebased for conflict resolution

@abeaumont abeaumont merged commit d43125e into bblfsh:master Aug 22, 2017
@abeaumont abeaumont deleted the fix/exception-handler-identifier branch August 22, 2017 12:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants