func github.com/evanw/esbuild/internal/js_lexer.UTF16ToString
26 uses
github.com/evanw/esbuild/internal/js_lexer (current package)
js_lexer.go#L2641: func UTF16ToString(text []uint16) string {
github.com/evanw/esbuild/internal/bundler
bundler.go#L1660: quotedContents = js_printer.QuoteForJSON(js_lexer.UTF16ToString(value.Value), options.ASCIIOnly)
linker.go#L1499: name := js_lexer.UTF16ToString(str.Value)
github.com/evanw/esbuild/internal/js_parser
global_name_parser.go#L38: result = append(result, js_lexer.UTF16ToString(lexer.StringLiteral))
js_parser.go#L1673: return fmt.Sprintf("%q", js_lexer.UTF16ToString(k.Value))
js_parser.go#L1889: p.log.AddRangeError(&p.source, keyRange, fmt.Sprintf("Invalid field name %q", js_lexer.UTF16ToString(str.Value)))
js_parser.go#L4906: pathText := js_lexer.UTF16ToString(p.lexer.StringLiteral)
js_parser.go#L8588: name := js_lexer.UTF16ToString(value.Name)
js_parser.go#L9041: nameToKeep = js_lexer.UTF16ToString(str.Value)
js_parser.go#L9270: value := js_lexer.UTF16ToString(str.Value)
js_parser.go#L10499: Name: js_lexer.UTF16ToString(str.Value),
js_parser.go#L10568: name := js_lexer.UTF16ToString(str.Value)
js_parser.go#L11023: key := js_lexer.UTF16ToString(str.Value)
js_parser.go#L11100: importRecordIndex := p.addImportRecord(ast.ImportDynamic, arg.Loc, js_lexer.UTF16ToString(str.Value))
js_parser.go#L11231: importRecordIndex := p.addImportRecord(ast.ImportRequireResolve, e.Args[0].Loc, js_lexer.UTF16ToString(str.Value))
js_parser.go#L11351: importRecordIndex := p.addImportRecord(ast.ImportRequire, arg.Loc, js_lexer.UTF16ToString(str.Value))
js_parser.go#L12728: directive = js_lexer.UTF16ToString(s.Value)
js_parser_lower.go#L1860: Name: js_lexer.UTF16ToString(key.Value),
json_parser.go#L120: keyText := js_lexer.UTF16ToString(keyString)
sourcemap_parser.go#L35: switch js_lexer.UTF16ToString(prop.Key.Data.(*js_ast.EString).Value) {
sourcemap_parser.go#L56: sources = append(sources, js_lexer.UTF16ToString(element.Value))
sourcemap_parser.go#L203: js_lexer.UTF16ToString(mappingsRaw[current:current+1]))
ts_parser.go#L801: value.Ref = p.declareSymbol(js_ast.SymbolOther, value.Loc, js_lexer.UTF16ToString(value.Name))
github.com/evanw/esbuild/internal/resolver
resolver.go#L1039: absPattern := r.fs.Join(path, js_lexer.UTF16ToString(item.Value))
resolver.go#L1164: len(key.Value) == len(name) && js_lexer.UTF16ToString(key.Value) == name {
resolver.go#L1174: return js_lexer.UTF16ToString(value.Value), true
 |
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. |