1317375 - Implement "Template Literals Revision / Lifting Template Literal Restriction" ECMAScript proposal

This commit is contained in:
Gaming4JC 2019-06-08 16:51:29 -04:00 • committed by Roy Tam
commit ee1e2aba19
14 changed files with 386 additions and 69 deletions

View file

@ -1052,7 +1052,8 @@ class Parser final : public ParserBase, private JS::AutoGCRooter
JSAtom* stopStringCompression();
Node stringLiteral();
Node noSubstitutionTemplate();
Node noSubstitutionTaggedTemplate();
Node noSubstitutionUntaggedTemplate();
Node templateLiteral(YieldHandling yieldHandling);
bool taggedTemplate(YieldHandling yieldHandling, Node nodeList, TokenKind tt);
bool appendToCallSiteObj(Node callSiteObj);