github.com/evanw/esbuild/internal/js_ast.SFor.Test (field)
22 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L1041: Test *Expr
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L5731: return js_ast.Stmt{Loc: loc, Data: &js_ast.SFor{Init: init, Test: test, Update: update, Body: body}}
js_parser.go#L7577: if s.Test != nil {
js_parser.go#L7578: s.Test = &js_ast.Expr{Loc: s.Test.Loc, Data: &js_ast.EBinary{Op: js_ast.BinOpLogicalAnd, Left: *s.Test, Right: not}}
js_parser.go#L7580: s.Test = ¬
js_parser.go#L7590: if s.Test != nil {
js_parser.go#L7591: s.Test = &js_ast.Expr{Loc: s.Test.Loc, Data: &js_ast.EBinary{Op: js_ast.BinOpLogicalAnd, Left: *s.Test, Right: ifS.Test}}
js_parser.go#L7593: s.Test = &ifS.Test
js_parser.go#L8305: forS := &js_ast.SFor{Test: test, Body: s.Body}
js_parser.go#L8368: if s.Test != nil {
js_parser.go#L8369: *s.Test = p.visitExpr(*s.Test)
js_parser.go#L8372: *s.Test = p.simplifyBooleanExpr(*s.Test)
js_parser.go#L8375: if boolean, sideEffects, ok := toBooleanWithSideEffects(s.Test.Data); ok && boolean && sideEffects == noSideEffects {
js_parser.go#L8376: s.Test = nil
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L2824: if s.Test != nil {
js_printer.go#L2825: p.printExpr(*s.Test, js_ast.LLowest, 0)
 |
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. |