type github.com/evanw/esbuild/internal/js_ast.SExpr
64 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#L988: type SExpr struct {
js_ast.go#L1176: func (*SExpr) isStmt() {}
js_ast.go#L1199: if expr, ok := stmt.Data.(*SExpr); 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#L6210: if expr, ok := stmt.Data.(*js_ast.SExpr); ok {
js_parser.go#L6249: if _, ok := stmt.Data.(*js_ast.SExpr); ok {
js_parser.go#L6414: case *js_ast.SEmpty, *js_ast.SExpr, *js_ast.SThrow, *js_ast.SReturn,
js_parser.go#L6763: case *js_ast.SExpr:
js_parser.go#L6767: if prevS, ok := prevStmt.Data.(*js_ast.SExpr); ok && !js_ast.IsSuperCall(prevStmt) {
js_parser.go#L6778: if prevS, ok := prevStmt.Data.(*js_ast.SExpr); ok && !js_ast.IsSuperCall(prevStmt) {
js_parser.go#L6788: if prevS, ok := prevStmt.Data.(*js_ast.SExpr); ok && !js_ast.IsSuperCall(prevStmt) {
js_parser.go#L6891: if prevS, ok := prevStmt.Data.(*js_ast.SExpr); ok {
js_parser.go#L6904: if prevS, ok := prevStmt.Data.(*js_ast.SExpr); ok {
js_parser.go#L6918: if prevS, ok := prevStmt.Data.(*js_ast.SExpr); ok {
js_parser.go#L6922: s.Init = &js_ast.Stmt{Loc: prevStmt.Loc, Data: &js_ast.SExpr{Value: prevS.Value}}
js_parser.go#L6924: } else if s2, ok := s.Init.Data.(*js_ast.SExpr); ok {
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#L6984: case *js_ast.SExpr:
js_parser.go#L7063: case *js_ast.SExpr:
js_parser.go#L7119: case *js_ast.SExpr:
js_parser.go#L7433: case *js_ast.SExpr:
js_parser.go#L7527: case *js_ast.SBlock, *js_ast.SEmpty, *js_ast.SDebugger, *js_ast.SExpr, *js_ast.SIf,
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#L7660: if yes, ok := s.Yes.Data.(*js_ast.SExpr); ok {
js_parser.go#L7665: return append(stmts, js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{
js_parser.go#L7669: return append(stmts, js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{
js_parser.go#L7672: } else if no, ok := s.No.Data.(*js_ast.SExpr); ok {
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#L7689: return append(stmts, js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{Value: s.Test}})
js_parser.go#L7691: } else if no, ok := s.No.Data.(*js_ast.SExpr); ok {
js_parser.go#L7694: return append(stmts, js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{
js_parser.go#L7698: return append(stmts, js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{
js_parser.go#L7940: return js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{
js_parser.go#L8215: stmts = append(stmts, js_ast.Stmt{Loc: stmt.Loc, Data: &js_ast.SExpr{Value: target}})
js_parser.go#L8234: case *js_ast.SExpr:
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#L12157: case *js_ast.SExpr:
js_parser_lower.go#L1149: case *js_ast.SExpr:
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#L2305: case *js_ast.SExpr:
js_printer.go#L3019: case *js_ast.SExpr:
 |
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. |