Quasi-literals for templating?

Mike Samuel mikesamuel at gmail.com
Wed Jun 15 11:42:43 PDT 2011


2011/6/15 Brendan Eich <brendan at mozilla.com>:
> The point is that the callSiteId captures all the literal/constant/loop-invariant parts of the quasi, both raw and cooked ("expandedLP"). The remaining quasi handler parameters are the necessarily variable, evaluated-at-runtime substitution expression results.
>
> The proposal needs to say this a bit more explicitly, and up front.

Added http://wiki.ecmascript.org/doku.php?id=harmony:quasis#callsiteid
and renamed rawLP and unescapedLP.


More information about the es-discuss mailing list