github.com/evanw/esbuild/internal/js_parser.prependTempRefsOpts.fnBodyLoc (field)
5 uses
github.com/evanw/esbuild/internal/js_parser (current package)
js_parser.go#L6469: fnBodyLoc *logger.Loc
js_parser.go#L6482: if opts.fnBodyLoc != nil {
js_parser.go#L6487: value: &js_ast.Expr{Loc: *opts.fnBodyLoc, Data: &js_ast.EThis{}},
js_parser.go#L6496: value: &js_ast.Expr{Loc: *opts.fnBodyLoc, Data: &js_ast.EIdentifier{Ref: *p.fnOnlyDataVisit.argumentsRef}},
js_parser.go#L11655: fn.Body.Stmts = p.visitStmtsAndPrependTempRefs(fn.Body.Stmts, prependTempRefsOpts{fnBodyLoc: &fn.Body.Loc, kind: stmtsFnBody})
![]() |
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. |