github.com/evanw/esbuild/internal/js_ast.Property.Key (field)
64 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L272: Key Expr
github.com/evanw/esbuild/internal/bundler
linker.go#L1498: if str, ok := property.Key.Data.(*js_ast.EString); ok && (!file.isEntryPoint || js_lexer.IsIdentifierUTF16(str.Value)) {
linker.go#L1502: clone.Properties[i].Value = &js_ast.Expr{Loc: property.Key.Loc, Data: &js_ast.EIdentifier{Ref: export.ref}}
linker.go#L1662: Key: js_ast.Expr{Data: &js_ast.EString{Value: js_lexer.StringToUTF16(alias)}},
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L1860: Key: key,
js_parser.go#L1926: Key: key,
js_parser.go#L2052: Key: key,
js_parser.go#L2063: Key: key,
js_parser.go#L2528: invalidLog = append(invalidLog, item.Key.Loc)
js_parser.go#L2539: Key: item.Key,
js_parser.go#L2595: Key: property.Key,
js_parser.go#L4122: Key: key,
js_parser.go#L4866: if key, ok := property.Key.Data.(*js_ast.EString); ok && js_lexer.UTF16EqualsString(key.Value, "constructor") {
js_parser.go#L7338: if value, status := p.substituteSingleUseSymbolInExpr(property.Key, ref, replacement, replacementCanBeRemoved); status != substituteContinue {
js_parser.go#L7339: e.Properties[i].Key = value
js_parser.go#L9006: private, isPrivate := property.Key.Data.(*js_ast.EPrivateIdentifier)
js_parser.go#L9012: key := p.visitExpr(property.Key)
js_parser.go#L9013: class.Properties[i].Key = key
js_parser.go#L9040: if str, ok := property.Key.Data.(*js_ast.EString); ok {
js_parser.go#L9964: property.Key = p.visitExpr(property.Key)
js_parser.go#L10956: key := p.visitExpr(property.Key)
js_parser.go#L10957: e.Properties[i].Key = key
js_parser.go#L11022: if str, ok := property.Key.Data.(*js_ast.EString); ok {
js_parser.go#L11025: nextKey := existingKey{kind: keyNormal, loc: property.Key.Loc}
js_parser.go#L11035: r := js_lexer.RangeOfIdentifier(p.source, property.Key.Loc)
js_parser.go#L12219: if !p.exprCanBeRemovedIfUnused(property.Key) {
js_parser.go#L12490: result = maybeJoinWithComma(result, js_ast.Expr{Loc: property.Key.Loc, Data: &js_ast.EBinary{
js_parser.go#L12492: Left: property.Key,
js_parser.go#L12493: Right: js_ast.Expr{Loc: property.Key.Loc, Data: &js_ast.EString{}},
js_parser_lower.go#L1312: assign(js_ast.Expr{Loc: before[0].Key.Loc, Data: &js_ast.EObject{Properties: before, IsSingleLine: isSingleLine}},
js_parser_lower.go#L1461: key, capturedKey := p.captureKeyForObjectRest(property.Key)
js_parser_lower.go#L1462: property.Key = key
js_parser_lower.go#L1670: if key, ok := prop.Key.Data.(*js_ast.EString); ok {
js_parser_lower.go#L1696: private, _ := prop.Key.Data.(*js_ast.EPrivateIdentifier)
js_parser_lower.go#L1714: keyExprNoSideEffects := prop.Key
js_parser_lower.go#L1724: computedPropertyCache = maybeJoinWithComma(computedPropertyCache, prop.Key)
js_parser_lower.go#L1729: js_ast.Assign(js_ast.Expr{Loc: prop.Key.Loc, Data: &js_ast.EIdentifier{Ref: ref}}, prop.Key))
js_parser_lower.go#L1730: prop.Key = js_ast.Expr{Loc: prop.Key.Loc, Data: &js_ast.EIdentifier{Ref: ref}}
js_parser_lower.go#L1731: keyExprNoSideEffects = prop.Key
js_parser_lower.go#L1738: prop.Key = computedPropertyCache
js_parser_lower.go#L1747: loc := prop.Key.Loc
js_parser_lower.go#L1801: loc := prop.Key.Loc
js_parser_lower.go#L1852: expr = p.callRuntime(loc, "__publicField", []js_ast.Expr{target, prop.Key})
js_parser_lower.go#L1854: expr = p.callRuntime(loc, "__publicField", []js_ast.Expr{target, prop.Key, init})
js_parser_lower.go#L1857: if key, ok := prop.Key.Data.(*js_ast.EString); ok && !prop.IsComputed {
js_parser_lower.go#L1866: Index: prop.Key,
js_parser_lower.go#L1894: loc := prop.Key.Loc
js_parser_lower.go#L1963: } else if key, ok := prop.Key.Data.(*js_ast.EString); ok && js_lexer.UTF16EqualsString(key.Value, "constructor") {
js_parser_lower.go#L2005: Key: js_ast.Expr{Loc: classLoc, Data: &js_ast.EString{Value: js_lexer.StringToUTF16("constructor")}},
json_parser.go#L132: Key: key,
sourcemap_parser.go#L33: keyRange := source.RangeOfString(prop.Key.Loc)
sourcemap_parser.go#L35: switch js_lexer.UTF16ToString(prop.Key.Data.(*js_ast.EString).Value) {
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L1123: p.printExpr(item.Key, js_ast.LComma, 0)
js_printer.go#L1146: switch key := item.Key.Data.(type) {
js_printer.go#L1151: p.addSourceMapping(item.Key.Loc)
js_printer.go#L1193: p.printExpr(item.Key, js_ast.LLowest, 0)
github.com/evanw/esbuild/internal/resolver
resolver.go#L976: if key, ok := getString(prop.Key); ok && prop.Value != nil {
resolver.go#L1163: if key, ok := prop.Key.Data.(*js_ast.EString); ok && key.Value != nil &&
resolver.go#L1165: return *prop.Value, prop.Key.Loc, true
tsconfig_json.go#L129: if key, ok := getString(prop.Key); ok {
tsconfig_json.go#L130: if !isValidTSConfigPathPattern(key, log, source, prop.Key.Loc) {
 |
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. |