const github.com/evanw/esbuild/internal/js_printer.firstHighSurrogate
7 uses
github.com/evanw/esbuild/internal/js_printer (current package)
js_printer.go#L173: const firstHighSurrogate = 0xD800
js_printer.go#L182: return !asciiOnly && c != '\uFEFF' && (c < firstHighSurrogate || c > lastLowSurrogate)
js_printer.go#L268: lo := firstHighSurrogate + ((c >> 10) & 0x3FF)
js_printer.go#L404: case c >= firstHighSurrogate && c <= lastHighSurrogate:
js_printer.go#L411: r := (rune(c) << 10) + rune(c2) + (0x10000 - (firstHighSurrogate << 10) - firstLowSurrogate)
js_printer.go#L791: if c >= firstHighSurrogate && c <= lastHighSurrogate && i+1 < n {
js_printer.go#L793: c = (c << 10) + c2 + (0x10000 - (firstHighSurrogate << 10) - firstLowSurrogate)
![]() |
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. |