Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Annotation & Attributes & Reflection #5

Open
hagb4rd opened this issue Apr 25, 2016 · 1 comment
Open

Annotation & Attributes & Reflection #5

hagb4rd opened this issue Apr 25, 2016 · 1 comment
Labels

Comments

@hagb4rd
Copy link

hagb4rd commented Apr 25, 2016

Annotations in JS would definitely make it golden. Is there a perspective? are some of for the necessary reflection methods in scope of the spec-staging groups? .. or would you say those could be applicable by some some v8 extensions?
https://en.wikipedia.org/wiki/Java_annotation#Custom_annotations

@robotlolita
Copy link
Owner

Decorators (which are dynamic, but allow static analysis for some forms) are coming, but they're still draft proposals:

See:

For the time being, the Babel comment plugin is probably the best way of using this, but it's also not finished yet: https://github.com/origamitower/metamagical/tree/master/babel-plugin

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants