Re: [heycam/webidl] Should ReadOnlyMember use ReadOnly? (#399)

> That is, an attribute name can be any identifier, or "required" (which is a keyword in the grammar, as of required things in dictionaries, hence not an identifier). In other words, "attribute boolean required;" is valid IDL.

That was my understanding too. But I'm still confused as to what that would mean, though, or why we even have it?

> I think the post-bikeshed grammar is equivalent but a bit less obvious, because it doesn't make alternation quite as clear (uses whitespace, not an explicit '|' to indicate it).

Yeah. It's modeled after the ES one.

-- 
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/399#issuecomment-326005257

Received on Wednesday, 30 August 2017 14:20:13 UTC