Versions in this module Expand all Collapse all v0 v0.14.15 Jan 31, 2022 v0.14.14 Jan 30, 2022 Changes in this version + func CanEscapeIdentifier(name string, unsupportedJSFeatures compat.JSFeature, asciiOnly bool) bool + func QuoteForJSON(text string, asciiOnly bool) []byte + func QuoteIdentifier(js []byte, name string, unsupportedFeatures compat.JSFeature) []byte + type Options struct + ASCIIOnly bool + AddSourceMappings bool + Indent int + InputSourceMap *sourcemap.SourceMap + LegalComments config.LegalComments + LineOffsetTables []sourcemap.LineOffsetTable + MangleSyntax bool + OutputFormat config.Format + RemoveWhitespace bool + RequireOrImportMetaForSource func(uint32) RequireOrImportMeta + RuntimeRequireRef js_ast.Ref + ToModuleRef js_ast.Ref + UnsupportedFeatures compat.JSFeature + type PrintResult struct + ExtractedLegalComments map[string]bool + JS []byte + SourceMapChunk sourcemap.Chunk + func Print(tree js_ast.AST, symbols js_ast.SymbolMap, r renamer.Renamer, options Options) PrintResult + type RequireOrImportMeta struct + ExportsRef js_ast.Ref + IsWrapperAsync bool + WrapperRef js_ast.Ref