func github.com/evanw/esbuild/internal/js_lexer.UTF16EqualsString
16 uses
github.com/evanw/esbuild/internal/js_lexer (current package)
js_lexer.go#L2659: func UTF16EqualsString(text []uint16, str string) bool {
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L1887: if str, ok := key.Data.(*js_ast.EString); ok && (js_lexer.UTF16EqualsString(str.Value, "constructor") ||
js_parser.go#L1888: (opts.isStatic && js_lexer.UTF16EqualsString(str.Value, "prototype"))) {
js_parser.go#L1944: if !opts.isStatic && js_lexer.UTF16EqualsString(str.Value, "constructor") {
js_parser.go#L1957: } else if opts.isStatic && js_lexer.UTF16EqualsString(str.Value, "prototype") {
js_parser.go#L4866: if key, ok := property.Key.Data.(*js_ast.EString); ok && js_lexer.UTF16EqualsString(key.Value, "constructor") {
js_parser.go#L6215: if js_lexer.UTF16EqualsString(str.Value, "use strict") {
js_parser.go#L6218: } else if js_lexer.UTF16EqualsString(str.Value, "use asm") {
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#L10961: if str, ok := key.Data.(*js_ast.EString); ok && js_lexer.UTF16EqualsString(str.Value, "__proto__") {
js_parser_lower.go#L1671: isConstructor = js_lexer.UTF16EqualsString(key.Value, "constructor")
js_parser_lower.go#L1963: } else if key, ok := prop.Key.Data.(*js_ast.EString); ok && js_lexer.UTF16EqualsString(key.Value, "constructor") {
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L912: if id, ok := property.Value.Data.(*js_ast.BIdentifier); ok && js_lexer.UTF16EqualsString(str.Value, p.renamer.NameForSymbol(id.Ref)) {
js_printer.go#L1160: if js_lexer.UTF16EqualsString(key.Value, p.renamer.NameForSymbol(e.Ref)) {
js_printer.go#L1174: if symbol.NamespaceAlias == nil && js_lexer.UTF16EqualsString(key.Value, p.renamer.NameForSymbol(e.Ref)) {
 |
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. |