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

Define internal slots as attributes #3

Open
garykac opened this issue Feb 25, 2017 · 0 comments
Open

Define internal slots as attributes #3

garykac opened this issue Feb 25, 2017 · 0 comments

Comments

@garykac
Copy link
Owner

garykac commented Feb 25, 2017

From Tab:
A reasonably common practice, which Bikeshed explicitly deals with, is to define this as an attribute, but with [[foo]] naming - double square brackets. This groups it with the IDL definitions in indexes, and you can ref it with the IDL linking syntax, like {{[[foo]]}}.

This also explicitly associates the private slot with the interface, which is exactly what it's actually doing.

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

No branches or pull requests

1 participant