escodegen.generate(AST[, options]);
{ format: { indent: { style: ' ', base: 0 } }, parse: null, comment: false }
option.format.indent.style: indent string (default is 4 space (' '))
option.format.indent.style
option.format.indent.base: base indent level (default is 0)
option.format.indent.base
option.parse: Mozilla Parser API compatible parse function. If it is provided, generator try to use 'raw' representation. See esprima raw information
option.parse
option.comment: If comments are attached to AST, escodegen emit comments to output code (default is false)
option.comment
There was an error while loading. Please reload this page.