-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
C++enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Based on discussion with @dbartol there are some enhancements to the C++ Print AST query that I would like to propose.
- Along with each child node in the AST should contain metadata that describes the property in its parent that returns this node. Eg- the LHS of an
AssignExprwould have metadata containing something likegetLValue(). This would be displayed somehow in the AST Viewer in VS Code. (Perhaps as a tooltip, perhaps in the title, or in some other way). If possible, the metadata would also contain enough information so that the IDE could navigate back to the definition of the predicate (maybe the metadata from below and the name of the predicate is sufficient). - Each node in the AST should contain metadata that describes its type so that it is possible for users to navigate to the declaration of that type. The type name already exists in the label, but it is not the fully qualified name, so there is not enough information to open that type in the IDE.
See also #4278.
Metadata
Metadata
Assignees
Labels
C++enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers