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

Queries #292

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Queries #292

wants to merge 7 commits into from

Conversation

Gauteab
Copy link

@Gauteab Gauteab commented Sep 11, 2020

I think Queries are working properly.

This is the first time did anything with the FFI, so there are a few things I am unsure about.

I moved Struct into a new module to use it in Query. This should maybe be moved into an Internal directory.
I don't fully understand Storable, so I left some things unfinished there. Particularly TSQueryError which is currently just an Int.

While testing a bridged ts_node_string before seeing there was already an open issue. I also made a helper to call it on a Node.

Finally, I ran clang format (automatically) with WebKit styling on bridge.c. If it was using a particular formatter I can revert that.

@dcreager
Copy link

Hi @Gauteab, thanks for the contribution!

Finally, I ran clang format (automatically) with WebKit styling on bridge.c. If it was using a particular formatter I can revert that.

Yes, please revert the styling changes, since they're not a substantive part of the PR. It's much harder for us to review if the diff contains a bunch of cosmetic changes to unrelated parts of the file.

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.

2 participants