github.com/evanw/esbuild/internal/config.Options.ASCIIOnly (field)
31 uses
github.com/evanw/esbuild/internal/config (current package)
config.go#L190: ASCIIOnly bool
github.com/evanw/esbuild/internal/bundler
bundler.go#L336: js_printer.QuoteForJSON(source.PrettyPath, args.options.ASCIIOnly),
bundler.go#L1300: j.AddBytes(js_printer.QuoteForJSON(result.file.source.PrettyPath, s.options.ASCIIOnly))
bundler.go#L1344: js_printer.QuoteForJSON(s.results[record.SourceIndex.GetIndex()].file.source.PrettyPath, s.options.ASCIIOnly),
bundler.go#L1345: js_printer.QuoteForJSON(record.Kind.StringForMetafile(), s.options.ASCIIOnly)))
bundler.go#L1558: Contents: b.generateMetadataJSON(outputFiles, allReachableFiles, options.ASCIIOnly),
bundler.go#L1648: result.quotedContents = [][]byte{js_printer.QuoteForJSON(f.source.Contents, options.ASCIIOnly)}
bundler.go#L1658: if options.ASCIIOnly && !isASCIIOnly(value.Quoted) {
bundler.go#L1660: quotedContents = js_printer.QuoteForJSON(js_lexer.UTF16ToString(value.Value), options.ASCIIOnly)
linker.go#L3449: ASCIIOnly: c.options.ASCIIOnly,
linker.go#L3746: quoted := string(js_printer.QuoteForJSON(repr.ast.Directive, c.options.ASCIIOnly)) + ";" + newline
linker.go#L3797: js_printer.QuoteForJSON(c.res.PrettyPath(logger.Path{Text: importAbsPath, Namespace: "file"}), c.options.ASCIIOnly),
linker.go#L3798: js_printer.QuoteForJSON(continueData.crossChunkImportRecords[i].Kind.StringForMetafile(), c.options.ASCIIOnly)))
linker.go#L3836: js_printer.QuoteForJSON(alias, c.options.ASCIIOnly)))
linker.go#L3843: jMeta.AddString(fmt.Sprintf("],\n \"entryPoint\": %s,\n \"inputs\": {", js_printer.QuoteForJSON(entryPoint, c.options.ASCIIOnly)))
linker.go#L4075: js_printer.QuoteForJSON(path, c.options.ASCIIOnly), metaByteCount[path]))
linker.go#L4105: if js_printer.CanQuoteIdentifier(prefix, c.options.UnsupportedJSFeatures, c.options.ASCIIOnly) {
linker.go#L4106: if c.options.ASCIIOnly {
linker.go#L4111: prefix = fmt.Sprintf("this[%s]", js_printer.QuoteForJSON(prefix, c.options.ASCIIOnly))
linker.go#L4117: if js_printer.CanQuoteIdentifier(name, c.options.UnsupportedJSFeatures, c.options.ASCIIOnly) {
linker.go#L4118: if c.options.ASCIIOnly {
linker.go#L4123: prefix = fmt.Sprintf("%s[%s]", prefix, js_printer.QuoteForJSON(name, c.options.ASCIIOnly))
linker.go#L4177: ASCIIOnly: c.options.ASCIIOnly,
linker.go#L4234: js_printer.QuoteForJSON(c.res.PrettyPath(logger.Path{Text: importAbsPath, Namespace: "file"}), c.options.ASCIIOnly),
linker.go#L4235: js_printer.QuoteForJSON(continueData.crossChunkImportRecords[i].Kind.StringForMetafile(), c.options.ASCIIOnly)))
linker.go#L4248: js_printer.QuoteForJSON(file.source.PrettyPath, c.options.ASCIIOnly)))
linker.go#L4279: js_printer.QuoteForJSON(c.files[compileResult.sourceIndex].source.PrettyPath, c.options.ASCIIOnly),
linker.go#L4525: j.AddBytes(js_printer.QuoteForJSON(item.prettyPath, c.options.ASCIIOnly))
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L310: asciiOnly: options.ASCIIOnly,
github.com/evanw/esbuild/pkg/api
api_impl.go#L649: ASCIIOnly: validateASCIIOnly(buildOpts.Charset),
api_impl.go#L1094: ASCIIOnly: validateASCIIOnly(transformOpts.Charset),
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |