github.com/evanw/esbuild/internal/js_ast.SDirective.Value (field)
7 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L941: Value []uint16
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L6212: stmt.Data = &js_ast.SDirective{Value: str.Value, LegacyOctalLoc: str.LegacyOctalLoc}
js_parser.go#L6662: return js_lexer.UTF16EqualsString(s.Value, "use strict")
js_parser.go#L9113: if js_lexer.UTF16EqualsString(s.Value, "use strict") {
js_parser.go#L12728: directive = js_lexer.UTF16ToString(s.Value)
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L2973: c := p.bestQuoteCharForString(s.Value, false /* allowBacktick */)
js_printer.go#L2977: p.printQuotedUTF16(s.Value, rune(c[0]))
![]() |
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. |