Changeset 0c6b92a for imaps-frontend/node_modules/@babel/generator/lib/generators/template-literals.js
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/@babel/generator/lib/generators/template-literals.js
rd565449 r0c6b92a 8 8 exports.TemplateLiteral = TemplateLiteral; 9 9 function TaggedTemplateExpression(node) { 10 this.print(node.tag , node);11 this.print(node.typeParameters , node);12 this.print(node.quasi , node);10 this.print(node.tag); 11 this.print(node.typeParameters); 12 this.print(node.quasi); 13 13 } 14 14 function TemplateElement() { … … 22 22 if (i + 1 < quasis.length) { 23 23 this.token(partRaw + "${", true); 24 this.print(node.expressions[i] , node);24 this.print(node.expressions[i]); 25 25 partRaw = "}"; 26 if (this.tokenMap) { 27 const token = this.tokenMap.findMatching(node, "}", i); 28 if (token) this._catchUpTo(token.loc.start); 29 } 26 30 } 27 31 }
Note:
See TracChangeset
for help on using the changeset viewer.