This is really relaxing the (over-restrictive, IMHO) design that says
that for ${expr} in a quasi, expr can be only a very few forms such as
Identifier, Identifier '.' IdentifierName, and the like -- right?
I.e. if we allow expr to be the grammar's Expression non-terminal, then
it follows that quasi-literals nest inside ${...} in outer quasis. +1 on
this.
/be
Erik Arvidsson <mailto:[email protected]>
January 28, 2012 2:54 PM
Under the open issues for Quasi Literals,
http://wiki.ecmascript.org/doku.php?id=harmony:quasis#nesting , the
topic of nesting is brought up.
After implementing Quasi Literals in Traceur it is clear that
supporting nested quasi literals is easier than not supporting them.
What is the argument for not supporting nesting? Can we resolve this?
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss