type github.com/evanw/esbuild/internal/js_ast.SIf
20 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L1033: type SIf struct {
js_ast.go#L1182: func (*SIf) isStmt() {}
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L5441: return js_ast.Stmt{Loc: loc, Data: &js_ast.SIf{Test: test, Yes: yes, No: no}}
js_parser.go#L6441: case *js_ast.SIf:
js_parser.go#L6784: case *js_ast.SIf:
js_parser.go#L6800: if prevS, ok := prevStmt.Data.(*js_ast.SIf); ok && prevS.No == nil && jumpStmtsLookTheSame(prevS.Yes.Data, s.Yes.Data) {
js_parser.go#L6860: return p.mangleIf(result, stmt.Loc, &js_ast.SIf{
js_parser.go#L6874: s, ok = stmt.Data.(*js_ast.SIf)
js_parser.go#L6999: case *js_ast.SIf:
js_parser.go#L7072: case *js_ast.SIf:
js_parser.go#L7125: case *js_ast.SIf:
js_parser.go#L7527: case *js_ast.SBlock, *js_ast.SEmpty, *js_ast.SDebugger, *js_ast.SExpr, *js_ast.SIf,
js_parser.go#L7565: if ifS, ok := first.Data.(*js_ast.SIf); ok {
js_parser.go#L7623: func (p *parser) mangleIf(stmts []js_ast.Stmt, loc logger.Loc, s *js_ast.SIf) []js_ast.Stmt {
js_parser.go#L7726: if s2, ok := s.Yes.Data.(*js_ast.SIf); ok && s2.No == nil {
js_parser.go#L8318: case *js_ast.SIf:
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L2374: case *js_ast.SIf:
js_printer.go#L2401: func (p *printer) printIf(s *js_ast.SIf) {
js_printer.go#L2456: } else if no, ok := s.No.Data.(*js_ast.SIf); ok {
js_printer.go#L2697: case *js_ast.SIf:
 |
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. |