Skip to content

Add operator conversion - #73

Merged
maxbrunsfeld merged 1 commit into
tree-sitter:masterfrom
calixteman:operator_cast
Mar 19, 2020
Merged

maxbrunsfeld merged 1 commit into
tree-sitter:masterfrom
calixteman:operator_cast

Conversation

@calixteman

Copy link
Copy Markdown
Contributor

For reference:
https://en.cppreference.com/w/cpp/language/cast_operator

@maxbrunsfeld, feel free to make some modifications, I'm not sure that I respect name conventions (I had the idea to make a declarator but didn't find a way to make something I was happy with).
The C++ grammar is so...
@maxbrunsfeld if you can review it today I'll be happy :)

@jdrouhard

Copy link
Copy Markdown
Collaborator

Thanks for implementing this. I was working on this same feature awhile back but couldn't figure out a nice way of doing it. As you said, the c++ grammar is so...

@calixteman

Copy link
Copy Markdown
Contributor Author

@maxbrunsfeld ping

@maxbrunsfeld maxbrunsfeld left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is great. Thanks!

@maxbrunsfeld
maxbrunsfeld merged commit 9570367 into tree-sitter:master Mar 19, 2020
whatDiracIsCooking pushed a commit to whatDiracIsCooking/tree-sitter-cpp that referenced this pull request Nov 11, 2025
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.

3 participants