Re: [heycam/webidl] Describe JSON-LD with WebIDL - How to handle @ tags (#541)

I also suggested using a method, for instance something like `getMetaData(id)` for fetching the @ fields, e.g. for @context we'd invoke `getMetaData('context')`.

However, it was suggested that if we can't get WebIDL to support the use case, then just simply leave them out of the WebIDL descriptions and use prose in the spec describing them (like with internal slots), since ECMAScript allows using `object['@context']` accessors. It's perhaps confusing.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/541#issuecomment-379681609

Received on Monday, 9 April 2018 08:53:35 UTC