Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/@babel/generator/lib/generators/base.js
rd565449 r0c6b92a 13 13 function File(node) { 14 14 if (node.program) { 15 this.print(node.program.interpreter , node);15 this.print(node.program.interpreter); 16 16 } 17 this.print(node.program , node);17 this.print(node.program); 18 18 } 19 19 function Program(node) { … … 25 25 var _node$directives$trai; 26 26 const newline = node.body.length ? 2 : 1; 27 this.printSequence(node.directives, node,{27 this.printSequence(node.directives, { 28 28 trailingCommentsLineOffset: newline 29 29 }); … … 32 32 } 33 33 } 34 this.printSequence(node.body , node);34 this.printSequence(node.body); 35 35 } 36 36 function BlockStatement(node) { 37 37 var _node$directives2; 38 38 this.tokenChar(123); 39 const exit = this.enterDelimited(); 39 40 const directivesLen = (_node$directives2 = node.directives) == null ? void 0 : _node$directives2.length; 40 41 if (directivesLen) { 41 42 var _node$directives$trai2; 42 43 const newline = node.body.length ? 2 : 1; 43 this.printSequence(node.directives, node,{44 this.printSequence(node.directives, { 44 45 indent: true, 45 46 trailingCommentsLineOffset: newline … … 49 50 } 50 51 } 51 const exit = this.enterForStatementInit(false); 52 this.printSequence(node.body, node, { 52 this.printSequence(node.body, { 53 53 indent: true 54 54 }); … … 57 57 } 58 58 function Directive(node) { 59 this.print(node.value , node);59 this.print(node.value); 60 60 this.semicolon(); 61 61 }
Note:
See TracChangeset
for help on using the changeset viewer.