github.com/evanw/esbuild/internal/js_ast.SExpr.Value (field)
72 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L699: return Stmt{Loc: a.Loc, Data: &SExpr{Value: Assign(a, b)}}
js_ast.go#L989: Value Expr
js_ast.go#L1200: if call, ok := expr.Value.Data.(*ECall); ok {
github.com/evanw/esbuild/internal/bundler
linker.go#L1703: nsExportStmts = append(nsExportStmts, js_ast.Stmt{Data: &js_ast.SExpr{Value: js_ast.Expr{Data: &js_ast.ECall{
linker.go#L1725: nsExportStmts = append(nsExportStmts, js_ast.Stmt{Data: &js_ast.SExpr{Value: js_ast.Expr{Data: &js_ast.ECall{
linker.go#L1787: cjsWrapStmt = js_ast.Stmt{Data: &js_ast.SExpr{Value: js_ast.Expr{Data: &js_ast.ECall{
linker.go#L1799: cjsWrapStmt = js_ast.Stmt{Data: &js_ast.SExpr{Value: js_ast.Expr{Data: &js_ast.ECall{
linker.go#L3087: Data: &js_ast.SExpr{Value: js_ast.Expr{Loc: stmt.Loc, Data: &js_ast.ECall{
linker.go#L3108: Data: &js_ast.SExpr{Value: js_ast.Expr{Loc: stmt.Loc, Data: &js_ast.ECall{
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L5670: init = &js_ast.Stmt{Loc: initLoc, Data: &js_ast.SExpr{Value: expr}}
js_parser.go#L5753: return js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{Value: expr}}
js_parser.go#L6114: return js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{Value: expr}}
js_parser.go#L6211: if str, ok := expr.Value.Data.(*js_ast.EString); ok && !str.PreferTemplate {
js_parser.go#L6768: prevS.Value = js_ast.JoinWithComma(prevS.Value, s.Value)
js_parser.go#L6779: s.Test = js_ast.JoinWithComma(prevS.Value, s.Test)
js_parser.go#L6789: s.Test = js_ast.JoinWithComma(prevS.Value, s.Test)
js_parser.go#L6892: value := js_ast.JoinWithComma(prevS.Value, *s.Value)
js_parser.go#L6905: result[len(result)-1] = js_ast.Stmt{Loc: prevStmt.Loc, Data: &js_ast.SThrow{Value: js_ast.JoinWithComma(prevS.Value, s.Value)}}
js_parser.go#L6922: s.Init = &js_ast.Stmt{Loc: prevStmt.Loc, Data: &js_ast.SExpr{Value: prevS.Value}}
js_parser.go#L6926: s.Init = &js_ast.Stmt{Loc: prevStmt.Loc, Data: &js_ast.SExpr{Value: js_ast.JoinWithComma(prevS.Value, s2.Value)}}
js_parser.go#L6991: lastValue := js_ast.JoinWithComma(prevS.Value, *lastReturn.Value)
js_parser.go#L7065: lastThrow = &js_ast.SThrow{Value: js_ast.JoinWithComma(prevS.Value, lastThrow.Value)}
js_parser.go#L7120: expr = &s.Value
js_parser.go#L7438: s.Value, _ = p.visitExprInOut(s.Value, exprIn{assignTarget: assignTarget})
js_parser.go#L7633: stmts = append(stmts, js_ast.Stmt{Loc: s.Test.Loc, Data: &js_ast.SExpr{Value: test}})
js_parser.go#L7647: stmts = append(stmts, js_ast.Stmt{Loc: s.Test.Loc, Data: &js_ast.SExpr{Value: test}})
js_parser.go#L7666: Value: js_ast.JoinWithLeftAssociativeOp(js_ast.BinOpLogicalOr, not.Value, yes.Value)}})
js_parser.go#L7670: Value: js_ast.JoinWithLeftAssociativeOp(js_ast.BinOpLogicalAnd, s.Test, yes.Value)}})
js_parser.go#L7674: return append(stmts, js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{Value: p.mangleIfExpr(loc, &js_ast.EIf{
js_parser.go#L7676: Yes: yes.Value,
js_parser.go#L7677: No: no.Value,
js_parser.go#L7689: return append(stmts, js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{Value: s.Test}})
js_parser.go#L7695: Value: js_ast.JoinWithLeftAssociativeOp(js_ast.BinOpLogicalAnd, not.Value, no.Value)}})
js_parser.go#L7699: Value: js_ast.JoinWithLeftAssociativeOp(js_ast.BinOpLogicalOr, s.Test, no.Value)}})
js_parser.go#L7941: Value: p.callRuntime(loc, "__name", []js_ast.Expr{
js_parser.go#L8215: stmts = append(stmts, js_ast.Stmt{Loc: stmt.Loc, Data: &js_ast.SExpr{Value: target}})
js_parser.go#L8235: s.Value = p.visitExpr(s.Value)
js_parser.go#L8239: s.Value = p.simplifyUnusedExpr(s.Value)
js_parser.go#L8240: if s.Value.Data == nil {
js_parser.go#L8419: stmts = append(stmts, js_ast.Stmt{Loc: stmt.Loc, Data: &js_ast.SExpr{Value: js_ast.Assign(
js_parser.go#L8657: valueStmts = append(valueStmts, js_ast.Stmt{Loc: joined.Loc, Data: &js_ast.SExpr{Value: joined}})
js_parser.go#L8660: valueStmts = append(valueStmts, js_ast.Stmt{Loc: expr.Loc, Data: &js_ast.SExpr{Value: expr}})
js_parser.go#L8755: return js_ast.Stmt{Loc: value.Loc, Data: &js_ast.SExpr{Value: value}}, true
js_parser.go#L12164: if !p.exprCanBeRemovedIfUnused(s.Value) {
js_parser_lower.go#L1152: if exprHasObjectRest(s.Value) {
js_parser_lower.go#L1154: if expr, ok := p.lowerObjectRestInAssign(s.Value, js_ast.Expr{Loc: init.Loc, Data: &js_ast.EIdentifier{Ref: ref}}); ok {
js_parser_lower.go#L1155: s.Value.Data = &js_ast.EIdentifier{Ref: ref}
js_parser_lower.go#L1156: bodyPrefixStmt = js_ast.Stmt{Loc: expr.Loc, Data: &js_ast.SExpr{Value: expr}}
js_parser_lower.go#L1878: instanceMembers = append(instanceMembers, js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{Value: expr}})
js_parser_lower.go#L1947: instancePrivateMethods = append(instancePrivateMethods, js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{Value: expr}})
js_parser_lower.go#L2013: ctor.Fn.Body.Stmts = append(ctor.Fn.Body.Stmts, js_ast.Stmt{Loc: classLoc, Data: &js_ast.SExpr{Value: js_ast.Expr{Loc: classLoc, Data: &js_ast.ECall{
js_parser_lower.go#L2211: stmts = append(stmts, js_ast.Stmt{Loc: expr.Loc, Data: &js_ast.SExpr{Value: computedPropertyCache}})
js_parser_lower.go#L2214: stmts = append(stmts, js_ast.Stmt{Loc: expr.Loc, Data: &js_ast.SExpr{Value: expr}})
js_parser_lower.go#L2217: stmts = append(stmts, js_ast.Stmt{Loc: expr.Loc, Data: &js_ast.SExpr{Value: expr}})
js_parser_lower.go#L2220: stmts = append(stmts, js_ast.Stmt{Loc: expr.Loc, Data: &js_ast.SExpr{Value: expr}})
js_parser_lower.go#L2223: stmts = append(stmts, js_ast.Stmt{Loc: expr.Loc, Data: &js_ast.SExpr{Value: expr}})
js_parser_lower.go#L2226: stmts = append(stmts, js_ast.Stmt{Loc: expr.Loc, Data: &js_ast.SExpr{Value: expr}})
ts_parser.go#L1046: stmts = append(stmts, js_ast.Stmt{Loc: stmtLoc, Data: &js_ast.SExpr{Value: js_ast.Expr{Loc: stmtLoc, Data: &js_ast.ECall{
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L2306: p.printExpr(s.Value, js_ast.LLowest, forbidIn)
js_printer.go#L3022: p.printExpr(s.Value, js_ast.LLowest, 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. |