github.com/evanw/esbuild/internal/js_ast.SForOf.Init (field)
8 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L1054: Init Stmt // May be a SConst, SLet, SVar, or SExpr
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L5695: return js_ast.Stmt{Loc: loc, Data: &js_ast.SForOf{IsAwait: isForAwait, Init: *init, Value: value, Body: body}}
js_parser.go#L6457: return shouldKeepStmtInDeadControlFlow(s.Init) || shouldKeepStmtInDeadControlFlow(s.Body)
js_parser.go#L8436: p.visitForLoopInit(s.Init, true)
js_parser.go#L8442: if init, ok := s.Init.Data.(*js_ast.SLocal); ok && init.Kind == js_ast.LocalVar {
js_parser.go#L8444: s.Init = replacement
js_parser.go#L8448: p.lowerObjectRestInForLoopInit(s.Init, &s.Body)
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L2749: p.printForLoopInit(s.Init)
 |
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. |