You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the second field_declaration is inside the access_specifier thing.
I see two aspects for this:
Backward compatibility; where we still need the "implicitly-defined-access-specifier" members.
I assume this is not hard to implement (boils down to modifying the access_modifier grammar rule only)
Benefits
I'm trying to write a tool to generate customizable class/object diagrams from C++ headers; using tree-sitter-graph. And having
the access information of members bundled into the syntax tree will enormously simplify things.
The text was updated successfully, but these errors were encountered:
Context
This piece of C++ code:
parses to this syntax tree:
I'm wondering about how hard it is to group members by access specifier; which would produce something like this:
I see two aspects for this:
access_modifier
grammar rule only)Benefits
I'm trying to write a tool to generate customizable class/object diagrams from C++ headers; using
tree-sitter-graph
. And havingthe access information of members bundled into the syntax tree will enormously simplify things.
The text was updated successfully, but these errors were encountered: