func github.com/evanw/esbuild/internal/js_parser.shouldKeepStmtInDeadControlFlow
17 uses
github.com/evanw/esbuild/internal/js_parser (current package)
js_parser.go#L6412: func shouldKeepStmtInDeadControlFlow(stmt js_ast.Stmt) bool {
js_parser.go#L6435: if shouldKeepStmtInDeadControlFlow(child) {
js_parser.go#L6442: return shouldKeepStmtInDeadControlFlow(s.Yes) || (s.No != nil && shouldKeepStmtInDeadControlFlow(*s.No))
js_parser.go#L6445: return shouldKeepStmtInDeadControlFlow(s.Body)
js_parser.go#L6448: return shouldKeepStmtInDeadControlFlow(s.Body)
js_parser.go#L6451: return (s.Init != nil && shouldKeepStmtInDeadControlFlow(*s.Init)) || shouldKeepStmtInDeadControlFlow(s.Body)
js_parser.go#L6454: return shouldKeepStmtInDeadControlFlow(s.Init) || shouldKeepStmtInDeadControlFlow(s.Body)
js_parser.go#L6457: return shouldKeepStmtInDeadControlFlow(s.Init) || shouldKeepStmtInDeadControlFlow(s.Body)
js_parser.go#L6460: return shouldKeepStmtInDeadControlFlow(s.Stmt)
js_parser.go#L6634: if !shouldKeepStmtInDeadControlFlow(stmt) {
js_parser.go#L6670: if isControlFlowDead && !shouldKeepStmtInDeadControlFlow(stmt) {
js_parser.go#L7628: if s.No == nil || !shouldKeepStmtInDeadControlFlow(*s.No) {
js_parser.go#L7642: if !shouldKeepStmtInDeadControlFlow(s.Yes) {
![]() |
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. |