github.com/evanw/esbuild/internal/js_ast.Property.Value (field)
78 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L275: Value *Expr
github.com/evanw/esbuild/internal/bundler
linker.go#L1500: export := generateExport(name, name, *property.Value, nil)
linker.go#L1502: clone.Properties[i].Value = &js_ast.Expr{Loc: property.Key.Loc, Data: &js_ast.EIdentifier{Ref: export.ref}}
linker.go#L1663: Value: &getter,
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L1861: Value: &value,
js_parser.go#L2053: Value: &value,
js_parser.go#L2064: Value: &value,
js_parser.go#L2531: binding, initializer, log := p.convertExprToBindingAndInitializer(*item.Value, invalidLog, false)
js_parser.go#L2596: Value: &value,
js_parser.go#L3040: Value: &value,
js_parser.go#L4123: Value: &value,
js_parser.go#L4133: Value: &value,
js_parser.go#L7348: if property.Value != nil {
js_parser.go#L7349: if value, status := p.substituteSingleUseSymbolInExpr(*property.Value, ref, replacement, replacementCanBeRemoved); status != substituteContinue {
js_parser.go#L7350: e.Properties[i].Value = &value
js_parser.go#L9045: if property.Value != nil {
js_parser.go#L9047: wasAnonymousNamedExpr := p.isAnonymousNamedExpr(*property.Value)
js_parser.go#L9048: *property.Value = p.maybeKeepExprSymbolName(p.visitExpr(*property.Value), nameToKeep, wasAnonymousNamedExpr)
js_parser.go#L9050: *property.Value = p.visitExpr(*property.Value)
js_parser.go#L9966: if property.Value != nil {
js_parser.go#L9967: *property.Value = p.visitExpr(*property.Value)
js_parser.go#L10981: if in.assignTarget != js_ast.AssignTargetNone && property.Initializer == nil && property.Value != nil {
js_parser.go#L10982: if binary, ok := property.Value.Data.(*js_ast.EBinary); ok && binary.Op == js_ast.BinOpAssign {
js_parser.go#L10984: property.Value = &binary.Left
js_parser.go#L10988: if property.Value != nil {
js_parser.go#L10989: *property.Value, _ = p.visitExprInOut(*property.Value, exprIn{assignTarget: in.assignTarget})
js_parser.go#L10996: if property.Value != nil {
js_parser.go#L10997: if id, ok := property.Value.Data.(*js_ast.EIdentifier); ok {
js_parser.go#L11053: switch v := property.Value.Data.(type) {
js_parser.go#L12222: if property.Value != nil && !p.exprCanBeRemovedIfUnused(*property.Value) {
js_parser.go#L12338: if property.Value != nil && !p.exprCanBeRemovedIfUnused(*property.Value) {
js_parser.go#L12464: value := p.simplifyUnusedExpr(*property.Value)
js_parser.go#L12467: *property.Value = value
js_parser.go#L12473: property.Value.Data = &js_ast.ENumber{}
js_parser.go#L12496: result = maybeJoinWithComma(result, p.simplifyUnusedExpr(*property.Value))
js_parser_lower.go#L946: result = p.callRuntime(loc, "__assign", []js_ast.Expr{result, *property.Value})
js_parser_lower.go#L1105: if property.Kind == js_ast.PropertySpread || exprHasObjectRest(*property.Value) {
js_parser_lower.go#L1267: if property.Kind == js_ast.PropertySpread || findRestBindings(*property.Value) {
js_parser_lower.go#L1391: binding := split.Value
js_parser_lower.go#L1455: lowerObjectRestPattern(e.Properties[:i], *property.Value, init, capturedKeys, e.IsSingleLine)
js_parser_lower.go#L1467: if containsRestBinding[property.Value.Data] {
js_parser_lower.go#L1668: if fn, ok := prop.Value.Data.(*js_ast.EFunction); ok {
js_parser_lower.go#L1960: *prop.Value,
js_parser_lower.go#L1964: if fn, ok := prop.Value.Data.(*js_ast.EFunction); ok {
js_parser_lower.go#L2006: Value: &js_ast.Expr{Loc: classLoc, Data: ctor},
js_parser_lower.go#L2037: if class.Properties[i].Value != nil && class.Properties[i].Value.Data == ctor {
json_parser.go#L133: Value: &value,
sourcemap_parser.go#L41: if value, ok := prop.Value.Data.(*js_ast.ENumber); ok && value.Value == 3 {
sourcemap_parser.go#L46: if value, ok := prop.Value.Data.(*js_ast.EString); ok {
sourcemap_parser.go#L48: mappingsStart = prop.Value.Loc.Start + 1
sourcemap_parser.go#L52: if value, ok := prop.Value.Data.(*js_ast.EArray); ok {
sourcemap_parser.go#L64: if value, ok := prop.Value.Data.(*js_ast.EArray); ok {
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L1071: if item.Value == nil {
js_printer.go#L1087: p.printExpr(*item.Value, js_ast.LComma, 0)
js_printer.go#L1108: if item.Value != nil {
js_printer.go#L1109: if fn, ok := item.Value.Data.(*js_ast.EFunction); item.IsMethod && ok {
js_printer.go#L1126: if item.Value != nil {
js_printer.go#L1127: if fn, ok := item.Value.Data.(*js_ast.EFunction); item.IsMethod && ok {
js_printer.go#L1134: p.printExpr(*item.Value, js_ast.LComma, 0)
js_printer.go#L1157: if !p.options.UnsupportedFeatures.Has(compat.ObjectExtensions) && item.Value != nil {
js_printer.go#L1158: switch e := item.Value.Data.(type) {
js_printer.go#L1197: f, ok := item.Value.Data.(*js_ast.EFunction)
js_printer.go#L1204: if item.Value != nil {
js_printer.go#L1205: if fn, ok := item.Value.Data.(*js_ast.EFunction); item.IsMethod && ok {
js_printer.go#L1212: p.printExpr(*item.Value, js_ast.LComma, 0)
github.com/evanw/esbuild/internal/resolver
resolver.go#L976: if key, ok := getString(prop.Key); ok && prop.Value != nil {
resolver.go#L984: if value, ok := getString(*prop.Value); ok {
resolver.go#L991: } else if value, ok := getBool(*prop.Value); ok && !value {
resolver.go#L1165: return *prop.Value, prop.Key.Loc, true
tsconfig_json.go#L155: if array, ok := prop.Value.Data.(*js_ast.EArray); ok {
tsconfig_json.go#L165: log.AddRangeWarning(&source, source.RangeOfString(prop.Value.Loc), fmt.Sprintf(
 |
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. |