github.com/evanw/esbuild/internal/js_ast.Finally.Stmts (field)
30 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L330: Stmts []Stmt
github.com/evanw/esbuild/internal/bundler
linker.go#L1655: body := js_ast.FnBody{Stmts: []js_ast.Stmt{{Loc: value.Loc, Data: &js_ast.SReturn{Value: &value}}}}
linker.go#L3409: Args: []js_ast.Expr{{Data: &js_ast.EFunction{Fn: js_ast.Fn{Args: args, Body: js_ast.FnBody{Stmts: stmts}}}}},
linker.go#L3414: Args: []js_ast.Expr{{Data: &js_ast.EArrow{Args: args, Body: js_ast.FnBody{Stmts: stmts}}}},
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L2181: Body: js_ast.FnBody{Loc: arrowLoc, Stmts: []js_ast.Stmt{{Loc: expr.Loc, Data: &js_ast.SReturn{Value: &expr}}}},
js_parser.go#L6168: return js_ast.FnBody{Loc: loc, Stmts: stmts}
js_parser.go#L8927: Body: js_ast.FnBody{Loc: loc, Stmts: []js_ast.Stmt{{Loc: loc, Data: &js_ast.SReturn{Value: &expr}}}},
js_parser.go#L11150: body := js_ast.FnBody{Loc: arg.Loc, Stmts: []js_ast.Stmt{{Loc: arg.Loc, Data: &js_ast.SReturn{Value: &value}}}}
js_parser.go#L11422: body: e.Body.Stmts,
js_parser.go#L11426: e.Body.Stmts = p.visitStmtsAndPrependTempRefs(e.Body.Stmts, prependTempRefsOpts{kind: stmtsFnBody})
js_parser.go#L11428: p.lowerFunction(&e.IsAsync, &e.Args, e.Body.Loc, &e.Body.Stmts, &e.PreferExpr, &e.HasRestArg, true /* isArrow */)
js_parser.go#L11431: if p.options.mangleSyntax && len(e.Body.Stmts) == 1 {
js_parser.go#L11432: if s, ok := e.Body.Stmts[0].Data.(*js_ast.SReturn); ok {
js_parser.go#L11435: e.Body.Stmts = []js_ast.Stmt{}
js_parser.go#L11651: body: fn.Body.Stmts,
js_parser.go#L11655: fn.Body.Stmts = p.visitStmtsAndPrependTempRefs(fn.Body.Stmts, prependTempRefsOpts{fnBodyLoc: &fn.Body.Loc, kind: stmtsFnBody})
js_parser.go#L11657: p.lowerFunction(&fn.IsAsync, &fn.Args, fn.Body.Loc, &fn.Body.Stmts, nil, &fn.HasRestArg, false /* isArrow */)
js_parser_lower.go#L304: Body: js_ast.FnBody{Loc: bodyLoc, Stmts: *bodyStmts},
js_parser_lower.go#L432: Stmts: []js_ast.Stmt{{Loc: bodyLoc, Data: &js_ast.SReturn{
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#L2021: stmtsFrom := ctor.Fn.Body.Stmts
js_parser_lower.go#L2033: ctor.Fn.Body.Stmts = append(stmtsTo, stmtsFrom...)
ts_parser.go#L1049: Body: js_ast.FnBody{Loc: stmtLoc, Stmts: stmtsInsideClosure},
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L1049: p.printBlock(fn.Body.Loc, fn.Body.Stmts)
js_printer.go#L1656: if len(e.Body.Stmts) == 1 && e.PreferExpr {
js_printer.go#L1657: if s, ok := e.Body.Stmts[0].Data.(*js_ast.SReturn); ok && s.Value != nil {
js_printer.go#L1664: p.printBlock(e.Body.Loc, e.Body.Stmts)
 |
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. |