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

More annotation types #13

Open
ghassanpl opened this issue Aug 10, 2023 · 1 comment
Open

More annotation types #13

ghassanpl opened this issue Aug 10, 2023 · 1 comment
Labels
enhancement New feature or request parsing Relating to parsing of source files reflection data How we store, generate and process reflection data

Comments

@ghassanpl
Copy link
Owner

ghassanpl commented Aug 10, 2023

This is a general issue that describes ideas for new annotation types

  • RConstructor() ?
  • RAlias()/RUsing(); - for commenting using X = ...; declarations, so that generated documentation is better (probably other things too)
    • could be also very good for reflecting per-class typedefs
  • RConstant(); - for constexprs
  • ROperator();
  • RNamespace() ?
  • RTest() ? - for marking static methods as tests
  • RVersion() ? - or should we get that information from, in order: git tags, git commit, datetime
  • RContext() ?
  • RDoc();
  • RCategory(Name, ...attributes); - for grouping together class members; attributes like Order = Declaration/Alphabetic or Order = {Documentation = Alphabetic, Editor = Declaration }, Collapsed = true; stuff like Document applies to all members, etc.
@ghassanpl ghassanpl added enhancement New feature or request parsing Relating to parsing of source files reflection data How we store, generate and process reflection data labels Aug 10, 2023
@ghassanpl
Copy link
Owner Author

Also a nice idea:

RAdditional something like that that would allow for something like RAdditional(AddFlags = {InField = Flags, FlagType = AdditionalFlags, StartingAtBit = 16})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request parsing Relating to parsing of source files reflection data How we store, generate and process reflection data
Projects
None yet
Development

No branches or pull requests

1 participant