github.com/evanw/esbuild/internal/ast.ImportRecord.IsInsideTryBody (field)
5 uses
github.com/evanw/esbuild/internal/ast (current package)
ast.go#L86: IsInsideTryBody bool
github.com/evanw/esbuild/internal/bundler
bundler.go#L441: if !record.IsInsideTryBody && (resolveResult == nil || !resolveResult.IsExternal) {
bundler.go#L453: if !didLogError && !record.IsInsideTryBody {
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L11232: p.importRecords[importRecordIndex].IsInsideTryBody = p.fnOrArrowDataVisit.tryBodyCount != 0
js_parser.go#L11352: p.importRecords[importRecordIndex].IsInsideTryBody = p.fnOrArrowDataVisit.tryBodyCount != 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. |