github.com/evanw/esbuild/internal/js_ast.SForIn.Init (field)
9 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L1047: Init Stmt // May be a SConst, SLet, SVar, or SExpr
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L5705: return js_ast.Stmt{Loc: loc, Data: &js_ast.SForIn{Init: *init, Value: value, Body: body}}
js_parser.go#L6454: return shouldKeepStmtInDeadControlFlow(s.Init) || shouldKeepStmtInDeadControlFlow(s.Body)
js_parser.go#L8406: p.visitForLoopInit(s.Init, true)
js_parser.go#L8410: p.lowerObjectRestInForLoopInit(s.Init, &s.Body)
js_parser.go#L8413: if local, ok := s.Init.Data.(*js_ast.SLocal); ok && local.Kind == js_ast.LocalVar && len(local.Decls) == 1 {
js_parser.go#L8428: if init, ok := s.Init.Data.(*js_ast.SLocal); ok && init.Kind == js_ast.LocalVar {
js_parser.go#L8430: s.Init = replacement
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L2730: 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. |